Ignore:
Timestamp:
Apr 21, 2011, 3:29:47 PM (14 years ago)
Author:
gav
Message:

Purchase Order first draft as per ticket #30, by John Yesberg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders/grails-app/services/CreateDataService.groovy

    r848 r891  
    8989        createBaseEntryTypes()
    9090
     91
    9192        // Record that data has been created.
    9293        appConfigService.set("baseDataCreated")
     
    144145//         createDemoMaintenanceActions()
    145146        createDemoTaskRecurringSchedules()
     147
     148        // PurchaseOrderNumbers
     149        createDemoPurchaseOrderNumbers()
    146150
    147151        // Record that data has been created.
     
    17361740    }
    17371741
     1742    def createDemoPurchaseOrderNumbers() {
     1743        for (int i=10000; i<10100; i++) {
     1744            saveAndTest(new PurchaseOrderNumber(value:"P${i}"))
     1745        }
     1746    }
     1747
    17381748    /**
    17391749    * SearchableIndex and mirroring is disabled at startup.
Note: See TracChangeset for help on using the changeset viewer.