예제 #1
0
        public HuOdd CreateHuOdd(ReceiptDetail receiptDetail, LocationLotDetail locationLotDetail, User user)
        {
            OrderLocationTransaction orderLocationTransaction = receiptDetail.OrderLocationTransaction;
            OrderDetail orderDetail = orderLocationTransaction.OrderDetail;
            DateTime    dateTimeNow = DateTime.Now;

            HuOdd huOdd = new HuOdd();

            huOdd.OrderDetail       = orderDetail;
            huOdd.LocationLotDetail = locationLotDetail;
            huOdd.OddQty            = receiptDetail.ReceivedQty.Value;
            huOdd.Status            = BusinessConstants.CODE_MASTER_STATUS_VALUE_CREATE;
            huOdd.CreatedQty        = 0;
            huOdd.CreateUser        = user;
            huOdd.CreateDate        = dateTimeNow;
            huOdd.LastModifyUser    = user;
            huOdd.LastModifyDate    = dateTimeNow;

            this.CreateHuOdd(huOdd);
            return(huOdd);
        }
예제 #2
0
 public virtual void DeleteHuOdd(HuOdd entity)
 {
     entityDao.DeleteHuOdd(entity);
 }
예제 #3
0
 public virtual void UpdateHuOdd(HuOdd entity)
 {
     entityDao.UpdateHuOdd(entity);
 }
예제 #4
0
 public virtual void CreateHuOdd(HuOdd entity)
 {
     entityDao.CreateHuOdd(entity);
 }
예제 #5
0
 public virtual void DeleteHuOdd(HuOdd entity)
 {
     Delete(entity);
 }
예제 #6
0
 public virtual void UpdateHuOdd(HuOdd entity)
 {
     Update(entity);
 }
예제 #7
0
 public virtual void CreateHuOdd(HuOdd entity)
 {
     Create(entity);
 }