Commit 44aecbbf authored by prane's avatar prane

Added checkNull() to handle NPE while order_type from pricelist.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204635 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f44e2c21
......@@ -5070,7 +5070,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
pstmt.setString(1, lsPlistDisc);
rs = pstmt.executeQuery();
if (rs.next()) {
lsPlistOrderType = rs.getString("order_type");
lsPlistOrderType = checkNull(rs.getString("order_type"));
System.out.println("lsPlistOrderType["+lsPlistOrderType+"]");
}
rs.close();
rs = null;
......
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