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 ( #1642#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64903_1642#@#p#@#2018-01-04#@now());')

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

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1642#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#64903_1642#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1642','2018-01-04','al20','DEC','1','+','100000.00','1','64903_1642','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1642' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2018-01-04','al01','INC','1','+','0.00','1','63957_1690','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2018-01-04','al01','DEC','1','+','0.00','1','63957_1690','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1690#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#4237.00#@#1#@#63957_1690#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2018-01-04','al01','BF','1','+','4237.00','1','63957_1690','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2018-01-04','al20','INC','1','+','0.00','1','63957_1690','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2018-01-04','al20','DEC','1','+','0.00','1','63957_1690','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1690','2018-01-04','al20','BF','1','+','0.00','1','63957_1690','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1690' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1656' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-02' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-02' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-02' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1677' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2018-01-03','al01','BF','2','+','2476.00','1','60000_1099','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2018-01-03','al20','INC','2','+','150000.00','1','60000_1099','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1099','2018-01-03','al20','BF','2','+','150000.00','1','60000_1099','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1099' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1477' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al01','INC','1','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al01','DEC','1','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al01','BF','1','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al20','INC','1','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al20','DEC','1','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al20','BF','1','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al01','INC','2','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al01','DEC','2','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al01','BF','2','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al20','INC','2','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al20','DEC','2','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1660','2018-01-04','al20','BF','2','+','0.00','1','63484_1660','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1660' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al01','INC','1','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al01','DEC','1','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al01','BF','1','+','210.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al20','INC','1','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al20','DEC','1','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al20','BF','1','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al01','INC','2','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al01','DEC','2','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2018-01-04#@#al01#@#BF#@#2#@#+#@#210.00#@#1#@#63484_1605#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al01','BF','2','+','210.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al20','INC','2','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al20','DEC','2','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1605','2018-01-04','al20','BF','2','+','0.00','1','63484_1605','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1605' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1605#@#2018-01-04#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63484_1605#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1605# and close_date = #2018-01-04# 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#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#45092_10#@#p#@#2018-01-04#@now());')

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

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

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

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

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

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

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

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '10','2018-01-04','al01','BF','1','+','4203.28','1','45092_10','p','2018-01-04',now());

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '10' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2018-01-04','al01','INC','1','+','50000.00','1','42960_1523','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2018-01-04','al01','DEC','1','+','15645.00','1','42960_1523','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2018-01-04','al01','BF','1','+','34651.00','1','42960_1523','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1523','2018-01-04','al20','DEC','1','+','50000.00','1','42960_1523','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1523' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2018-01-04','al01','INC','1','+','0.00','1','42960_1671','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#1000.00#@#1#@#42960_1671#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2018-01-04','al01','DEC','1','+','1000.00','1','42960_1671','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1671#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#3231.00#@#1#@#42960_1671#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2018-01-04','al01','BF','1','+','3231.00','1','42960_1671','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2018-01-04','al20','INC','1','+','0.00','1','42960_1671','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2018-01-04','al20','DEC','1','+','0.00','1','42960_1671','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1671','2018-01-04','al20','BF','1','+','0.00','1','42960_1671','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1671' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2018-01-04','al01','INC','1','+','0.00','1','42960_1692','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2018-01-04','al01','DEC','1','+','0.00','1','42960_1692','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1692#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#858.40#@#1#@#42960_1692#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2018-01-04','al01','BF','1','+','858.40','1','42960_1692','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2018-01-04','al20','INC','1','+','0.00','1','42960_1692','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2018-01-04','al20','DEC','1','+','0.00','1','42960_1692','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1692','2018-01-04','al20','BF','1','+','0.00','1','42960_1692','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1692' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2018-01-03','al01','BF','2','+','8570.00','1','56066_1476','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2018-01-03','al20','INC','2','+','50000.00','1','56066_1476','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2018-01-03','al20','BF','2','+','50000.00','1','56066_1476','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2018-01-04','al01','BF','1','+','10269.00','1','56066_1476','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2018-01-04','al20','DEC','1','+','50000.00','1','56066_1476','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1476','2018-01-04','al20','BF','1','+','0.00','1','56066_1476','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-26','al01','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-26' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-26','al01','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-26' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-26','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-26' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-26','al20','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-26','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-26','al20','BF','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-27','al01','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-27','al01','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-27','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-27','al20','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-27','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-27','al20','BF','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-28','al01','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-28' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-28','al01','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-28' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-28','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-28' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-28','al20','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-28','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-28','al20','BF','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-29','al01','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-29' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-29','al01','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-29' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-29','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-29' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-29','al20','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-29','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-29','al20','BF','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-30','al01','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-30' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-30','al01','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-30' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-30','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-30' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-30','al20','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-30','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-30','al20','BF','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-31','al01','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-31' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-31','al01','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-31' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-31','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2017-12-31' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-31','al20','INC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-31','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2017-12-31','al20','BF','1','+','0.00','1','62934_1634','p','2018-01-04',now());

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2018-01-01','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-01' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-02' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-02' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2018-01-02','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-02' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

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

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

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2018-01-03','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

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

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

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

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

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

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2018-01-03','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1634','2018-01-03','al20','BF','1','+','0.00','1','62934_1634','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-03','al01','INC','2','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-03','al01','DEC','2','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-03','al01','BF','2','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-03','al20','INC','2','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-03','al20','DEC','2','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-03','al20','BF','2','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-04','al01','INC','1','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-04','al01','DEC','1','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-04','al01','BF','1','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-04','al20','INC','1','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-04','al20','DEC','1','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1661','2018-01-04','al20','BF','1','+','0.00','1','63765_1661','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1661#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1661#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-03','al01','INC','2','+','0.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-03','al01','DEC','2','+','0.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1104.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-03','al01','BF','2','+','1104.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1104.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-03','al20','INC','2','+','100000.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-03','al20','DEC','2','+','0.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-03','al20','BF','2','+','100000.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-04','al01','INC','1','+','100000.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#69411.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-04','al01','DEC','1','+','69411.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#69411.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#31693.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-04','al01','BF','1','+','31693.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#31693.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-04','al20','INC','1','+','0.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-04','al20','DEC','1','+','100000.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#100000.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1450','2018-01-04','al20','BF','1','+','0.00','1','56645_1450','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1450' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1450#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56645_1450#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1450# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2018-01-04','al01','INC','1','+','0.00','1','50582_1256','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2018-01-04','al01','DEC','1','+','0.00','1','50582_1256','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2018-01-04','al01','BF','1','+','0.00','1','50582_1256','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2018-01-04','al20','INC','1','+','0.00','1','50582_1256','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2018-01-04','al20','DEC','1','+','0.00','1','50582_1256','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1256','2018-01-04','al20','BF','1','+','0.00','1','50582_1256','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1256' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1256#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1256#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1256# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2018-01-04','al01','INC','1','+','0.00','1','50582_1467','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2018-01-04','al01','DEC','1','+','0.00','1','50582_1467','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#355.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2018-01-04','al01','BF','1','+','355.00','1','50582_1467','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#355.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2018-01-04','al20','INC','1','+','0.00','1','50582_1467','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2018-01-04','al20','DEC','1','+','0.00','1','50582_1467','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1467','2018-01-04','al20','BF','1','+','0.00','1','50582_1467','p','2018-01-04',now());

