Example #1
0
        private tinpshippingplan GetShippingPlan(string shippingplanno)
        {
            wsINP.IwsINPClient client = new wsINP.IwsINPClient();
            tinpshippingplan shippingplan = null;
            try
            {
                List<MESParameterInfo> lstParams = new List<MESParameterInfo>() {
                            new MESParameterInfo(){ParamName="shippingplanno",ParamValue=shippingplanno}
                        };
                shippingplan = client.GetSingleShippingPlan(baseForm.CurrentContextInfo, lstParams.ToArray<MESParameterInfo>());

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