Commit 16f45b56 authored by prane's avatar prane

for sapce inserted in indent number in generating quotation ID-S16KBAS002

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@171941 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 15131775
...@@ -200,7 +200,7 @@ public class PorderAct extends ActionHandlerEJB implements PorderActLocal, Porde ...@@ -200,7 +200,7 @@ public class PorderAct extends ActionHandlerEJB implements PorderActLocal, Porde
if(indNo!=null && indNo.trim().length()>0) if(indNo!=null && indNo.trim().length()>0)
{ {
valueXmlString.append("<ind_no>").append("<![CDATA[" + indNo + "]]>").append("</ind_no>\r\n"); valueXmlString.append("<ind_no>").append("<![CDATA[" + indNo.trim() + "]]>").append("</ind_no>\r\n");
} }
else else
{ {
...@@ -367,13 +367,25 @@ public class PorderAct extends ActionHandlerEJB implements PorderActLocal, Porde ...@@ -367,13 +367,25 @@ public class PorderAct extends ActionHandlerEJB implements PorderActLocal, Porde
spfInstr = new ibase.utility.E12GenericUtility().getColumnValueFromNode("specific_instr",currentDetail); spfInstr = new ibase.utility.E12GenericUtility().getColumnValueFromNode("specific_instr",currentDetail);
remarks = new ibase.utility.E12GenericUtility().getColumnValueFromNode("remarks",currentDetail); remarks = new ibase.utility.E12GenericUtility().getColumnValueFromNode("remarks",currentDetail);
// added by manazir on 2/11/2009 if in indent_no column is set to whitespace // added by manazir on 2/11/2009 if in indent_no column is set to whitespace
char d= indNo.charAt(0); /*char d= indNo.charAt(0);
if(Character.isWhitespace(d)) if(Character.isWhitespace(d))
{
indNo = "";
}*/
//Pavan on 13-oct-17
if(indNo!=null && indNo.trim().length()>0)
{
indNo = indNo.trim();
System.out.println("####indNo ::["+indNo+"]");
}
else
{ {
indNo = ""; indNo = "";
} }
// end of code // end of code
valueXmlString.append("<Detail>"); valueXmlString.append("<Detail>");
valueXmlString.append("<ind_no isSrvCallOnChg='0'>").append((indNo == null)? "":indNo).append("</ind_no>"); valueXmlString.append("<ind_no isSrvCallOnChg='0'>").append((indNo == null)? "":indNo).append("</ind_no>");
valueXmlString.append("<item_code isSrvCallOnChg='1'>").append(itemCode).append("</item_code>"); valueXmlString.append("<item_code isSrvCallOnChg='1'>").append(itemCode).append("</item_code>");
......
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