Commit 2f83fa13 authored by pdas's avatar pdas

CHANGES MADE FOR SAVA SUPPORT IN CUSTOMER MASTER IN NOT NULLL CONDITION


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99403 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bbc403f7
...@@ -434,7 +434,7 @@ implements CustomerLocal, CustomerRemote ...@@ -434,7 +434,7 @@ implements CustomerLocal, CustomerRemote
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
if ((custCodeBil != null || custCodeBil.trim().length() > 0) && !("A".equalsIgnoreCase(keyFlag))) if ((custCodeBil != null && custCodeBil.trim().length() > 0) && !("A".equalsIgnoreCase(keyFlag)))
{ {
errCode = "VEBILLTO"; errCode = "VEBILLTO";
errList.add(errCode); errList.add(errCode);
...@@ -1218,7 +1218,7 @@ implements CustomerLocal, CustomerRemote ...@@ -1218,7 +1218,7 @@ implements CustomerLocal, CustomerRemote
adhocReplPerc = this.genericUtility.getColumnValue("adhoc_repl_perc", dom); adhocReplPerc = this.genericUtility.getColumnValue("adhoc_repl_perc", dom);
double adhocvalue = 0.00; double adhocvalue = 0.00;
if (adhocReplPerc != null || adhocReplPerc.trim().length() > 0) if (adhocReplPerc != null && adhocReplPerc.trim().length() > 0)
{ {
adhocvalue = Double.valueOf(adhocReplPerc.trim()); adhocvalue = Double.valueOf(adhocReplPerc.trim());
......
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