示例#1
0
        public int Update_PickOrder(PickOrder pickOrder, PickOrder oldPickOrder)
        {
            int result;

            try
            {
                if (!pickOrder.IsValid())
                {
                    throw new ArgumentException("Data for this order record is invalid");
                }
                result = _pickAccessor.Update_PickOrder(pickOrder, oldPickOrder);
            }
            catch (Exception ex)
            {
                ExceptionLogManager.getInstance().LogException(ex);
                throw ex;
            }
            return(result);
        }
示例#2
0
        public int Insert_Record_To_TmpPicksheet(PickOrder pickOrder)
        {
            int result;

            try
            {
                if (!pickOrder.IsValid())
                {
                    throw new ArgumentException("Data for this order record is invalid");
                }

                result = _pickAccessor.Insert_Record_To_TmpPicksheet(pickOrder);
            }
            catch (Exception ex)
            {
                ExceptionLogManager.getInstance().LogException(ex);
                throw ex;
            }
            return(result);
        }