Commit bfaf3d78 authored by ssalve's avatar ssalve

Sarita : Done changes on 13 NOV 18

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192876 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3b89c663
......@@ -6244,11 +6244,11 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
sql = "select cr_term from customer where cust_code = ?";
pstmt = conn.prepareStatement(sql);
if("B".equalsIgnoreCase(crTermSource))
if((crTermSource != null) && ("B".equalsIgnoreCase(crTermSource)))
{
pstmt.setString(1, custCodeBill);
}
else if("C".equalsIgnoreCase(crTermSource))
else if((crTermSource != null) && ("C".equalsIgnoreCase(crTermSource)))
{
pstmt.setString(1, lsCustCode);
}
......
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