public bool CheckNoExists(string keyValue) { using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); return(client.AP_CheckNoExists(loginTicket, keyValue)); } }
public void ApprovalBusiness(string keyValue, string flagApp, string appUser, DateTime appDate) { using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); client.AP_ApprovalBusiness(loginTicket, keyValue, flagApp, appUser, appDate); } }
public System.Data.DataTable GetSummaryByParam(string docNoFrom, string docNoTo, DateTime docDateFrom, DateTime docDateTo) { using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.AP_GetSummaryByParam(loginTicket, docNoFrom, docNoTo, docDateFrom, docDateTo); return(ZipTools.DecompressionDataSet(receivedData).Tables[0]); } }
public System.Data.DataSet GetBusinessByKey(string keyValue) { using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.AP_GetBusinessByKey(loginTicket, keyValue); return(ZipTools.DecompressionDataSet(receivedData)); } }
public DataSet GetReportData_Checklist(string DocNoFrom, string DocNoTo, DateTime DateFrom, DateTime DateTo) { using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.AP_GetReportData(loginTicket, DocNoFrom, DocNoTo, DateFrom, DateTo); return(ZipTools.DecompressionDataSet(receivedData)); } }
public SaveResult Update(DataSet saveData) { using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] bs = ZipTools.CompressionDataSet(saveData); byte[] receivedData = client.AP_Update(loginTicket, bs); return(ZipTools.DecompressionObject(receivedData) as SaveResult); } }