I have the following method:
//selectInterimBillMatters[maBillingInterim]
var month = sysprefs.interimbillmonth
controller.find();
matterstatus = “Open”;
billingperiods = “%” + month + “%”;
aboveminimum = “Yes”
controller.search( ) ;
aboveminimum field is a calculated field:
var answer = “No”
if ( matter_to_timeexpense_unbilled.sumfeeexpense >= matter_to_client.clminbillamt )
{
answer = “Yes”
}
return answer;
The calculation is correct for all records.
When I run the method aboveminimum appears to be ignored - when I debug, the search criteria field is never updated with “Yes”
Am I missing something? can you search for a record based on a calculated field?