Changeset 694


Ignore:
Timestamp:
Oct 18, 2010, 12:13:54 PM (14 years ago)
Author:
gav
Message:

Work on inventory types base data, added "Tool" and "Service", changed "Repairable" to "Rotable".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/CreateDataService.groovy

    r688 r694  
    12141214        def inventoryTypeInstance
    12151215
    1216         inventoryTypeInstance = new InventoryType(name: "Consumable")
     1216        //InventoryType #1
     1217        inventoryTypeInstance = new InventoryType(name: "Consumable",
     1218                                                                                description: "Standard inventory items that are received as new.")
    12171219        saveAndTest(inventoryTypeInstance)
    12181220
    1219         inventoryTypeInstance = new InventoryType(name: "Repairable")
     1221        //InventoryType #2
     1222        inventoryTypeInstance = new InventoryType(name: "Rotable",
     1223                                                                                description: "Repairable inventory items that are to be tracked as rotables.")
     1224        saveAndTest(inventoryTypeInstance)
     1225
     1226        //InventoryType #3
     1227        inventoryTypeInstance = new InventoryType(name: "Service",
     1228                                                                                description: "Provided services from contractors etc.")
     1229        saveAndTest(inventoryTypeInstance)
     1230
     1231        //InventoryType #4
     1232        inventoryTypeInstance = new InventoryType(name: "Tool",
     1233                                                                                description: "Tools that are held as inventory.")
    12201234        saveAndTest(inventoryTypeInstance)
    12211235    }
Note: See TracChangeset for help on using the changeset viewer.