Commit 7a26fdcc authored by manohar's avatar manohar

casting of integer to double corrected


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96676 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ef141b74
......@@ -430,7 +430,7 @@ public class CalculateCommission
double crntExchrate = 0.0;
double exchRateSp = 0.0;
double rcpExchRateTot = 0.0;
double lineNoInv = 0.0;
int lineNoInv = 0;
double invLineNo = 0.0;
double invNetamt = 0.0 ;
double amount = 0.0;
......@@ -878,7 +878,7 @@ public class CalculateCommission
}
else
{
lineNoInv = (Double) commMap.get("line_no__inv");
lineNoInv = (Integer) commMap.get("line_no__inv");
itemCode = (String) commMap.get("item_code");
}
salesPers = (String) commMap.get("sales_pers");
......
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