Fixes a bug reported by Rong "Error when search Requirements" https://issues.apache.org/jira/browse/OFBIZ-5571

jleroux: I simply replaced bsh by groovy. I also spotted a typo: facilityIdId 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576839 13f79535-47bb-0310-9956-ffa450edef68