Thanks to Alok Agnihotri for your patch .
I initialized the "amountFromOrder" to "0".
Also we are thankful to Pranay Pandey,Mridul Pathak,Pankaj Savita,Vikas Mayur & others for helping Alok for finishing this work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604522 13f79535-47bb-0310-9956-ffa450edef68