Ignore:
Timestamp:
Jun 28, 2010, 1:01:30 AM (14 years ago)
Author:
gav
Message:

Domain change, rename InventoryItem property enableReorder to enableReorderListing as per ticket #75.

Location:
trunk/grails-app/services
Files:
2 edited

Legend:

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

    r462 r616  
    5656            def inventoryProperties = ["name", "description", "comment", "unitsInStock", "reorderPoint", "recommendedReorderPoint",
    5757                                                        "unitOfMeasure", "estimatedUnitPriceAmount", "estimatedUnitPriceCurrency",
    58                                                         "enableReorder", "inventoryLocation", "inventoryStore", "site",
     58                                                        "enableReorderListing", "inventoryLocation", "inventoryStore", "site",
    5959                                                        "inventoryGroup", "inventoryType", "averageDeliveryTime", "averageDeliveryPeriod",
    6060                                                        "suppliersPartNumber", "preferredSupplier", "alternateSuppliers",
     
    578578            row.add(inventoryItem.estimatedUnitPriceAmount)
    579579            row.add(inventoryItem.estimatedUnitPriceCurrency)
    580             row.add(inventoryItem.enableReorder)
     580            row.add(inventoryItem.enableReorderListing)
    581581            row.add(inventoryItem.inventoryLocation)
    582582            row.add(inventoryItem.inventoryLocation.inventoryStore)
  • trunk/grails-app/services/InventoryItemSearchService.groovy

    r566 r616  
    100100                eq("isActive", true)
    101101                if(onlyReorderEnabled)
    102                     eq("enableReorder", true)
     102                    eq("enableReorderListing", true)
    103103                leProperty("unitsInStock", "reorderPoint")
    104104            } // createCriteria
Note: See TracChangeset for help on using the changeset viewer.