예제 #1
0
        public static long WMGetQty(long SelectedProduct, long SelectedUOM)
        {
            CustomProfile      profile    = CustomProfile.GetProfile();
            iPartRequestClient objService = new iPartRequestClient();
            DataSet            dsUOM      = new DataSet();

            dsUOM = objService.GetQtyofSelectedUOM(SelectedProduct, SelectedUOM, profile.DBConnection._constr);
            long Qty = long.Parse(dsUOM.Tables[0].Rows[0]["Quantity"].ToString());

            return(Qty);
        }