| [63] | 1 | Task terms and definitions. |
|---|
| 2 | |
|---|
| 3 | Task: |
|---|
| 4 | description |
|---|
| 5 | - Default = required so nothing. |
|---|
| 6 | - Standard length used most places. |
|---|
| 7 | |
|---|
| 8 | comment |
|---|
| 9 | - Default = "". |
|---|
| 10 | - Longer for additional info only shown in detail views. |
|---|
| 11 | |
|---|
| 12 | targetStartDate |
|---|
| 13 | - Default = now. |
|---|
| 14 | - The date we would like task to start. |
|---|
| 15 | - Set by Schedule action. |
|---|
| 16 | - Set to now for Unscheduled Breakin. |
|---|
| 17 | |
|---|
| 18 | targetCompletionDate |
|---|
| 19 | - Default = now. |
|---|
| 20 | - The date we would like task to be completed by. |
|---|
| 21 | - Set by Schedule action. |
|---|
| 22 | - Set to now for Unscheduled Breakin. |
|---|
| 23 | |
|---|
| 24 | isScheduled |
|---|
| 25 | - Default = false. |
|---|
| 26 | - Set true by Schedule action. |
|---|
| 27 | |
|---|
| 28 | isApproved |
|---|
| 29 | - Default=false, true when approved. |
|---|
| 30 | - Set true by Approve action |
|---|
| 31 | - Set false by Renege action. |
|---|
| 32 | |
|---|
| 33 | isActive |
|---|
| 34 | - Default=true, false if "Deleted". |
|---|
| 35 | - Set false by Delete action. |
|---|
| 36 | - Set true by Undelete action. |
|---|
| 37 | - Require true when creating new entries/lists for dropdowns etc. |
|---|
| 38 | - Ignore when viewing old associations or creating lists for searching etc. |
|---|
| 39 | |
|---|
| [68] | 40 | taskGroup |
|---|
| [76] | 41 | - Default = required so nothing. |
|---|
| [68] | 42 | - The taskGroup this task belongs to. |
|---|
| 43 | - Of Class TaskGroup. |
|---|
| 44 | |
|---|
| 45 | taskStatus |
|---|
| [76] | 46 | - Default = "Not Started". |
|---|
| [68] | 47 | - The current status of this task. |
|---|
| 48 | - Of Class TaskStatus. |
|---|
| [76] | 49 | - One of "Not Started", "In Progress" or "Completed". |
|---|
| [68] | 50 | - Automagically set to "In Progress" on first "Work Done" entry. |
|---|
| 51 | - Automagically set to "Completed" by action button. |
|---|
| 52 | |
|---|
| [76] | 53 | taskPriority |
|---|
| 54 | - Default = Normal. |
|---|
| 55 | - Of Class TaskPriority. |
|---|
| 56 | - One of Low, Normal, High, Immediate. |
|---|
| 57 | - Automagically set to High if Unscheduled Breakin? |
|---|
| 58 | - Automagically set to ? |
|---|
| 59 | |
|---|
| 60 | taskType |
|---|
| 61 | - Default = required so nothing. |
|---|
| 62 | - Of Class TaskType. |
|---|
| 63 | - Automagically set to ? |
|---|
| 64 | |
|---|
| 65 | parentTask |
|---|
| 66 | - Default = not always used so nothing. |
|---|
| 67 | - Indicates that this is a subTask and links back to the parentTask. |
|---|
| 68 | - Of Class Task. |
|---|
| 69 | |
|---|
| [68] | 70 | leadPerson |
|---|
| 71 | - Default = current person. |
|---|
| [76] | 72 | - The primay contact person. |
|---|
| [68] | 73 | - Of Class Person. |
|---|
| 74 | |
|---|
| [63] | 75 | entries |
|---|
| 76 | - A task may have many entries of Class Entry. |
|---|
| 77 | - Persons other than the leadPerson or assingedPersons may create entries. |
|---|
| 78 | |
|---|
| 79 | modifications |
|---|
| 80 | - A task may have many modifications of Class Modification. |
|---|
| 81 | |
|---|
| [76] | 82 | assignedPersons |
|---|
| 83 | - A task may have many assingedPersons of Class Person. |
|---|
| 84 | - estimatedHour and estimatedMinute. |
|---|
| 85 | |
|---|
| 86 | subTasks |
|---|
| [63] | 87 | - A task may have many subTasks of Class Task. |
|---|
| [76] | 88 | - The parentTask value must be set in the subTask. |
|---|
| [63] | 89 | |
|---|
| 90 | |
|---|
| [68] | 91 | #Calculated dates |
|---|
| 92 | actualStartDate |
|---|
| 93 | actualCompletionDate |
|---|
| 94 | |
|---|
| [63] | 95 | TaskType |
|---|
| 96 | Unscheduled Breakin - all work that was not scheduled, breakdowns/callouts. |
|---|
| 97 | Planned Maintenance - Planned work that is scheduled. |
|---|
| 98 | Project - Capital expenditure upgrades or additions. |
|---|
| 99 | Turnaround - Shutdowns, rebuilds, non Cap-Ex upgrades or additions. |
|---|
| [76] | 100 | Production Run - Planned production that is scheduled? |
|---|
| [63] | 101 | |
|---|
| 102 | TaskGroup |
|---|
| 103 | .... - custom used to groups tasks? |
|---|
| [76] | 104 | Engineering Activites |
|---|
| 105 | Production Activites |
|---|
| 106 | New Projects |
|---|
| 107 | .... - specific shut group or turnaround etc. |
|---|
| [63] | 108 | |
|---|
| 109 | #Calculate missed state? |
|---|
| 110 | Missed() { |
|---|
| 111 | actualCompletionDate > targetCompletionDate |
|---|
| 112 | } |
|---|
| 113 | |
|---|
| 114 | #External required actions. |
|---|
| 115 | Show all modifications for a task. |
|---|
| 116 | Show all assignedPersons for a task. |
|---|
| 117 | Show all entries for a task. |
|---|
| 118 | |
|---|
| 119 | |
|---|