public void SearchTransDetail()
        {
            try
            {
                using (ProxyBE p = new ProxyBE())
                {
                    SearchPartnerTransDetailArgs args = new SearchPartnerTransDetailArgs();
                    args.RowNumberFrom = pagingParm.RowNumberFrom;
                    args.RowNumberTo   = pagingParm.RowNumberTo;
                    args.OrderBy       = "Created desc";

                    if (!string.IsNullOrEmpty(Request["OrderID"]))
                    {
                        args.OrderID = Guid.Parse(Request["OrderID"]);
                    }

                    SearchResult sr = p.Client.SearchPartnerTransDetail(SenderUser, args);
                    Response.Write(JSONHelper.Dataset2Json(sr.DataSet));
                }
            }
            catch (Exception ex)
            {
                WriteError(ex.Message, ex);
            }
        }
 public SearchResult SearchPartnerTransDetail(Sender sender, SearchPartnerTransDetailArgs args)
 {
     try
     {
         using (ObjectProxy op = new ObjectProxy())
         {
             return(op.SearchPartnerTransDetail(args));
         }
     }
     catch (Exception ex)
     {
         PLogger.LogError(ex);
         throw ex;
     }
 }