0:00:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 0:00:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 0:00:48 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 0:00:48 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 1:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 1:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 1:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 1:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 2:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 2:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 2:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 2:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 2:14:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 2:14:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 2:15:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 2:15:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 3:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 3:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 3:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 3:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 4:00:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 4:00:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 4:00:48 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 4:00:48 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 5:00:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 5:00:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 5:00:48 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 5:00:48 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 6:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 6:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 6:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 6:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 7:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 7:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 7:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 7:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 8:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 8:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 8:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 8:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 8:52:23 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 8:52:23 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 8:54:24 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 8:54:24 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 8:56:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 8:56:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 8:59:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 8:59:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 8:59:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 8:59:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 9:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 9:01:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:01:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:02:15 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:02:15 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:05:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:05:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:05:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:05:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:06:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:06:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:07:13 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:07:13 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:11:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:11:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:24:14 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:24:14 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:26:13 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:26:13 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:27:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:27:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:31:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:31:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:34:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:34:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:38:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:38:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:41:11 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:41:11 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:46:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:46:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:50:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:50:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:51:10 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:51:10 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:56:42 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 9:58:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:58:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:58:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 9:58:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 9:59:21 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 10:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 10:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 10:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 10:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 10:01:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:01:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:02:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:02:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:04:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:04:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:05:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:05:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:05:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:05:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:05:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:05:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:05:50 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:05:50 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:05:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:05:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:09:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:09:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:12:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:12:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:18:20 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:18:20 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:21:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:21:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:34:27 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:34:27 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:38:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:38:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:42:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:42:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:44:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:44:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:46:52 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:46:52 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:48:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:48:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:53:12 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:53:12 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:53:15 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:53:15 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:55:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:55:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 10:59:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 10:59:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:00:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:00:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:00:49 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 11:00:49 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 11:01:15 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:01:15 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:12:06 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 11:16:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:16:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:18:52 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:18:52 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:21:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:21:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:24:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:24:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:27:16 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:27:16 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:27:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:27:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:29:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:29:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:33:17 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:33:17 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:37:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:37:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:41:08 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:41:08 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:43:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:43:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:47:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:47:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:51:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:51:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:53:15 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:53:15 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:55:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:55:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:55:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:55:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 11:58:09 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 11:58:09 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:00:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:00:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:00:49 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 12:00:49 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 12:14:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:14:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:15:23 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:15:23 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:16:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:16:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:25:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:25:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:42:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:42:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:45:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:45:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:50:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:50:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:53:16 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:53:16 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:55:12 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:55:12 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:57:20 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:57:20 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:57:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:57:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:58:20 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:58:20 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:59:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:59:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 12:59:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 12:59:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:00:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:00:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:00:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:00:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:00:50 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 13:00:50 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 13:03:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:03:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:03:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:03:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:07:27 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:07:27 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:09:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:09:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:13:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:13:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:14:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:14:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:16:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:16:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:17:12 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:17:12 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:17:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:17:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:21:59 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 13:28:09 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 13:37:12 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:37:12 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:37:23 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:37:23 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:39:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:39:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 13:54:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 13:54:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:00:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:00:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:00:46 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 14:00:46 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 14:07:56 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 14:28:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:28:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:32:17 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:32:17 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:36:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:36:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:38:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:38:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:45:13 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:45:13 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:46:09 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:46:09 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:48:44 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 14:51:13 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:51:13 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:53:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:53:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:54:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:54:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 14:55:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 14:55:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:00:12 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 15:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 15:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 15:24:45 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 15:27:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:27:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:27:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:27:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:49 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:49 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:50 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:50 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:50 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:50 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:50 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:50 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:50 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:50 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:50 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:50 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:50 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:50 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:52 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:52 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:52 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:52 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:52 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:52 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:52 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:52 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:53 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:53 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:57 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:57 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:58 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:58 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:29:59 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:29:59 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:00 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:00 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:01 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:01 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:02 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:02 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:03 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:03 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:04 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:04 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:05 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:05 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:06 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:06 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:07 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:07 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:07 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:07 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:07 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:07 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:07 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:07 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:07 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:07 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:07 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:07 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:07 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:07 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:08 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:08 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:08 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:08 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:08 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:08 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:08 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:08 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:27 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:27 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:27 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:27 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:28 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:28 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:29 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:29 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:30 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:30 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:31 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:31 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:32 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:32 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:33 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:33 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:34 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:34 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:35 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:35 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:36 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:36 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:37 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:37 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:38 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:38 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:39 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:39 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:40 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:40 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:41 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:41 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:42 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:42 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:44 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:44 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:45 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:45 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:30:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:30:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 15:39:17 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 15:43:22 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15:43:22 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 16:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 16:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 16:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 16:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 16:10:38 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 16:12:20 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 16:12:20 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 16:16:19 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 16:16:19 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 16:18:18 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 16:18:18 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 16:18:34 19 กุมภาพันธ์ 2561 :There was no endpoint listening at https://rdws.rd.go.th/serviceRD3/vatserviceRD3.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. 16:21:22 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 16:21:22 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 16:25:03 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 16:25:36 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 16:34:09 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 17:00:46 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 17:00:46 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 17:00:46 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 17:00:46 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 17:15:47 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 17:35:46 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 17:46:39 19 กุมภาพันธ์ 2561 :Server was unable to process request. ---> Cannot open database "RDtmp" requested by the login. The login failed. 18:00:51 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 18:00:51 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 18:00:51 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 18:00:51 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 18:03:24 19 กุมภาพันธ์ 2561 : INSERT INTO FIN_RC_BANK_RECONCILE ([BR_NO],[BANK_CODE],[BRANCH_CODE],[REF_TRANSFER_SEQ],[TRANSFER_DATE],[TRANSFER_YEAR],[TRANSFER_MONTH],[SUM_AMT],[BAL_AMT],[TRAN_NO],[TRAN_DATE],[IS_DELETE],[CANCLE_BY],[CANCLE_DATE],[REMARK],[ACCOUNT_NUM_FTI],[CODE],[STAFF_ID],[COMP_PERSON_NAME_TH],[REMARK_REPORT],[CR_BY],[CR_DATE],[UPD_BY],[UPD_DATE],[IS_BILL_PAYMENT],[CHEQUE_AMT]) VALUES( @brNo,@bankCode,@branchCode,@seq,@transferDate,@transferYear,@transferMonth,@sumTotal,@balAmt,NULL,NULL,@isDelete,@cancleBy,GETDATE(),@remark,@accountNumFti,@code,@staffId,NULL,@remarkReport,@crBy,GETDATE(),@updBy,GETDATE(),@isBillPayment,@Cheque ); 18:03:24 19 กุมภาพันธ์ 2561 :Violation of PRIMARY KEY constraint 'PK_FIN_RC_BANK_RECONCILE'. Cannot insert duplicate key in object 'dbo.FIN_RC_BANK_RECONCILE'. The duplicate key value is (451000074461013). The statement has been terminated. 18:03:24 19 กุมภาพันธ์ 2561 : INSERT INTO FIN_RC_BANK_RECONCILE ([BR_NO],[BANK_CODE],[BRANCH_CODE],[REF_TRANSFER_SEQ],[TRANSFER_DATE],[TRANSFER_YEAR],[TRANSFER_MONTH],[SUM_AMT],[BAL_AMT],[TRAN_NO],[TRAN_DATE],[IS_DELETE],[CANCLE_BY],[CANCLE_DATE],[REMARK],[ACCOUNT_NUM_FTI],[CODE],[STAFF_ID],[COMP_PERSON_NAME_TH],[REMARK_REPORT],[CR_BY],[CR_DATE],[UPD_BY],[UPD_DATE],[IS_BILL_PAYMENT],[CHEQUE_AMT]) VALUES( @brNo,@bankCode,@branchCode,@seq,@transferDate,@transferYear,@transferMonth,@sumTotal,@balAmt,NULL,NULL,@isDelete,@cancleBy,GETDATE(),@remark,@accountNumFti,@code,@staffId,NULL,@remarkReport,@crBy,GETDATE(),@updBy,GETDATE(),@isBillPayment,@Cheque ); 18:03:24 19 กุมภาพันธ์ 2561 :Violation of PRIMARY KEY constraint 'PK_FIN_RC_BANK_RECONCILE'. Cannot insert duplicate key in object 'dbo.FIN_RC_BANK_RECONCILE'. The duplicate key value is (451000074461011). The statement has been terminated. 18:09:34 19 กุมภาพันธ์ 2561 :There was no endpoint listening at https://rdws.rd.go.th/serviceRD3/vatserviceRD3.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. 18:12:09 19 กุมภาพันธ์ 2561 : INSERT INTO FIN_RC_BANK_RECONCILE ([BR_NO],[BANK_CODE],[BRANCH_CODE],[REF_TRANSFER_SEQ],[TRANSFER_DATE],[TRANSFER_YEAR],[TRANSFER_MONTH],[SUM_AMT],[BAL_AMT],[TRAN_NO],[TRAN_DATE],[IS_DELETE],[CANCLE_BY],[CANCLE_DATE],[REMARK],[ACCOUNT_NUM_FTI],[CODE],[STAFF_ID],[COMP_PERSON_NAME_TH],[REMARK_REPORT],[CR_BY],[CR_DATE],[UPD_BY],[UPD_DATE],[IS_BILL_PAYMENT],[CHEQUE_AMT]) VALUES( @brNo,@bankCode,@branchCode,@seq,@transferDate,@transferYear,@transferMonth,@sumTotal,@balAmt,NULL,NULL,@isDelete,@cancleBy,GETDATE(),@remark,@accountNumFti,@code,@staffId,NULL,@remarkReport,@crBy,GETDATE(),@updBy,GETDATE(),@isBillPayment,@Cheque ); 18:12:09 19 กุมภาพันธ์ 2561 :Violation of PRIMARY KEY constraint 'PK_FIN_RC_BANK_RECONCILE'. Cannot insert duplicate key in object 'dbo.FIN_RC_BANK_RECONCILE'. The duplicate key value is (451000074461013). The statement has been terminated. 18:12:10 19 กุมภาพันธ์ 2561 : INSERT INTO FIN_RC_BANK_RECONCILE ([BR_NO],[BANK_CODE],[BRANCH_CODE],[REF_TRANSFER_SEQ],[TRANSFER_DATE],[TRANSFER_YEAR],[TRANSFER_MONTH],[SUM_AMT],[BAL_AMT],[TRAN_NO],[TRAN_DATE],[IS_DELETE],[CANCLE_BY],[CANCLE_DATE],[REMARK],[ACCOUNT_NUM_FTI],[CODE],[STAFF_ID],[COMP_PERSON_NAME_TH],[REMARK_REPORT],[CR_BY],[CR_DATE],[UPD_BY],[UPD_DATE],[IS_BILL_PAYMENT],[CHEQUE_AMT]) VALUES( @brNo,@bankCode,@branchCode,@seq,@transferDate,@transferYear,@transferMonth,@sumTotal,@balAmt,NULL,NULL,@isDelete,@cancleBy,GETDATE(),@remark,@accountNumFti,@code,@staffId,NULL,@remarkReport,@crBy,GETDATE(),@updBy,GETDATE(),@isBillPayment,@Cheque ); 18:12:10 19 กุมภาพันธ์ 2561 :Violation of PRIMARY KEY constraint 'PK_FIN_RC_BANK_RECONCILE'. Cannot insert duplicate key in object 'dbo.FIN_RC_BANK_RECONCILE'. The duplicate key value is (451000074461011). The statement has been terminated. 18:17:35 19 กุมภาพันธ์ 2561 : INSERT INTO FIN_RC_BANK_RECONCILE ([BR_NO],[BANK_CODE],[BRANCH_CODE],[REF_TRANSFER_SEQ],[TRANSFER_DATE],[TRANSFER_YEAR],[TRANSFER_MONTH],[SUM_AMT],[BAL_AMT],[TRAN_NO],[TRAN_DATE],[IS_DELETE],[CANCLE_BY],[CANCLE_DATE],[REMARK],[ACCOUNT_NUM_FTI],[CODE],[STAFF_ID],[COMP_PERSON_NAME_TH],[REMARK_REPORT],[CR_BY],[CR_DATE],[UPD_BY],[UPD_DATE],[IS_BILL_PAYMENT],[CHEQUE_AMT]) VALUES( @brNo,@bankCode,@branchCode,@seq,@transferDate,@transferYear,@transferMonth,@sumTotal,@balAmt,NULL,NULL,@isDelete,@cancleBy,GETDATE(),@remark,@accountNumFti,@code,@staffId,NULL,@remarkReport,@crBy,GETDATE(),@updBy,GETDATE(),@isBillPayment,@Cheque ); 18:17:35 19 กุมภาพันธ์ 2561 :Violation of PRIMARY KEY constraint 'PK_FIN_RC_BANK_RECONCILE'. Cannot insert duplicate key in object 'dbo.FIN_RC_BANK_RECONCILE'. The duplicate key value is (451000074461013). The statement has been terminated. 18:18:29 19 กุมภาพันธ์ 2561 : INSERT INTO FIN_RC_BANK_RECONCILE ([BR_NO],[BANK_CODE],[BRANCH_CODE],[REF_TRANSFER_SEQ],[TRANSFER_DATE],[TRANSFER_YEAR],[TRANSFER_MONTH],[SUM_AMT],[BAL_AMT],[TRAN_NO],[TRAN_DATE],[IS_DELETE],[CANCLE_BY],[CANCLE_DATE],[REMARK],[ACCOUNT_NUM_FTI],[CODE],[STAFF_ID],[COMP_PERSON_NAME_TH],[REMARK_REPORT],[CR_BY],[CR_DATE],[UPD_BY],[UPD_DATE],[IS_BILL_PAYMENT],[CHEQUE_AMT]) VALUES( @brNo,@bankCode,@branchCode,@seq,@transferDate,@transferYear,@transferMonth,@sumTotal,@balAmt,NULL,NULL,@isDelete,@cancleBy,GETDATE(),@remark,@accountNumFti,@code,@staffId,NULL,@remarkReport,@crBy,GETDATE(),@updBy,GETDATE(),@isBillPayment,@Cheque ); 18:18:29 19 กุมภาพันธ์ 2561 :Violation of PRIMARY KEY constraint 'PK_FIN_RC_BANK_RECONCILE'. Cannot insert duplicate key in object 'dbo.FIN_RC_BANK_RECONCILE'. The duplicate key value is (451000074461013). The statement has been terminated. 18:24:39 19 กุมภาพันธ์ 2561 : INSERT INTO FIN_RC_BANK_RECONCILE ([BR_NO],[BANK_CODE],[BRANCH_CODE],[REF_TRANSFER_SEQ],[TRANSFER_DATE],[TRANSFER_YEAR],[TRANSFER_MONTH],[SUM_AMT],[BAL_AMT],[TRAN_NO],[TRAN_DATE],[IS_DELETE],[CANCLE_BY],[CANCLE_DATE],[REMARK],[ACCOUNT_NUM_FTI],[CODE],[STAFF_ID],[COMP_PERSON_NAME_TH],[REMARK_REPORT],[CR_BY],[CR_DATE],[UPD_BY],[UPD_DATE],[IS_BILL_PAYMENT],[CHEQUE_AMT]) VALUES( @brNo,@bankCode,@branchCode,@seq,@transferDate,@transferYear,@transferMonth,@sumTotal,@balAmt,NULL,NULL,@isDelete,@cancleBy,GETDATE(),@remark,@accountNumFti,@code,@staffId,NULL,@remarkReport,@crBy,GETDATE(),@updBy,GETDATE(),@isBillPayment,@Cheque ); 18:24:39 19 กุมภาพันธ์ 2561 :Violation of PRIMARY KEY constraint 'PK_FIN_RC_BANK_RECONCILE'. Cannot insert duplicate key in object 'dbo.FIN_RC_BANK_RECONCILE'. The duplicate key value is (451000074461013). The statement has been terminated. 19:00:55 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 19:00:55 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 19:00:55 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 19:00:55 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 20:00:47 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 20:00:47 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 20:00:47 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 20:00:47 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 21:00:56 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 21:00:56 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 21:00:56 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 21:00:56 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 22:00:48 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 22:00:48 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 22:00:48 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 22:00:48 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 23:00:54 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 23:00:54 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 23:00:54 19 กุมภาพันธ์ 2561 :getGS1changed=/*SELECT MB_MEMBER.MEMBER_CODE, MB_PRENAME.PRENAME_TH, MB_COMP_PERSON.COMP_PERSON_NAME_TH, MB_PRENAME.PRENAME_EN, MB_COMP_PERSON.COMP_PERSON_NAME_EN, MB_COMP_PERSON.TAX_ID, MB_MEMBER.REGIST_DATE, MB_MEMBER.MEMBER_MAIN_TYPE_CODE, MB_MEMBER.MEMBER_TYPE_CODE, MB_MEMBER.MEMBER_STATUS_CODE, MB_MEMBER_RETIRE.APPROVE_DATE FROM MB_MEMBER INNER JOIN MB_COMP_PERSON ON MB_MEMBER.COMP_PERSON_CODE = MB_COMP_PERSON.COMP_PERSON_CODE INNER JOIN MB_MEMBER_RETIRE ON MB_MEMBER.REGIST_CODE = MB_MEMBER_RETIRE.REGIST_CODE LEFT OUTER JOIN MB_PRENAME ON MB_COMP_PERSON.PREN_CODE = MB_PRENAME.PRENAME_CODE WHERE (MB_MEMBER.MEMBER_MAIN_GROUP_CODE = '300') AND (MB_MEMBER_RETIRE.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) ORDER BY MB_MEMBER_RETIRE.APPROVE_DATE*/ --declare @YYYYMMDD_FROM varchar(max) = '20171101' --declare @YYYYMMDD_TO varchar(max) = '20171201' create table tempWsGs1_001 ( id int, tax_id varchar(max) ) create table tempWsGs1_002 ( MEMBER_CODE varchar(max) , TAX_ID varchar(max) , BDB_CODE varchar(max) , MEMBER_MAIN_TYPE_CODE varchar(max) , MEMBER_MAIN_TYPE_NAME varchar(max) , MEMBER_TYPE_CODE varchar(max) , MEMBER_TYPE_NAME varchar(max) , BUSSINESS_TYPE_TH varchar(max) , BUSSINESS_TYPE_EN varchar(max) , PRENAME_TH varchar(max) , COMP_PERSON_NAME_TH varchar(max) , PRENAME_EN varchar(max) , COMP_PERSON_NAME_EN varchar(max) , ADDR_TH varchar(max) , ADDR_EN varchar(max) , ZIP_CODE_TH varchar(max) , ZIP_CODE_EN varchar(max) , TELEPHONE_TH varchar(max) , TELEPHONE_EN varchar(max) , EMAIL_TH varchar(max) , EMAIL_EN varchar(max) , STATUS varchar(max) , REGIST_DATE varchar(max) , MEMBER_DATE varchar(max) , UPDATE_DATE varchar(max) , CompanyPrefix varchar(max) ) insert into tempWsGs1_001 select distinct ROW_NUMBER() over (order by r.approve_date) as id, c.TAX_ID as tax_id from MB_MEMBER m,MB_COMP_PERSON c,MB_MEMBER_RETIRE r where r.REGIST_CODE=m.REGIST_CODE and m.MEMBER_MAIN_GROUP_CODE='300' and m.COMP_PERSON_CODE=c.COMP_PERSON_CODE AND (r.APPROVE_DATE BETWEEN dbo.fnc_StrToDateTime(@YYYYMMDD_FROM + '000000') AND dbo.fnc_StrToDateTime(@YYYYMMDD_TO + '235959')) declare @id int declare @totalRows int = (select count(*) from tempWsGs1_001) declare @currentRow int = 0 declare @BussinessTypeTH VARCHAR(max) declare @BussinessTypeEN VARCHAR(max) while @currentRow < @totalRows begin set @id = @currentRow+1 declare @TAX_ID varchar(max) set @TAX_ID = (select top 1 tax_id from tempWsGs1_001 where id=@id) insert into tempWsGs1_002 select * from fnc_GetGS1MemberInfoForWebServiceByTaxID(@TAX_ID) set @currentRow = @currentRow +1 end drop table tempWsGs1_001 select * from tempWsGs1_002 drop table tempWsGs1_002 23:00:54 19 กุมภาพันธ์ 2561 :There is already an object named 'tempWsGs1_001' in the database. 23:39:43 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 23:39:43 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS 23:53:27 19 กุมภาพันธ์ 2561 :Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 23:53:27 19 กุมภาพันธ์ 2561 :try to logon with: GS1WS