Ignore:
Timestamp:
Apr 22, 2011, 5:18:04 PM (14 years ago)
Author:
gav
Message:

Add savePurchaseOrderNumber() and savePurchaseOrderNumberRange() to PurchaseOrderService.

File:
1 edited

Legend:

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

    r893 r898  
    1717    def appConfigService
    1818    def searchableService
     19    def purchaseOrderService
    1920    def inventoryItemService
    2021    def assignedGroupService
     
    17401741
    17411742    def createDemoPurchaseOrderNumbers() {
    1742         for (int i=10000; i<10100; i++) {
    1743             saveAndTest(new PurchaseOrderNumber(value:"P${i}"))
    1744         }
     1743        def r = purchaseOrderService.savePurchaseOrderNumberRange("P", 10000, 10100)
    17451744    }
    17461745
Note: See TracChangeset for help on using the changeset viewer.