Commit 7e7c065b authored by msharma's avatar msharma

reason code trail space corrected


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98479 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7b2284ed
...@@ -814,6 +814,7 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr ...@@ -814,6 +814,7 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
if(childNode.getFirstChild() != null) if(childNode.getFirstChild() != null)
{ {
reasCode = childNode.getFirstChild().getNodeValue(); reasCode = childNode.getFirstChild().getNodeValue();
reasCode=reasCode.trim();
} }
} }
...@@ -1348,7 +1349,8 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr ...@@ -1348,7 +1349,8 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
reasCode = ""; reasCode = "";
} }
// end 02/07/15 Manoharan // end 02/07/15 Manoharan
xmlBuff.append("<reas_code><![CDATA[" + reasCode+" ]]></reas_code>"); System.out.println("reasCode["+reasCode+"]");
xmlBuff.append("<reas_code><![CDATA["+reasCode.trim()+"]]></reas_code>");
xmlBuff.append("<truck_no><![CDATA[ ]]></truck_no>"); xmlBuff.append("<truck_no><![CDATA[ ]]></truck_no>");
......
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