Exemple #1
0
 public void ConvertToAction(ref Actions action)
 {
     action.ProjectID        = Project.ID;
     action.ActionCode       = ActionCode;
     action.InternalOwner    = ClientAction ? null : (int?)Owner.InternalTeamMember.ID;
     action.ClientOwner      = ClientAction ? (int?)Owner.ClientTeamMember.ID : null;
     action.LoggedBy         = LoggedBy.ID;
     action.LoggedDate       = LoggedDate;
     action.ShortDescription = ShortDescription;
     action.StatusCode       = ProjectFunctions.GetActionStatusCode(CompletedNumber);
     action.StageID          = (LinkedStage != null) ? (int?)LinkedStage.ID : null;
     action.TargetCompletion = TargetCompletion;
     action.UpdatedDate      = UpdatedDate;
     action.Notes            = Notes;
 }