Exemplo n.º 1
0
 private DataTable GetRequestPayDtl(string sysid)
 {
     wsINP.IwsINPClient client = new wsINP.IwsINPClient();
     DataTable dt = null;
     try
     {
         List<MESParameterInfo> lstParams = new List<MESParameterInfo>() {
                     new MESParameterInfo(){ParamName="shippingsysid",ParamValue=sysid}
                 };
         dt = client.GetRequestPayDtlRecords(baseForm.CurrentContextInfo, lstParams.ToArray<MESParameterInfo>()).Tables[0];
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
         baseForm.CloseWCF(client);
     }
     return dt;
 }