Beispiel #1
0
        public BusinessException CheckItemNotExist(NZString ItemCD)
        {
            ItemDAO dao = new ItemDAO(CommonLib.Common.CurrentDatabase);

            if (!dao.Exist(null, ItemCD))
            {
                ErrorItem errorItem = new ErrorItem(ItemCD.Owner, TKPMessages.eValidate.VLM0009.ToString());
                return(new BusinessException(errorItem));
            }
            return(null);
        }