Commit bc2b613d authored by wansari's avatar wansari

D16JSUN0002 updated source for rate and rate__clg


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104587 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1daebd39
......@@ -1099,8 +1099,10 @@ public class ScontractGwtIC extends ValidatorEJB implements ScontractGwtICLocal,
int num2 = 0;
int num3 = 0;
int quantity = 0 ;
int rate = 0;
int rateClg = 0;
//int rate = 0;
//int rateClg = 0;
double rate = 0;
double rateClg = 0;
int pos = 0;
int prdCdFr = 0;
int prdCdTo = 0;
......@@ -2540,8 +2542,17 @@ public class ScontractGwtIC extends ValidatorEJB implements ScontractGwtICLocal,
taxChap = genericUtility.getColumnValue("tax_chap", dom);
taxClass = genericUtility.getColumnValue("tax_class", dom);
taxEnv = genericUtility.getColumnValue("tax_env", dom);
rate = Integer.parseInt(genericUtility.getColumnValue("rate", dom));
rateClg = Integer.parseInt(genericUtility.getColumnValue("rate__clg", dom));
//rate = Integer.parseInt(genericUtility.getColumnValue("rate", dom));
//rateClg = Integer.parseInt(genericUtility.getColumnValue("rate__clg", dom));
try
{
rate = Double.parseDouble(genericUtility.getColumnValue("rate", dom));
rateClg = Double.parseDouble(genericUtility.getColumnValue("rate__clg", dom));
}
catch(Exception e)
{
System.out.println("Excpetion for rate and rate__clg="+e.getMessage());
}
unitRate = genericUtility.getColumnValue("unit__rate", dom);
rateNesp = genericUtility.getColumnValue("rate__nesp", dom);
rateStduom = genericUtility.getColumnValue("rate__stduom", dom);
......
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