public void CreateFlowDetailTrack(FlowDetail flowDetail,string eventCode) { FlowDetailTrack flowDetailTrack = new FlowDetailTrack(); CloneHelper.CopyProperty(flowDetail, flowDetailTrack, FlowDetail2FlowDetailTrackCloneFields); flowDetailTrack.FlowDetailId = flowDetail.Id; flowDetailTrack.Flow = flowDetail.Flow.Code; flowDetailTrack.Item = flowDetail.Item.Code; flowDetailTrack.Customer = flowDetail.Customer != null ? flowDetail.Customer.Code : string.Empty; flowDetailTrack.Uom = flowDetail.Uom != null ? flowDetail.Uom.Code : string.Empty; flowDetailTrack.Bom = flowDetail.Bom != null ? flowDetail.Bom.Code : string.Empty; flowDetailTrack.BillFrom = flowDetail.BillFrom != null ? flowDetail.BillFrom.Code : string.Empty; flowDetailTrack.BillTo = flowDetail.BillTo != null ? flowDetail.BillTo.Code : string.Empty; flowDetailTrack.LocationFrom = flowDetail.LocationFrom != null ? flowDetail.LocationFrom.Code : string.Empty; flowDetailTrack.LocationTo = flowDetail.LocationTo != null ? flowDetail.LocationTo.Code : string.Empty; flowDetailTrack.LastModifyUser = flowDetail.LastModifyUser.Code; flowDetailTrack.LastModifyDate = DateTime.Now; flowDetailTrack.PriceListFrom = flowDetail.PriceListFrom != null ? flowDetail.PriceListFrom.Code : string.Empty; flowDetailTrack.PriceListTo = flowDetail.PriceListTo != null ? flowDetail.PriceListTo.Code : string.Empty; flowDetailTrack.EventCode = eventCode; base.CreateFlowDetailTrack(flowDetailTrack); }
public void CreateFlowDetailTrack(FlowDetail flowDetail, string eventCode) { FlowDetailTrack flowDetailTrack = new FlowDetailTrack(); CloneHelper.CopyProperty(flowDetail, flowDetailTrack, FlowDetail2FlowDetailTrackCloneFields); flowDetailTrack.FlowDetailId = flowDetail.Id; flowDetailTrack.Flow = flowDetail.Flow.Code; flowDetailTrack.Item = flowDetail.Item.Code; flowDetailTrack.Customer = flowDetail.Customer != null ? flowDetail.Customer.Code : string.Empty; flowDetailTrack.Uom = flowDetail.Uom != null ? flowDetail.Uom.Code : string.Empty; flowDetailTrack.Bom = flowDetail.Bom != null ? flowDetail.Bom.Code : string.Empty; flowDetailTrack.BillFrom = flowDetail.BillFrom != null ? flowDetail.BillFrom.Code : string.Empty; flowDetailTrack.BillTo = flowDetail.BillTo != null ? flowDetail.BillTo.Code : string.Empty; flowDetailTrack.LocationFrom = flowDetail.LocationFrom != null ? flowDetail.LocationFrom.Code : string.Empty; flowDetailTrack.LocationTo = flowDetail.LocationTo != null ? flowDetail.LocationTo.Code : string.Empty; flowDetailTrack.LastModifyUser = flowDetail.LastModifyUser.Code; flowDetailTrack.LastModifyDate = DateTime.Now; flowDetailTrack.PriceListFrom = flowDetail.PriceListFrom != null ? flowDetail.PriceListFrom.Code : string.Empty; flowDetailTrack.PriceListTo = flowDetail.PriceListTo != null ? flowDetail.PriceListTo.Code : string.Empty; flowDetailTrack.EventCode = eventCode; base.CreateFlowDetailTrack(flowDetailTrack); }
public virtual void DeleteFlowDetailTrack(FlowDetailTrack entity) { Delete(entity); }
public virtual void UpdateFlowDetailTrack(FlowDetailTrack entity) { Update(entity); }
public virtual void CreateFlowDetailTrack(FlowDetailTrack entity) { Create(entity); }
public virtual void DeleteFlowDetailTrack(FlowDetailTrack entity) { entityDao.DeleteFlowDetailTrack(entity); }
public virtual void UpdateFlowDetailTrack(FlowDetailTrack entity) { entityDao.UpdateFlowDetailTrack(entity); }
public virtual void CreateFlowDetailTrack(FlowDetailTrack entity) { entityDao.CreateFlowDetailTrack(entity); }
public virtual void UpdateFlowDetailTrack(FlowDetailTrack entity) { entityDao.UpdateFlowDetailTrack(entity); }
public virtual void DeleteFlowDetailTrack(FlowDetailTrack entity) { entityDao.DeleteFlowDetailTrack(entity); }
public virtual void CreateFlowDetailTrack(FlowDetailTrack entity) { entityDao.CreateFlowDetailTrack(entity); }