Ignore:
Timestamp:
Jun 21, 2010, 12:23:21 PM (15 years ago)
Author:
gav
Message:

Domain change, several changes to InventoryItemPurchase.
Update views and logic to suite.

File:
1 edited

Legend:

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

    r599 r605  
    22
    33    Person enteredBy
     4    Person lastUpdatedBy
    45    InventoryItem inventoryItem
    56    CostCode costCode
    67    InventoryItemPurchaseType inventoryItemPurchaseType
     8    Supplier supplier
    79
    8     Date dateEntered = new Date()
     10    Date date = new Date()
     11    Date lastUpdated // autoTimestamp
     12    Date dateCreated // autoTimestamp
     13
    914    Integer quantity
    1015    String purchaseOrderNumber = ''
     
    1217    Currency orderValueCurrency
    1318    String invoiceNumber = ''
     19    String comment = ""
    1420
    1521    Boolean receivedComplete = false
     
    4147        orderValueAmount(max: new BigDecimal(1000000000000))
    4248        orderValueCurrency()
     49        comment(maxSize:255)
     50        lastUpdatedBy(nullable: true)
    4351    }
    4452
Note: See TracChangeset for help on using the changeset viewer.