public boolean validateMutationFee(String assessmentNo,BigDecimal paymentAmount){
  boolean validFee=true;
  PropertyMutation propertyMutation=getLatestPropertyMutationByAssesmentNo(assessmentNo);
  if (propertyMutation != null) {
    if (paymentAmount.compareTo(propertyMutation.getMutationFee()) > 0) {
      validFee=false;
    }
  }
 else {
    validFee=false;
  }
  return validFee;
}

public boolean validateMutationFee ( String assessmentNo , BigDecimal paymentAmount ) { boolean validFee = true ; PropertyMutation propertyMutation = getLatestPropertyMutationByAssesmentNo ( assessmentNo ) ; if ( propertyMutation != null ) { if ( paymentAmount . compareTo ( propertyMutation . getMutationFee ( ) ) > 0 ) { validFee = false ; } } else { validFee = false ; } return validFee ; }
validate the payment amount entered for mutation
