- Timestamp:
- Oct 18, 2010, 12:13:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/CreateDataService.groovy
r688 r694 1214 1214 def inventoryTypeInstance 1215 1215 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.") 1217 1219 saveAndTest(inventoryTypeInstance) 1218 1220 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.") 1220 1234 saveAndTest(inventoryTypeInstance) 1221 1235 }
Note: See TracChangeset
for help on using the changeset viewer.