A patch from Jeremy Olmstead for "Unable to search accounting transaction entries by productId " https://issues.apache.org/jira/browse/OFBIZ-5160

Complete r1460426  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1460429 13f79535-47bb-0310-9956-ffa450edef68