| [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. | 
|---|
| [115] | 21 |                 - Is this InventoryItem now considered obsolete by the manufacturer. | 
|---|
| [113] | 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. | 
|---|
| [115] | 37 |                 - Once total StoredItems equals this point the item will appear on reorder and auto order lists. | 
|---|
| [113] | 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 |  | 
|---|
| [115] | 45 |    inventoryGroup | 
|---|
| [113] | 46 |                 - Default = required so nothing. | 
|---|
 | 47 |                 - The InventoryGroup this InventoryItem belongs to. | 
|---|
| [115] | 48 |                 - Initially one of "Misc", "Mechanical", "Electrical", "Production", "Raw Materials". | 
|---|
| [113] | 49 |                 - Of Class InventoryGroup. | 
|---|
 | 50 |  | 
|---|
| [115] | 51 |     inventoryType | 
|---|
| [113] | 52 |                 - Default = required so nothing. | 
|---|
 | 53 |                 - Initially one of "Consumable", "Repairable". | 
|---|
 | 54 |                 - Of Class InventoryType. | 
|---|
 | 55 |  | 
|---|
| [115] | 56 |     unitOfMeasure | 
|---|
 | 57 |                 - Default = required so nothing. | 
|---|
 | 58 |                 - Initially one of "each", "meter(s)", "box(es)", "litre(s)" | 
|---|
 | 59 |                 - Of Class UnitOfMeasure. | 
|---|
 | 60 |  | 
|---|
| [116] | 61 |     alternateItems | 
|---|
 | 62 |                 - An InventoryItem may have many alternateItems of Class InventoryItem. | 
|---|
| [113] | 63 |                 - Indicates that this InventoryItem has alternatives. | 
|---|
 | 64 |  | 
|---|
 | 65 |     spareFor | 
|---|
 | 66 |                 - An InventoryItem may have many assets that it is a spare for, of Class Asset. | 
|---|
 | 67 |  | 
|---|
| [116] | 68 |     storedItems | 
|---|
| [115] | 69 |                 - An InventoryItem may have many StoredItems of Class StoredItem. | 
|---|
| [113] | 70 |  | 
|---|
| [116] | 71 |     inventoryMovements | 
|---|
| [115] | 72 |                 - An InventoryItem may have many InventoryMovements of Class InventoryMovement. | 
|---|
| [113] | 73 |  | 
|---|
| [116] | 74 |     manufacturers | 
|---|
| [115] | 75 |                 - An InventoryItem may have many Manufacturers of the Class Manufacturer. | 
|---|
| [113] | 76 |  | 
|---|
| [116] | 77 |     suppliers | 
|---|
| [115] | 78 |                - An InventoryItem may have many Suppliers of the Class Supplier. | 
|---|
| [113] | 79 |  | 
|---|
 | 80 |  | 
|---|
 | 81 | #External required actions. | 
|---|
| [115] | 82 | Calculate/Show total storedItems. | 
|---|
| [113] | 83 |  | 
|---|
| [116] | 84 | InventoryMovementType | 
|---|
 | 85 |     Initially one of "Used", "Received", "Repaired" | 
|---|
| [113] | 86 |  | 
|---|
| [116] | 87 |  | 
|---|