Commit 23c23715 authored by prane's avatar prane

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182986 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e6657a88
...@@ -1313,19 +1313,19 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo ...@@ -1313,19 +1313,19 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
} }
if(taxClass == null || taxClass.trim().length() == 0 || "null".equals(taxClass)) if(taxClass == null || taxClass.trim().length() == 0 || "null".equals(taxClass))
{ {
taxClass = " "; taxClass = "";
} }
if(taxChap == null || taxChap.trim().length() == 0 || "null".equals(taxChap)) if(taxChap == null || taxChap.trim().length() == 0 || "null".equals(taxChap))
{ {
taxChap = " "; taxChap = "";
} }
if(taxEnv == null || taxEnv.trim().length() == 0 || "null".equals(taxEnv)) if(taxEnv == null || taxEnv.trim().length() == 0 || "null".equals(taxEnv))
{ {
taxEnv = " "; taxEnv = "";
} }
if(projCode == null || projCode.trim().length() == 0 || "null".equals(projCode)) if(projCode == null || projCode.trim().length() == 0 || "null".equals(projCode))
{ {
projCode = " "; projCode = "";
} }
vouchType = "E"; vouchType = "E";
...@@ -1469,20 +1469,20 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo ...@@ -1469,20 +1469,20 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
}else }else
{ {
taxDet = 0 ; taxDet = 0 ;
taxClassDet = " "; taxClassDet = "";
taxChapDet = " "; taxChapDet = "";
taxEnvDet = " "; taxEnvDet = "";
} }
if(taxClassDet == null || taxClassDet.trim().length() == 0 || "null".equals(taxClassDet)) if(taxClassDet == null || taxClassDet.trim().length() == 0 || "null".equals(taxClassDet))
{ {
taxClassDet = " "; taxClassDet = "";
} }
if(taxChapDet == null || taxChapDet.trim().length() == 0 || "null".equals(taxChapDet)) if(taxChapDet == null || taxChapDet.trim().length() == 0 || "null".equals(taxChapDet))
{ {
taxChapDet = " "; taxChapDet = "";
}if(taxEnvDet == null || taxEnvDet.trim().length() == 0 || "null".equals(taxEnvDet)) }if(taxEnvDet == null || taxEnvDet.trim().length() == 0 || "null".equals(taxEnvDet))
{ {
taxEnvDet = " "; taxEnvDet = "";
} }
lineNoCount++; lineNoCount++;
xmlBuff.append("<Detail3 dbID=\"\" domID=\""+lineNoCount+"\" objContext=\"3\" objName=\"misc_voucher\">"); xmlBuff.append("<Detail3 dbID=\"\" domID=\""+lineNoCount+"\" objContext=\"3\" objName=\"misc_voucher\">");
...@@ -1874,15 +1874,15 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo ...@@ -1874,15 +1874,15 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
} }
if(taxClassDet == null || taxClassDet.trim().length() == 0 || "null".equals(taxClassDet)) if(taxClassDet == null || taxClassDet.trim().length() == 0 || "null".equals(taxClassDet))
{ {
taxClassDet = " "; taxClassDet = "";
} }
if(taxChapDet == null || taxChapDet.trim().length() == 0 || "null".equals(taxChapDet)) if(taxChapDet == null || taxChapDet.trim().length() == 0 || "null".equals(taxChapDet))
{ {
taxChapDet = " "; taxChapDet = "";
} }
if(taxEnvDet == null || taxEnvDet.trim().length() == 0 || "null".equals(taxEnvDet)) if(taxEnvDet == null || taxEnvDet.trim().length() == 0 || "null".equals(taxEnvDet))
{ {
taxEnvDet = " "; taxEnvDet = "";
} }
if(projCode == null || projCode.trim().length() == 0 || "null".equals(projCode)) if(projCode == null || projCode.trim().length() == 0 || "null".equals(projCode))
{ {
......
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