public byte[] AR_GetReportData(byte[] loginTicket, string DocNoFrom, string DocNoTo, DateTime DateFrom, DateTime DateTo) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataSet data = new dalAR(loginer).GetReportData(DocNoFrom, DocNoTo, DateFrom, DateTo); return(ZipTools.CompressionDataSet(data)); }
public byte[] AR_GetSummaryByParam(byte[] loginTicket, string DocNoFrom, string DocNoTo, DateTime docDateFrom, DateTime docDateTo) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataTable data = new dalAR(loginer).GetSummaryByParam(DocNoFrom, DocNoTo, docDateFrom, docDateTo); return(ZipTools.CompressionDataSet(ServerLibrary.TableToDataSet(data))); }
public byte[] AR_GetBusinessByKey(byte[] loginTicket, string keyValue) { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataSet data = new dalAR(loginer).GetBusinessByKey(keyValue); return(ZipTools.CompressionDataSet(data)); }
public byte[] AR_Update(byte[] loginTicket, byte[] saveData) { try { Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket); DataSet ds = ZipTools.DecompressionDataSet(saveData); SaveResult result = new dalAR(loginer).Update(ds); return(ZipTools.CompressionObject(result)); } catch (Exception ex) { throw new FaultException(ex.Message); } }