Ejemplo n.º 1
0
        private DataTable GetShippingPlanNo(string shippingsysid)
        {
            wsINP.IwsINPClient client = new wsINP.IwsINPClient();
            DataTable dt = null;
            try
            {
                dt = client.GetShippingPlanNoRecords(baseForm.CurrentContextInfo, shippingsysid).Tables[0];
                DataView dv = dt.DefaultView;
                dv.Sort = "shippingplanno desc";
                dt = dv.ToTable();

            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                baseForm.CloseWCF(client);
            }
            return dt;
        }