select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1467' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1467#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#50582_1467#@#p#@#2018-01-04#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1467# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-16#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-16','al01','INC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-16' 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-12-16' 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-12-16' 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-12-16#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-16# 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-12-16#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-16','al01','DEC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-16' 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-12-16' 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-12-16' 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-12-16#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-16# 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-12-16#@#al01#@#BF#@#2#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-16','al01','BF','2','+','562.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-16' 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-12-16' 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-12-16' 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-12-16#@#al01#@#BF#@#2#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-16# 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-12-16#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-16','al20','INC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-16' 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-12-16' 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-12-16' 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-12-16#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-16# 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-12-16#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-16','al20','DEC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-16' 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-12-16' 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-12-16' 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-12-16#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-16# 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-12-16#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-16','al20','BF','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-16' 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-12-16' 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-12-16' 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-12-16#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-16# 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-12-17#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-17','al01','INC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-17' 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-12-17' 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-12-17' 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-12-17#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-17# 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-12-17#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-17','al01','DEC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-17' 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-12-17' 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-12-17' 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-12-17#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-17# 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-12-17#@#al01#@#BF#@#2#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-17','al01','BF','2','+','562.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-17' 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-12-17' 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-12-17' 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-12-17#@#al01#@#BF#@#2#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-17# 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-12-17#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-17','al20','INC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-17' 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-12-17' 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-12-17' 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-12-17#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-17# 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-12-17#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-17','al20','DEC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-17' 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-12-17' 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-12-17' 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-12-17#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-17# 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-12-17#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-17','al20','BF','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-17' 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-12-17' 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-12-17' 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-12-17#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-17# 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#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','36097_SBP','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','36097_SBP','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','36097_SBP','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','36097_SBP','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','36097_SBP','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','36097_SBP','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1171' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1171#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36097_SBP#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1171# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','0.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1533.60#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','1533.60','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1533.60#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','200000.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#200000.58#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','200000.58','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#200000.58#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-19','al01','INC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-19# and close_acc_book = #al01# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-19','al01','DEC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-19# and close_acc_book = #al01# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al01#@#BF#@#3#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-19','al01','BF','3','+','562.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al01#@#BF#@#3#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-19# and close_acc_book = #al01# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-19','al20','INC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-19# and close_acc_book = #al20# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-19','al20','DEC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-19# and close_acc_book = #al20# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-19','al20','BF','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2017-12-19' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-19#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-19# and close_acc_book = #al20# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2017-12-20#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-20','al01','INC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 ( #1659#@#2017-12-20#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-20# 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 ( #1659#@#2017-12-20#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-20','al01','DEC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 ( #1659#@#2017-12-20#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-20# 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 ( #1659#@#2017-12-20#@#al01#@#BF#@#3#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-20','al01','BF','3','+','562.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 ( #1659#@#2017-12-20#@#al01#@#BF#@#3#@#+#@#562.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-20# 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 ( #1659#@#2017-12-20#@#al20#@#INC#@#3#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-20','al20','INC','3','+','700000.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 ( #1659#@#2017-12-20#@#al20#@#INC#@#3#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-20# 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 ( #1659#@#2017-12-20#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-20','al20','DEC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 ( #1659#@#2017-12-20#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-20# 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 ( #1659#@#2017-12-20#@#al20#@#BF#@#3#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-20','al20','BF','3','+','700000.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 = '1659' and close_date = '2017-12-20' 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 ( #1659#@#2017-12-20#@#al20#@#BF#@#3#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-20# 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 ( #1659#@#2017-12-21#@#al01#@#INC#@#2#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-21','al01','INC','2','+','700000.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-21' 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-12-21' 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-12-21' 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-12-21#@#al01#@#INC#@#2#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-21# 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-12-21#@#al01#@#DEC#@#2#@#+#@#700288.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-21','al01','DEC','2','+','700288.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-21' 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-12-21' 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-12-21' 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-12-21#@#al01#@#DEC#@#2#@#+#@#700288.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-21# 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-12-21#@#al01#@#BF#@#2#@#+#@#274.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-21','al01','BF','2','+','274.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-21' 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-12-21' 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-12-21' 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-12-21#@#al01#@#BF#@#2#@#+#@#274.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-21# 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-12-21#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-21','al20','INC','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-21' 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-12-21' 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-12-21' 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-12-21#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-21# 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-12-21#@#al20#@#DEC#@#2#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-21','al20','DEC','2','+','700000.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-21' 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-12-21' 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-12-21' 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-12-21#@#al20#@#DEC#@#2#@#+#@#700000.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-21# 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-12-21#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-21','al20','BF','2','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-21' 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-12-21' 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-12-21' 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-12-21#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-21# 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-12-22#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-22','al01','INC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 ( #1659#@#2017-12-22#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-22# 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 ( #1659#@#2017-12-22#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-22','al01','DEC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 ( #1659#@#2017-12-22#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-22# 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 ( #1659#@#2017-12-22#@#al01#@#BF#@#3#@#+#@#274.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-22','al01','BF','3','+','274.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 ( #1659#@#2017-12-22#@#al01#@#BF#@#3#@#+#@#274.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-22# 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 ( #1659#@#2017-12-22#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-22','al20','INC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 ( #1659#@#2017-12-22#@#al20#@#INC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-22# 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 ( #1659#@#2017-12-22#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-22','al20','DEC','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 ( #1659#@#2017-12-22#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-22# 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 ( #1659#@#2017-12-22#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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-12-22','al20','BF','3','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 = '1659' and close_date = '2017-12-22' 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 ( #1659#@#2017-12-22#@#al20#@#BF#@#3#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2017-12-22# 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 ( #1663#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','47937_1663','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','47937_1663','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','47937_1663','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','47937_1663','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','47937_1663','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','47937_1663','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1663' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1663#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47937_1663#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1663# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','36211_1659','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1659' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1659#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#36211_1659#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1659# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','62077_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#798.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','798.00','1','62077_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#798.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#52401.01#@#1#@#62077_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','52401.01','1','62077_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#52401.01#@#1#@#62077_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#300000.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','300000.00','1','62077_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#300000.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','62077_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#62077_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#300000.90#@#1#@#62077_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','300000.90','1','62077_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#300000.90#@#1#@#62077_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','56913_1637','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','56913_1637','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#4682.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','4682.00','1','56913_1637','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#4682.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','56913_1637','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','56913_1637','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','56913_1637','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1637' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1637#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_1637#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1637# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','0.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1234.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','1234.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1234.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','200000.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','200000.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','200000.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#201207.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','201207.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#201207.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#27.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','27.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#27.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','200000.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','56913_215','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#56913_215#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','60436_ps','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','60436_ps','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','60436_ps','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','60436_ps','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','60436_ps','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','60436_ps','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1243#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_ps#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','3','+','0.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al01#@#INC#@#3#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','3','+','0.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al01#@#DEC#@#3#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al01#@#BF#@#3#@#+#@#670.62#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','3','+','670.62','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al01#@#BF#@#3#@#+#@#670.62#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al20#@#INC#@#3#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','3','+','150000.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al20#@#INC#@#3#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','3','+','0.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al20#@#DEC#@#3#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al20#@#BF#@#3#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','3','+','150000.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '3'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-03#@#al20#@#BF#@#3#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #3#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','150000.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#26808.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','26808.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#26808.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#123862.62#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','123862.62','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#123862.62#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','150000.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','63108_1054','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1054' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1054#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63108_1054#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1054# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','63765_1657','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1657' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1657#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63765_1657#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1657# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','60303_1179','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','60303_1179','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','60303_1179','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','60303_1179','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','60303_1179','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','60303_1179','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1179' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1179#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60303_1179#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1179# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2018-01-04','al01','INC','1','+','0.00','1','63420_1421','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2018-01-04','al01','DEC','1','+','0.00','1','63420_1421','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2018-01-04','al01','BF','1','+','0.00','1','63420_1421','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2018-01-04','al20','INC','1','+','0.00','1','63420_1421','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2018-01-04','al20','DEC','1','+','0.00','1','63420_1421','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1421','2018-01-04','al20','BF','1','+','0.00','1','63420_1421','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1421' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1421#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63420_1421#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1421# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-03','al01','INC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-03','al01','DEC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al01#@#BF#@#1#@#+#@#1222.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-03','al01','BF','1','+','1222.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al01#@#BF#@#1#@#+#@#1222.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-03','al20','INC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-03','al20','DEC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-03','al20','BF','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-04','al01','INC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-04','al01','DEC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#1222.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-04','al01','BF','1','+','1222.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#1222.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-04','al20','INC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-04','al20','DEC','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-01-04','al20','BF','1','+','0.00','1','60436_1425','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60436_1425#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','60992_1667','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#5345.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','5345.00','1','60992_1667','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#5345.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#277.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','277.00','1','60992_1667','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#277.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','60992_1667','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','60992_1667','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','60992_1667','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1667' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1667#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1667#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1667# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','1','+','0.00','1','60992_1685','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','1','+','0.00','1','60992_1685','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al01#@#BF#@#1#@#+#@#18767.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','1','+','18767.00','1','60992_1685','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al01#@#BF#@#1#@#+#@#18767.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','1','+','0.00','1','60992_1685','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','1','+','0.00','1','60992_1685','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','1','+','0.00','1','60992_1685','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1685' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1685#@#2018-01-03#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60992_1685#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1685# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','34300_1662','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','34300_1662','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','34300_1662','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','34300_1662','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','34300_1662','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','34300_1662','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1662' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1662#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#34300_1662#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1662# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','47960_1641','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1641' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1641#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#47960_1641#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1641# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','300000.00','1','63663_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#205385.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','205385.00','1','63663_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#205385.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#147016.01#@#1#@#63663_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','147016.01','1','63663_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#147016.01#@#1#@#63663_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','63663_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','300000.00','1','63663_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#300000.00#@#1#@#63663_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.90','1','63663_1227','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1227' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1227#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.90#@#1#@#63663_1227#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1227# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','55496','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','55496','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','55496','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','55496','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','55496','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','55496','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1155' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1155#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#55496#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1155# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','63663_1269','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','63663_1269','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#119.55#@#1#@#63663_1269#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','119.55','1','63663_1269','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#119.55#@#1#@#63663_1269#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','63663_1269','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','63663_1269','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','63663_1269','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1269' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1269#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1269#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1269# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','35444_1346','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','0.00','1','35444_1346','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1762.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','1762.00','1','35444_1346','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#1762.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#160000.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','160000.00','1','35444_1346','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#160000.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','35444_1346','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#160000.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','160000.00','1','35444_1346','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1346' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1346#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#160000.00#@#1#@#35444_1346#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1346# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','63663_1681','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','63663_1681','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#1210.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','1210.00','1','63663_1681','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#1210.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','63663_1681','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','63663_1681','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','63663_1681','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1681' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1681#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#63663_1681#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1681# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','57537_1473','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','57537_1473','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#38.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','38.00','1','57537_1473','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#38.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','57537_1473','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','57537_1473','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','57537_1473','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1473' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1473#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#57537_1473#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#16666.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','16666.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#16666.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#3183.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','3183.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#3183.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','150000.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','150000.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','64585_1187','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','64585_1187','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','64585_1187','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','64585_1187','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','64585_1187','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','64585_1187','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1187' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1187#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#64585_1187#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1187# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','150000.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#71211.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','71211.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#71211.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#81972.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','81972.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#81972.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','150000.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#150000.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','61273_1666','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1666' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1666#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#61273_1666#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1666# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1718','2018-01-04','al01','INC','1','+','0.00','1','38781_1718','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1718# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1718','2018-01-04','al01','DEC','1','+','0.00','1','38781_1718','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1718# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1718','2018-01-04','al01','BF','1','+','0.00','1','38781_1718','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1718# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1718','2018-01-04','al20','INC','1','+','0.00','1','38781_1718','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1718# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1718','2018-01-04','al20','DEC','1','+','0.00','1','38781_1718','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1718# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1718','2018-01-04','al20','BF','1','+','0.00','1','38781_1718','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1718' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1718#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#38781_1718#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1718# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','46986_1664','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','46986_1664','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','0.00','1','46986_1664','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','46986_1664','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','46986_1664','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#100000.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','100000.00','1','46986_1664','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1664' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1664#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#100000.00#@#1#@#46986_1664#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1664# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','0.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#3729.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','3729.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#3729.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','600000.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','600000.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','INC','2','+','0.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al01#@#INC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','DEC','2','+','0.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al01#@#DEC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#397.48#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al01','BF','2','+','397.48','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al01' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al01#@#BF#@#2#@#+#@#397.48#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-03# and close_acc_book = #al01# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','INC','2','+','200000.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'INC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al20#@#INC#@#2#@#+#@#200000.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #INC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','DEC','2','+','0.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al20#@#DEC#@#2#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #DEC# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#200000.36#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-03','al20','BF','2','+','200000.36','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-03' and close_acc_book = 'al20' and category = 'BF' and seq_category = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-03#@#al20#@#BF#@#2#@#+#@#200000.36#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-03# and close_acc_book = #al20# and category = #BF# and seq_category = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1721','2018-01-04','al01','INC','1','+','0.00','1','65010_1721','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1721# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1721','2018-01-04','al01','DEC','1','+','0.00','1','65010_1721','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1721# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1721','2018-01-04','al01','BF','1','+','0.00','1','65010_1721','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1721# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1721','2018-01-04','al20','INC','1','+','0.00','1','65010_1721','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1721# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1721','2018-01-04','al20','DEC','1','+','0.00','1','65010_1721','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1721# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (branch_id,close_date,close_acc_book,category,seq_category,flag,amount_money,status,log_user,log_status,log_date,date_time_ex) VALUES ( '1721','2018-01-04','al20','BF','1','+','0.00','1','65010_1721','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1721' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1721#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#65010_1721#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1721# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','62364_1363','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','62364_1363','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#51649.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','51649.00','1','62364_1363','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#51649.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','62364_1363','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','62364_1363','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','62364_1363','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1363' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1363#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#62364_1363#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1363# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','600000.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#332658.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','332658.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#332658.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#271071.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','271071.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#271071.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','600000.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#600000.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.00','1','60118_476','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '476' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #476#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.00#@#1#@#60118_476#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #476# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','200000.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#133908.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','133908.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#133908.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#66489.48#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','66489.48','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#66489.48#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','200000.00','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.36#@#1#@#61045_452#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.36','1','61045_452','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '452' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #452#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.36#@#1#@#61045_452#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #452# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','200000.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#200000.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#99204.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','99204.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#99204.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#102329.60#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','102329.60','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#102329.60#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','200000.00','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#200000.00#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.58#@#1#@#50232_177#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','BF','1','+','0.58','1','50232_177','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '177' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #177#@#2018-01-04#@#al20#@#BF#@#1#@#+#@#0.58#@#1#@#50232_177#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #177# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','INC','1','+','0.00','1','62934_1634','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al01#@#INC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','DEC','1','+','0.00','1','62934_1634','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al01#@#DEC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #DEC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#524.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al01','BF','1','+','524.00','1','62934_1634','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al01' and category = 'BF' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al01#@#BF#@#1#@#+#@#524.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-04# and close_acc_book = #al01# and category = #BF# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','INC','1','+','0.00','1','62934_1634','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'INC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al20#@#INC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #INC# and seq_category = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_account (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','2018-01-04','al20','DEC','1','+','0.00','1','62934_1634','p','2018-01-05',now());

