Ejemplo n.º 1
0
 public byte[] TableSearch(string CONTRACT_CODE, DateTime FR0MDATE, int STATUS, decimal User_Type, string User_Id, string Created_By,
                           decimal Receive_Number, decimal Receive_Year, decimal WareHouse_Id, decimal Business_Id,
                           string p_order_by, int p_start, int p_end, ref int p_total)
 {
     try
     {
         Contract_DA _objDA = new Contract_DA();
         DataSet     _ds    = _objDA.TableSearch(CONTRACT_CODE, FR0MDATE, STATUS, User_Type, User_Id, Created_By,
                                                 Receive_Number, Receive_Year, WareHouse_Id, Business_Id,
                                                 p_order_by, p_start, p_end, ref p_total);
         return(CompressionHelper.CompressDataSet(_ds));
     }
     catch (Exception ex)
     {
         NaviCommon.Common.log.Error(ex.ToString());
         return(new byte[0]);
     }
 }