示例#1
0
        /// <summary>
        /// Verify that the shipping vendor is a vendor (V or V3) in JDE.
        /// </summary>
        /// <returns></returns>
        public bool CheckShippingVendor()
        {
            double Vendor = Double.Parse(DT.Rows[0].Field <string>("SHIPPING VENDOR").Trim());

            if (true == JDE.DoesAddressExist(Vendor, "V"))
            {
                return(true);
            }
            else if (true == JDE.DoesAddressExist(Vendor, "V3"))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }