Commit 63cd4eef authored by manohar's avatar manohar

reas_code set as default reason code from disparm


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98200 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a5a49545
......@@ -548,7 +548,9 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
retTabSepStrBuff.append("<allocated_qty>").append("<![CDATA[" + df.format(allocatedQty) +"]]>").append("</allocated_qty>");
retTabSepStrBuff.append("<remarks>").append("<![CDATA[" + remarks +"]]>").append("</remarks>");
reasCode = disCommon .getDisparams("999999","DEFAULT_REAS_CODE",conn);
retTabSepStrBuff.append("<reas_code>").append("<![CDATA[" + checkNull(reasCode) +"]]>").append("</reas_code>");
retTabSepStrBuff.append("<loc_code>").append("<![CDATA[" + rs.getString("loc_code") +"]]>").append("</loc_code>");
......@@ -1332,9 +1334,9 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
}
xmlBuff.append("<REF_SER__FOR><![CDATA[" + "W-ORD" +"]]></REF_SER__FOR>");
// 02/07/15 Manoharan
if (reasCode == null || "null".equals(reasCode))
if (reasCode == null || "null".equals(reasCode) || reasCode.trim().length() == 0)
{
reasCode = "";
reasCode = disCommon .getDisparams("999999","DEFAULT_REAS_CODE",connOne);
}
// end 02/07/15 Manoharan
xmlBuff.append("<reas_code><![CDATA[" + reasCode+" ]]></reas_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