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); }
public virtual void DeleteHuOdd(HuOdd entity) { entityDao.DeleteHuOdd(entity); }
public virtual void UpdateHuOdd(HuOdd entity) { entityDao.UpdateHuOdd(entity); }
public virtual void CreateHuOdd(HuOdd entity) { entityDao.CreateHuOdd(entity); }
public virtual void DeleteHuOdd(HuOdd entity) { Delete(entity); }
public virtual void UpdateHuOdd(HuOdd entity) { Update(entity); }
public virtual void CreateHuOdd(HuOdd entity) { Create(entity); }