FLOCK AND HERD MANAGEMENT BUSINESS RULES GEO

From NAITS
Jump to navigation Jump to search
# MODULE NAME OBJECT ACTION VALIDATION NAME VALIDATION DESCRIPTION VALIDATION CATEGORY METHOD NAME CLASS NAME DUPLICATED IN CLASS
1 FLOCK AND HERD MANAGEMENT FLOCK REGISTRATION/EDIT Flock has minimum number of fields filled Checks if flock has minimum fields filled Other checkIfDbDataObjectHasMinimumNumOfFilledFields ValidationChecks Yes
2 FLOCK AND HERD MANAGEMENT FLOCK REGISTRATION/EDIT Flock has registration date in future Checks if flock has registration date after current date Dates checkIfDateIsInFuture ValidationChecks Yes
3 FLOCK AND HERD MANAGEMENT FLOCK REGISTRATION/EDIT Flock must have animal type Checks if flock has animal type Mandatory fields beforeSave OnSaveValidations Yes
4 FLOCK AND HERD MANAGEMENT FLOCK REGISTRATION/EDIT Number of ewes bigger than adult females Checks if number of ewes is bigger than number of adult females Other validateFlockEwesNumber ValidationChecks No
5 FLOCK AND HERD MANAGEMENT FLOCK REGISTRATION/EDIT Number of total animals in flock Number of total animals in flock can’t be 0/null/empty Other beforeSave OnSaveValidations Yes
6 FLOCK AND HERD MANAGEMENT FLOCK REGISTRATION/EDIT Number of adult males or females in flock Number of males or females can’t be 0 Other beforeSave OnSaveValidations Yes