select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k62.chaiyo-aa.com select * from al_com_close_account WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_account SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-01-04' and close_acc_book = 'al20' and category = 'DEC' and seq_category = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_account (branch_id@close_date@close_acc_book@category@seq_category@flag@amount_money@status@log_user@log_status@log_date@date_time_ex) VALUES ( #1634#@#2018-01-04#@#al20#@#DEC#@#1#@#+#@#0.00#@#1#@#62934_1634#@#p#@#2018-01-05#@now()); ### UPDATE al_com_close_account SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-01-04# and close_acc_book = #al20# and category = #DEC# and seq_category = #1#')

#STOP # Total Record = 500
Select==> SELECT * FROM al_com_close_arrear WHERE log_status in ('e','a','r') limit 0,500

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #622#@#2013-09-20#@#1#@#1799489.00#@#0.00#@#0.00#@#1#@#52299#@#p#@#2013-09-22#@now());')

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '622','2013-09-20','1','1799489.00','0.00','0.00','1','52299','p','2013-09-22',now());

select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '622' and close_date = '2013-09-20' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #622#@#2013-09-20#@#1#@#1799489.00#@#0.00#@#0.00#@#1#@#52299#@#p#@#2013-09-22#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #622# and close_date = #2013-09-20# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-04#@#1#@#38592022.00#@#441883.90#@#715561.11#@#1#@#55870_1247#@#p#@#2013-10-05#@now());')

