Пример #1
0
        //##### Chen Production Codes Starts #####
        public ReceiveFGProductList GetReceiveFGProductList(string Company, string LotNum, out string sErrMsg)
        {
            ReceiveFGProductList objReceiveFGProductList = new ReceiveFGProductList();
            DAL objDAL = new DAL();

            objReceiveFGProductList = objDAL.GetReceiveFGProductListData(Company, LotNum, out sErrMsg);

            return(objReceiveFGProductList);
        }
Пример #2
0
        public string UpdateReceiveFGProduct(ReceiveFGProductList objReceiveFGProductList, out string sErrMsg)
        {
            string msg = string.Empty;

            try
            {
                DAL objDAL = new DAL();
                msg = objDAL.VerifyReceiveFGProductData(objReceiveFGProductList, out sErrMsg);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message.ToString());
            }
            return(msg);
        }