Better to reuse what I introduced in r1547719, did not read my comment enough, amount can be null...

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