A fetchSpec in EOModeler looks like this:
"((employeeChargeNumbers.employee = $manager) and (employeeChargeNumbers.endDate > $lastWeekEndingDate) and (employeeChargeNumbers.authorizationLevel = 1) and (not (employeeChargeNumbers.employee = $employee)))"

In EOModel it looks like this:
"((employeeChargeNumbers.employee = $manager) AND (employeeChargeNumbers.endDate > $lastWeekEndingDate) AND (employeeChargeNumbers.authorizationLevel = 1) AND (NOT {
    class = EOKeyValueQualifier;
    key = "employeeChargeNumbers.employee";
    selectorName = "isEqualTo:";
    value = {"_key" = employee; class = EOQualifierVariable; };
}))"

The problem, EOModel will not allow editing. The error message is "Error in Predicate Formate Unable to parse the format string ..."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to