Can't Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1247','2013-10-04','1','38592022.00','441883.90','715561.11','1','55870_1247','p','2013-10-05',now());

select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1247' and close_date = '2013-10-04' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('UPDATESEARCH', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1247#@#2013-10-04#@#1#@#38592022.00#@#441883.90#@#715561.11#@#1#@#55870_1247#@#p#@#2013-10-05#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1247# and close_date = #2013-10-04# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2018-12-11#@#2#@#151728085.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2018-12-11','2','151728085.00','578969.20','-14327.70','1','65272_1058','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2018-12-11#@#2#@#151728085.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1058# and close_date = #2018-12-11# 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 ( #1058#@#2018-12-12#@#1#@#151411035.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1058','2018-12-12','1','151411035.00','578969.20','-14327.70','1','65272_1058','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1058' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1058' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1058#@#2018-12-12#@#1#@#151411035.00#@#578969.20#@#-14327.70#@#1#@#65272_1058#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1058# and close_date = #2018-12-12# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2018-12-11#@#2#@#128074650.00#@#107591.00#@#-24571.54#@#1#@#65546_1232#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2018-12-11','2','128074650.00','107591.00','-24571.54','1','65546_1232','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1232' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1232' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2018-12-11' 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 ( #1232#@#2018-12-11#@#2#@#128074650.00#@#107591.00#@#-24571.54#@#1#@#65546_1232#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1232# and close_date = #2018-12-11# 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 ( #1232#@#2018-12-12#@#1#@#128093790.00#@#107591.00#@#-24571.54#@#1#@#65546_1232#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1232','2018-12-12','1','128093790.00','107591.00','-24571.54','1','65546_1232','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1232' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1232' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1232' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1232#@#2018-12-12#@#1#@#128093790.00#@#107591.00#@#-24571.54#@#1#@#65546_1232#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1232# and close_date = #2018-12-12# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1174#@#2018-12-12#@#1#@#193251498.40#@#0.00#@#0.00#@#1#@#65544_1174#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1174','2018-12-12','1','193251498.40','0.00','0.00','1','65544_1174','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1174' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1174' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1174' and close_date = '2018-12-12' 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 ( #1174#@#2018-12-12#@#1#@#193251498.40#@#0.00#@#0.00#@#1#@#65544_1174#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1174# and close_date = #2018-12-12# 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-12-11#@#2#@#244328995.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-12-12#@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-12-11','2','244328995.00','0.00','0.00','1','65546_1243','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-12-11' 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-12-11' 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-12-11#@#2#@#244328995.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-12-11# 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 ( #1243#@#2018-12-12#@#1#@#244525368.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-12-12#@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-12-12','1','244525368.00','0.00','0.00','1','65546_1243','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1243' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1243' and close_date = '2018-12-12' 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 ( #1243#@#2018-12-12#@#1#@#244525368.00#@#0.00#@#0.00#@#1#@#65546_1243#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1243# and close_date = #2018-12-12# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2018-12-11#@#2#@#136142723.91#@#1722165.24#@#0.00#@#1#@#65548_1351#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2018-12-11','2','136142723.91','1722165.24','0.00','1','65548_1351','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1351' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1351' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2018-12-11' 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 ( #1351#@#2018-12-11#@#2#@#136142723.91#@#1722165.24#@#0.00#@#1#@#65548_1351#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1351# and close_date = #2018-12-11# 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 ( #1425#@#2018-12-12#@#1#@#11809278.11#@#0.00#@#0.00#@#1#@#65546_1425#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1425','2018-12-12','1','11809278.11','0.00','0.00','1','65546_1425','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1425' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1425' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1425' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1425#@#2018-12-12#@#1#@#11809278.11#@#0.00#@#0.00#@#1#@#65546_1425#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1425# and close_date = #2018-12-12# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2018-12-12#@#1#@#136163135.91#@#1722165.24#@#0.00#@#1#@#65548_1351#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1351','2018-12-12','1','136163135.91','1722165.24','0.00','1','65548_1351','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1351' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1351' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1351' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1351#@#2018-12-12#@#1#@#136163135.91#@#1722165.24#@#0.00#@#1#@#65548_1351#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1351# and close_date = #2018-12-12# 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 ( #1358#@#2018-12-12#@#1#@#3152653.00#@#0.00#@#0.00#@#1#@#65548_1358#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1358','2018-12-12','1','3152653.00','0.00','0.00','1','65548_1358','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1358' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1358' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1358' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1358#@#2018-12-12#@#1#@#3152653.00#@#0.00#@#0.00#@#1#@#65548_1358#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1358# and close_date = #2018-12-12# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #215#@#2018-12-11#@#2#@#231984296.00#@#147501.10#@#-8965.10#@#1#@#31160_215#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '215','2018-12-11','2','231984296.00','147501.10','-8965.10','1','31160_215','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '215' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '215' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '215' and close_date = '2018-12-11' 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 ( #215#@#2018-12-11#@#2#@#231984296.00#@#147501.10#@#-8965.10#@#1#@#31160_215#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #215# and close_date = #2018-12-11# and seq_arrear = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-12-11#@#2#@#82680593.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2018-12-11','2','82680593.88','0.00','0.00','1','63919_1647','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-12-11#@#2#@#82680593.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1647# and close_date = #2018-12-11# and seq_arrear = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-12-12#@#1#@#82872263.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1647','2018-12-12','1','82872263.88','0.00','0.00','1','63919_1647','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1647' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1647' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1647#@#2018-12-12#@#1#@#82872263.88#@#0.00#@#0.00#@#1#@#63919_1647#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1647# and close_date = #2018-12-12# 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 ( #1661#@#2018-12-11#@#2#@#23169820.42#@#-889375.46#@#0.00#@#1#@#60000_1661#@#p#@#2018-12-12#@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 ( '1661','2018-12-11','2','23169820.42','-889375.46','0.00','1','60000_1661','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1661' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1661' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-12-11' 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 ( #1661#@#2018-12-11#@#2#@#23169820.42#@#-889375.46#@#0.00#@#1#@#60000_1661#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-12-11# 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 ( #1661#@#2018-12-12#@#1#@#23300470.42#@#-889375.46#@#0.00#@#1#@#60000_1661#@#p#@#2018-12-12#@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 ( '1661','2018-12-12','1','23300470.42','-889375.46','0.00','1','60000_1661','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1661' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1661' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1661' and close_date = '2018-12-12' 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 ( #1661#@#2018-12-12#@#1#@#23300470.42#@#-889375.46#@#0.00#@#1#@#60000_1661#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1661# and close_date = #2018-12-12# 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-12-11#@#2#@#4119944.00#@#0.00#@#0.00#@#1#@#60000_1760#@#p#@#2018-12-12#@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-12-11','2','4119944.00','0.00','0.00','1','60000_1760','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-12-11' and seq_arrear = '2'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-12-11' and seq_arrear = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1760' and close_date = '2018-12-11' 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 ( #1760#@#2018-12-11#@#2#@#4119944.00#@#0.00#@#0.00#@#1#@#60000_1760#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1760# and close_date = #2018-12-11# 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 ( #1760#@#2018-12-12#@#1#@#4141075.00#@#0.00#@#0.00#@#1#@#60000_1760#@#p#@#2018-12-12#@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-12-12','1','4141075.00','0.00','0.00','1','60000_1760','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1760' and close_date = '2018-12-12' 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-12-12' 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-12-12#@#1#@#4141075.00#@#0.00#@#0.00#@#1#@#60000_1760#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1760# and close_date = #2018-12-12# and seq_arrear = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1757#@#2018-12-12#@#1#@#474472.00#@#0.00#@#0.00#@#1#@#61045_1757#@#p#@#2018-12-12#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_arrear (branch_id,close_date,seq_arrear,payment_arrear,trans_arrear,emp_arrear,close_status,log_user,log_status,log_date,date_time_ex) VALUES ( '1757','2018-12-12','1','474472.00','0.00','0.00','1','61045_1757','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1757' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1757' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1757' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_arrear (branch_id@close_date@seq_arrear@payment_arrear@trans_arrear@emp_arrear@close_status@log_user@log_status@log_date@date_time_ex) VALUES ( #1757#@#2018-12-12#@#1#@#474472.00#@#0.00#@#0.00#@#1#@#61045_1757#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1757# and close_date = #2018-12-12# 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-12-11#@#1#@#299093.00#@#0.00#@#0.00#@#1#@#49692_1475#@#p#@#2018-12-12#@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 ( '1475','2018-12-11','1','299093.00','0.00','0.00','1','49692_1475','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1475' and close_date = '2018-12-11' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1475' and close_date = '2018-12-11' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1475' and close_date = '2018-12-11' 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 ( #1475#@#2018-12-11#@#1#@#299093.00#@#0.00#@#0.00#@#1#@#49692_1475#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1475# and close_date = #2018-12-11# 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-12-12#@#1#@#7926457.00#@#0.00#@#-140520.85#@#1#@#49692_1473#@#p#@#2018-12-12#@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-12-12','1','7926457.00','0.00','-140520.85','1','49692_1473','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1473' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1473' and close_date = '2018-12-12' 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-12-12' 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-12-12#@#1#@#7926457.00#@#0.00#@#-140520.85#@#1#@#49692_1473#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1473# and close_date = #2018-12-12# 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 ( #1634#@#2018-12-12#@#1#@#9691859.00#@#0.00#@#0.00#@#1#@#34731_1634#@#p#@#2018-12-12#@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 ( '1634','2018-12-12','1','9691859.00','0.00','0.00','1','34731_1634','p','2018-12-12',now());

select * from al_com_close_arrear WHERE branch_id = '1634' and close_date = '2018-12-12' and seq_arrear = '1'

Query k62.chaiyo-aa.com select * from al_com_close_arrear WHERE branch_id = '1634' and close_date = '2018-12-12' and seq_arrear = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_arrear SET log_status= 'p' WHERE branch_id = '1634' and close_date = '2018-12-12' 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 ( #1634#@#2018-12-12#@#1#@#9691859.00#@#0.00#@#0.00#@#1#@#34731_1634#@#p#@#2018-12-12#@now()); ### UPDATE al_com_close_arrear SET log_status= #p# WHERE branch_id = #1634# and close_date = #2018-12-12# and seq_arrear = #1#')

#STOP # Total Record = 24
Select==> SELECT * FROM al_com_close_promise WHERE log_status in ('e','a','r') limit 0,500

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1686#@#2017-10-25#@#B10-1#@#2#@#0#@#0#@#0#@#1#@#p#@#34731_1686#@#2017-10-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1686','2017-10-25','B10-1','2','0','0','0','1','p','34731_1686','2017-10-27',now());

select * from al_com_close_promise WHERE branch_id = '1686' and close_date = '2017-10-25' and pl_id = 'B10-1' and seq_close = '2'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1686' and close_date = '2017-10-25' and pl_id = 'B10-1' and seq_close = '2'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1686' and close_date = '2017-10-25' and pl_id = 'B10-1' and seq_close = '2'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1686#@#2017-10-25#@#B10-1#@#2#@#0#@#0#@#0#@#1#@#p#@#34731_1686#@#2017-10-27#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-10-25# and pl_id = #B10-1# and seq_close = #2#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1686#@#2017-10-26#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34731_1686#@#2017-10-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1686','2017-10-26','B1-1','1','0','0','0','1','p','34731_1686','2017-10-27',now());

select * from al_com_close_promise WHERE branch_id = '1686' and close_date = '2017-10-26' and pl_id = 'B1-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1686' and close_date = '2017-10-26' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1686' and close_date = '2017-10-26' and pl_id = 'B1-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1686#@#2017-10-26#@#B1-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34731_1686#@#2017-10-27#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-10-26# and pl_id = #B1-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1686#@#2017-10-26#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34731_1686#@#2017-10-27#@now());')

Query k62.chaiyo-aa.com insert into al_com_close_promise (branch_id,close_date,pl_id,seq_close,bf_amt,day_amt,sum_amt,pl_status,log_status,log_user,log_date,date_time_ex) VALUES ( '1686','2017-10-26','B2-1','1','0','0','0','1','p','34731_1686','2017-10-27',now());

select * from al_com_close_promise WHERE branch_id = '1686' and close_date = '2017-10-26' and pl_id = 'B2-1' and seq_close = '1'

Query k62.chaiyo-aa.com select * from al_com_close_promise WHERE branch_id = '1686' and close_date = '2017-10-26' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com UPDATE al_com_close_promise SET log_status= 'p' WHERE branch_id = '1686' and close_date = '2017-10-26' and pl_id = 'B2-1' and seq_close = '1'

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('COMPLETE', 'BK81-BK62',now(), 'insert into al_com_close_promise (branch_id@close_date@pl_id@seq_close@bf_amt@day_amt@sum_amt@pl_status@log_status@log_user@log_date@date_time_ex) VALUES ( #1686#@#2017-10-26#@#B2-1#@#1#@#0#@#0#@#0#@#1#@#p#@#34731_1686#@#2017-10-27#@now()); ### UPDATE al_com_close_promise SET log_status= #p# WHERE branch_id = #1686# and close_date = #2017-10-26# and pl_id = #B2-1# and seq_close = #1#')

Query k82.chaiyo-aa.com INSERT INTO `log_export` (type_desc ,branch_id,date_time,desc_sql) VALUES ('STARTINSERT', 'BK81-BK62',now(), 'inser