Index: trunk/grails-app/domain/Entry.groovy
===================================================================
--- trunk/grails-app/domain/Entry.groovy	(revision 821)
+++ trunk/grails-app/domain/Entry.groovy	(revision 837)
@@ -3,4 +3,5 @@
     Task task
     EntryType entryType
+    ConditionSeverity highestSeverity
     ProductionReference productionReference
 
@@ -20,4 +21,9 @@
         durationMinute(min:0,max:59)
         productionReference(nullable: true)
+        // Nullable unless PM Entry Type.
+        highestSeverity(nullable:true, validator: {val, obj ->
+            if(val == null && (obj.entryType.id == 6))
+                return 'not.nullable.for.pm.entry'
+        })
     }
 
