Exemplo n.º 1
0
 private void CopyActualObjToWrapperObj(OChangeRequest source, ChgReqObjWrapper target)
 {
     target.Id = source.Id;
     if (this.IsEditMode)
     {
         target.ChgReqID           = source.ChgReqID;
         target.RemedyForceId      = source.RemedyForceId;
         target.Title              = source.Title;
         target.Remark             = source.Remark;
         target.Justification      = source.Justification;
         target.Detail             = source.Detail;
         target.Priority           = source.Priority;
         target.RequestDate        = source.RequestDate;
         target.ReceivedDate       = source.ReceivedDate;
         target.TargetCompleteDate = source.TargetCompleteDate;
         target.TargetUatDate      = source.TargetUatDate;
         target.ActualCompleteDate = source.TargetUatDate;
         target.ActualUatDate      = source.ActualUatDate;
         target.CloseDate          = source.CloseDate;
         target.WorkUnit           = source.WorkUnit;
         target.Status             = source.Status;
         target.PclaAppSysId       = source.PclaAppSysId;
         target.ChangeTypeId       = source.ChangeTypeId;
         target.RequestorId        = source.RequestorId;
         target.ITBusnAnalystId    = source.ITBusnAnalystId;
     }
 }
Exemplo n.º 2
0
 public void ClearChangeRequest()
 {
     _actualObj  = null;
     _wrapperObj = null;
 }