Commit 9374cf7c authored by pdas's avatar pdas

Changes in Calculate Commision for checking expAmt!=0 condition


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97794 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 16d63b4e
...@@ -2989,6 +2989,8 @@ public class CalculateCommission ...@@ -2989,6 +2989,8 @@ public class CalculateCommission
drcrAmt = drcrAmt - finChg; drcrAmt = drcrAmt - finChg;
} }
if (xmlBuff != null ) if (xmlBuff != null )
{
if(expAmt!=0) //Added By Priyanka Das
{ {
lineNo++; lineNo++;
xmlBuff.append("<Detail2 dbID='' domID=\"" + lineNo + "\" objName=\"drcrinv\" objContext=\"2\">"); xmlBuff.append("<Detail2 dbID='' domID=\"" + lineNo + "\" objName=\"drcrinv\" objContext=\"2\">");
...@@ -3014,6 +3016,7 @@ public class CalculateCommission ...@@ -3014,6 +3016,7 @@ public class CalculateCommission
} }
} }
} }
}
System.out.println("End loop Size of crnList ["+crnList.size() + "]"); System.out.println("End loop Size of crnList ["+crnList.size() + "]");
if( xmlBuff != null && (xmlBuff.toString()).length() > 0 ) if( xmlBuff != null && (xmlBuff.toString()).length() > 0 )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment