Based on the work and patch by Joe Eckard: OFBIZ-1791 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673425 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68