Ignore:
Timestamp:
Nov 2, 2009, 1:17:03 PM (15 years ago)
Author:
gav
Message:

Inventory movement quantity adjustments now done in a service.
InventoryMovementType now has an incrementsInventory flag, so not dependant on the text name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/InventoryMovementType.groovy

    r116 r177  
    22    String name
    33    String description = ""
     4    boolean incrementsInventory = false
    45    boolean isActive = true
    56
    67    static hasMany = [inventoryMovements: InventoryMovement]
    7    
     8
    89    static contstraints = {
    910        name(maxSize:50,unique:true,blank:false)
    1011        description(maxSize:100)
     12        incrementsInventory()
     13        isActive()
    1114    }
    1215
Note: See TracChangeset for help on using the changeset viewer.