Exemplo n.º 1
0
 public ProjectView(PROJECT project,
     User submittedBy,
     User requestedBy,
     IList<RequestView> requestList,
     SupportArea supportArea,
     Program program,
     ValueDriver valueDriver,
     LookupSorted projectStatus,
     LookupActive projectType,
     decimal? internalHoursMultiplier,
     decimal? externalHoursMultiplier,
     User assignedTo)
     : base(project,
             submittedBy,
             requestedBy, 
             supportArea,
             program,
             valueDriver,
             projectStatus,
             projectType,
             internalHoursMultiplier,
             externalHoursMultiplier,
             assignedTo)
 {
     this.StartDate = project.START_DATE;
     this.RequestList = requestList == null ? new List<RequestView>() : requestList;
 }
Exemplo n.º 2
0
 public RequestView(REQUEST request, 
     User submittedBy,
     User requestedBy,
     User assignedTo,
     IList<ElementView> elements,
     LookupActive requestCategory,
     SupportArea supportArea,
     ProjectView project,
     Program program,
     ValueDriver valueDriver,
     LookupSorted requestStatus,
     LookupActive requestType,
     decimal? internalHoursMultiplier,
     decimal? externalHoursMultiplier)
     : base(request, 
             submittedBy, 
             requestedBy,
             supportArea,
             program,
             valueDriver,
             requestStatus,
             requestType,
             internalHoursMultiplier,
             externalHoursMultiplier,
             assignedTo)
 {
     this.RequestCategory = requestCategory;
     this.Parent = project;
     this.ElementList = elements == null ? new List<ElementView>() : elements;
     this.Resolution = request.RESOLUTION;
     this.ITFeatures = request.IT_FEATURE;
     this.TopOffnetAttributeNumber = request.TOP_OFFNET_ATTRIBUTE_NUMBER;
 }
Exemplo n.º 3
0
 public AProjectView(REQUEST request,
     User submittedBy,
     User requestedBy,
     SupportArea supportArea,
     Program program,
     ValueDriver valueDriver,
     LookupSorted requestStatus,
     LookupActive requestType,
     decimal? internalHoursMultipleir,
     decimal? externalHoursMultiplier,
     User assignedTo)
     : base(request.REQUEST_ID, 
             requestStatus, 
             request.SUBMITTED_DATE, 
             request.CLOSED_DATE, 
             request.LAST_UPDATED_DATE, 
             request.REQUEST_SUMMARY)
 {
     createDetails (requestedBy,
                     submittedBy,
                     requestType,
                     supportArea,
                     valueDriver,
                     request.REQUESTED_DUE_DATE,
                     request.ESTIMATED_DUE_DATE,
                     request.HOLD_DATE,
                     request.RESUME_DATE,
                     request.MANAGER_QUEUE_DATE,
                     request.MANAGER_APPROVED_DATE,
                     request.ESTIMATED_HOURS,
                     (decimal)request.VALUE,
                     request.ESTIMATED_COST,
                     request.ACTUAL_COST,
                     request.REQUEST_DESCRIPTION,
                     request.VALUE_REASON,
                     request.MANAGER_NOTE,
                     program,
                     internalHoursMultipleir,
                     externalHoursMultiplier,
                     assignedTo);
 }
Exemplo n.º 4
0
 private void createDetails(User requestedBy,
     User submittedBy,
     LookupActive type,
     SupportArea supportArea,
     ValueDriver valueDriver,
     DateTime requestedDueDate,
     DateTime? estimatedDueDate,
     DateTime? holdDate,
     DateTime? resumeDate,
     DateTime? managerQueueDate,
     DateTime? managerApproveDate,
     decimal? estimatedHours,
     decimal value,
     decimal? estimatedCost,
     decimal? actualCost,
     string description,
     string valueReason,
     string managerNote,
     Program program,
     decimal? internalHoursMultiplier,
     decimal? externalHoursMultiplier,
     User assignedTo)
 {
     this.RequestedBy = requestedBy;
     this.SubmittedBy = submittedBy;
     this.AssignedTo = assignedTo;
     this.CType = type;
     this.SupportArea = supportArea;
     this.Program = program;
     this.ValueDriver = valueDriver;
     this.RequestedDueDate = requestedDueDate;
     this.EstimatedDueDate = estimatedDueDate;
     this.holdDate = holdDate;
     this.resumeDate = resumeDate;
     this.ManagerQueueDate = managerQueueDate;
     this.ManagerApprovedDate = managerApproveDate;
     this.EstimatedHours = estimatedHours;
     this.Value = value;
     this.EstimatedCost = estimatedCost;
     this.ActualCost = actualCost;
     this.Description = description;
     this.ValueReason = valueReason;
     this.ManagerNote = managerNote;
     this.InternalHoursMultiplier = internalHoursMultiplier;
     this.ExternalHoursMultiplier = externalHoursMultiplier;
 }