Changeset 177 for trunk/grails-app/services
- Timestamp:
- Nov 2, 2009, 1:17:03 PM (15 years ago)
- Location:
- trunk/grails-app/services
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/CreateDataService.groovy
r175 r177 708 708 709 709 // InventoryMovementType #1 710 inventoryMovementTypeInstance = new InventoryMovementType(name: "Used") 710 inventoryMovementTypeInstance = new InventoryMovementType(name: "Used", 711 incrementsInventory: false) 711 712 saveAndTest(inventoryMovementTypeInstance) 712 713 713 714 // InventoryMovementType #2 714 inventoryMovementTypeInstance = new InventoryMovementType(name: "Repaired") 715 inventoryMovementTypeInstance = new InventoryMovementType(name: "Repaired", 716 incrementsInventory: true) 715 717 saveAndTest(inventoryMovementTypeInstance) 716 718 717 719 // InventoryMovementType #3 718 inventoryMovementTypeInstance = new InventoryMovementType(name: "Purchased") 720 inventoryMovementTypeInstance = new InventoryMovementType(name: "Purchase Received", 721 incrementsInventory: true) 722 saveAndTest(inventoryMovementTypeInstance) 723 724 // InventoryMovementType #4 725 inventoryMovementTypeInstance = new InventoryMovementType(name: "Correction Increase", 726 incrementsInventory: true) 727 saveAndTest(inventoryMovementTypeInstance) 728 729 // InventoryMovementType #5 730 inventoryMovementTypeInstance = new InventoryMovementType(name: "Correction Decrease", 731 incrementsInventory: false) 719 732 saveAndTest(inventoryMovementTypeInstance) 720 733 }
Note: See TracChangeset
for help on using the changeset viewer.