Commit b143bf9a authored by rbhogale's avatar rbhogale

Changed by Rohan on 17-06-13 for addting rate validation if pricelist is not define


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93224 ce508802-f39f-4f6c-b175-0d175dae99d5
parent eaa01565
...@@ -136,6 +136,12 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe ...@@ -136,6 +136,12 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe
{ {
rate = rs1.getDouble("rate"); rate = rs1.getDouble("rate");
} }
//Changed by Rohan on 17-June-13[WM3CSUN002] for setting rate 0 in case of rate not found in pricelist master.start
else
{
rate = 0;
}
//Changed by Rohan on 17-June-13[WM3CSUN002] for setting rate 0 in case of rate not found in pricelist master.end
rs1.close(); rs1 = null; rs1.close(); rs1 = null;
pstmt1.close(); pstmt1 = null; pstmt1.close(); pstmt1 = null;
if ( rate == 0 ) if ( rate == 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