[113] | 1 | Inventory terms and definitions. |
---|
| 2 | |
---|
| 3 | InventoryItem: |
---|
| 4 | name |
---|
| 5 | - Default = required so nothing. |
---|
| 6 | - Standard length used most places. |
---|
| 7 | |
---|
| 8 | description |
---|
| 9 | - Default = "". |
---|
| 10 | - Longer for additional info only shown in detail views. |
---|
| 11 | |
---|
| 12 | isActive |
---|
| 13 | - Default=true, false if "Trashed". |
---|
| 14 | - Set false by Trash action. |
---|
| 15 | - Set true by Restore action. |
---|
| 16 | - Require true when creating new entries/lists for dropdowns etc. |
---|
| 17 | - Ignore when viewing old associations or creating lists for searching etc. |
---|
| 18 | |
---|
| 19 | isObsolete |
---|
| 20 | - Default=false. |
---|
| 21 | - Is this InventoryItem is now considered obsolete by the manufacturer. |
---|
| 22 | |
---|
| 23 | manufacturersPartNumber |
---|
| 24 | - Default = "". |
---|
| 25 | - The part number that the manufacturer uses to identify this InventoryItem. |
---|
| 26 | |
---|
| 27 | suppliersPartNumber |
---|
| 28 | - Default = "". |
---|
| 29 | - The part number that the supplier uses to identify this InventoryItem. |
---|
| 30 | |
---|
| 31 | enableReorder |
---|
| 32 | - Default=true. |
---|
| 33 | - Should this InventoryItem appear on reorder and auto order lists. |
---|
| 34 | |
---|
| 35 | reorderPoint |
---|
| 36 | - Required so no default. |
---|
| 37 | - Once total InventoryStock equals this point the item will appear on reorder and auto order lists. |
---|
| 38 | |
---|
| 39 | recommendedReorderPoint |
---|
| 40 | - Provided the required information is available a recommendedReorderPoint is calculated. |
---|
| 41 | |
---|
| 42 | averageDeliveryTime |
---|
| 43 | - The average delivery time in days from placement of reorder. |
---|
| 44 | |
---|
| 45 | InventoryGroup |
---|
| 46 | - Default = required so nothing. |
---|
| 47 | - The InventoryGroup this InventoryItem belongs to. |
---|
| 48 | - Initially one of "MIsc", "Mechanical", "Electrical", "Production", "Raw Materials". |
---|
| 49 | - Of Class InventoryGroup. |
---|
| 50 | |
---|
| 51 | InventoryType |
---|
| 52 | - Default = required so nothing. |
---|
| 53 | - Initially one of "Consumable", "Repairable". |
---|
| 54 | - Of Class InventoryType. |
---|
| 55 | |
---|
| 56 | alternateItem |
---|
| 57 | - Default = not always used so nothing. |
---|
| 58 | - Indicates that this InventoryItem has alternatives. |
---|
| 59 | - Of Class Task. |
---|
| 60 | |
---|
| 61 | spareFor |
---|
| 62 | - An InventoryItem may have many assets that it is a spare for, of Class Asset. |
---|
| 63 | |
---|
| 64 | TODO: ?? |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | #Calculated dates |
---|
| 68 | actualStartDate |
---|
| 69 | actualCompletionDate |
---|
| 70 | |
---|
| 71 | TaskType |
---|
| 72 | Unscheduled Breakin - all work that was not scheduled, breakdowns/callouts. |
---|
| 73 | Planned Maintenance - Planned work that is scheduled. |
---|
| 74 | Project - Capital expenditure upgrades or additions. |
---|
| 75 | Turnaround - Shutdowns, rebuilds, non Cap-Ex upgrades or additions. |
---|
| 76 | Production Run - Planned production that is scheduled? |
---|
| 77 | |
---|
| 78 | TaskGroup |
---|
| 79 | .... - custom used to groups tasks? |
---|
| 80 | Engineering Activites |
---|
| 81 | Production Activites |
---|
| 82 | New Projects |
---|
| 83 | .... - specific shut group or turnaround etc. |
---|
| 84 | |
---|
| 85 | #Calculate missed state? |
---|
| 86 | Missed() { |
---|
| 87 | actualCompletionDate > targetCompletionDate |
---|
| 88 | } |
---|
| 89 | |
---|
| 90 | #External required actions. |
---|
| 91 | Show all modifications for a task. |
---|
| 92 | Show all assignedPersons for a task. |
---|
| 93 | Show all entries for a task. |
---|
| 94 | |
---|
| 95 | |
---|