コード例 #1
0
        public string PrintBarCodeQTY(string sBarCode, decimal dQty, string sPrintName)
        {
            string sReturn = "";

            try
            {
                TH.WebService.DAL._BarCodeRD DAL = new TH.WebService.DAL._BarCodeRD();

                sReturn = DAL.PrintBarCodeQTY(sBarCode, dQty, sPrintName);
            }
            catch (Exception ee)
            {
                sReturn = ee.Message;
            }
            return(sReturn);
        }
コード例 #2
0
        public string PrintBarCodeQTYSecond(string sBarCode, decimal dQty, string sPrintName)
        {
            string sReturn = "";

            try
            {
                TH.WebService.DAL._BarCodeRD DAL = new TH.WebService.DAL._BarCodeRD();

                decimal dUseQty = dBarCodeQty(sBarCode);
                if (dUseQty > dQty)
                {
                    sReturn = sReturn + DAL.PrintBarCodeQTY(sBarCode, dUseQty - dQty, sPrintName);
                }
            }
            catch (Exception ee)
            {
                sReturn = ee.Message;
            }
            return(sReturn);
        }