Ejemplo n.º 1
0
 public bool CheckNoExists(string keyValue)
 {
     using (AccountModuleServiceClient client = SoapClientFactory.CreateAccountModuleServiceClient())
     {
         byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         return(client.AP_CheckNoExists(loginTicket, keyValue));
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }
Ejemplo n.º 3
0
 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]);
     }
 }
Ejemplo n.º 4
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));
     }
 }
Ejemplo n.º 5
0
 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));
     }
 }
Ejemplo n.º 6
0
 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);
     }
 }