Commit 533fdace authored by mnair's avatar mnair

Updated changes in PostOrdInvoiceGen component and DespatIC component

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@181565 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 13458426
...@@ -4659,7 +4659,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -4659,7 +4659,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
//Changes by mayur on 06-03-18-------[start] //Changes by mayur on 06-03-18-------[start]
if("null".equalsIgnoreCase(("tax_class")) && taxClass == null || taxClass.trim().length()==0) if("null".equalsIgnoreCase(("tax_class")) || taxClass == null || taxClass.trim().length()==0)
{ {
valueXmlString.append("<tax_class>").append("<![CDATA[ ]]>").append("</tax_class>"); valueXmlString.append("<tax_class>").append("<![CDATA[ ]]>").append("</tax_class>");
...@@ -4670,7 +4670,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -4670,7 +4670,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
} }
if("null".equalsIgnoreCase(("tax_chap")) && taxChap == null || taxChap.trim().length()==0) if("null".equalsIgnoreCase(("tax_chap")) || taxChap == null || taxChap.trim().length()==0)
{ {
valueXmlString.append("<tax_chap>").append("<![CDATA[ ]]>").append("</tax_chap>"); valueXmlString.append("<tax_chap>").append("<![CDATA[ ]]>").append("</tax_chap>");
...@@ -4681,7 +4681,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -4681,7 +4681,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
} }
if("null".equalsIgnoreCase(("tax_env")) && taxEnv == null || taxEnv.trim().length()==0) if("null".equalsIgnoreCase(("tax_env")) || taxEnv == null || taxEnv.trim().length()==0)
{ {
valueXmlString.append("<tax_env>").append("<![CDATA[ ]]>").append("</tax_env>"); valueXmlString.append("<tax_env>").append("<![CDATA[ ]]>").append("</tax_env>");
......
...@@ -1886,7 +1886,7 @@ public class PostOrdInvoiceGen extends ActionHandlerEJB ...@@ -1886,7 +1886,7 @@ public class PostOrdInvoiceGen extends ActionHandlerEJB
//invTraceMap.put("tax_env", tax_env); //invTraceMap.put("tax_env", tax_env);
//Commented by mayur on 05-03-18-------start //Commented by mayur on 05-03-18-------start
if("null".equalsIgnoreCase(("tax_class")) && tax_class == null || tax_class.trim().length()==0) if("null".equalsIgnoreCase(("tax_class")) || tax_class == null || tax_class.trim().length()==0)
{ {
invTraceMap.put("tax_class"," "); invTraceMap.put("tax_class"," ");
...@@ -1898,7 +1898,7 @@ public class PostOrdInvoiceGen extends ActionHandlerEJB ...@@ -1898,7 +1898,7 @@ public class PostOrdInvoiceGen extends ActionHandlerEJB
} }
if("null".equalsIgnoreCase(("tax_chap")) && tax_chap == null || tax_chap.trim().length()==0) if("null".equalsIgnoreCase(("tax_chap")) || tax_chap == null || tax_chap.trim().length()==0)
{ {
invTraceMap.put("tax_chap"," "); invTraceMap.put("tax_chap"," ");
......
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