Commit 84f81d51 authored by agaikwad's avatar agaikwad

bug fix


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105399 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bfa93d0b
......@@ -2731,11 +2731,11 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
lbOrdFlag=true;
}
}
System.out.println("lbOrdFlag["+lbOrdFlag+"]");
if(errCode==null || errCode.trim().length()==0)
{
nature=checkNull(genericUtility.getColumnValue("nature", dom));
if("F".equalsIgnoreCase(nature) || "B".equalsIgnoreCase(nature) || "S".equalsIgnoreCase(nature) && (!lbOrdFlag))
if(("F".equalsIgnoreCase(nature) || "B".equalsIgnoreCase(nature) || "S".equalsIgnoreCase(nature) )&& (!lbOrdFlag))
{
schemeCode=getSchemeCode(dom, dom1, dom2, "quantity", conn);
......@@ -11179,14 +11179,14 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
valueXmlString.append("<exch_rate__comm_2 protect = \"1\">").append("<![CDATA[]]>").append("</exch_rate__comm_2>");
setNodeValue( dom, "exch_rate__comm_2", getAbsString( "" ) );
reStr =itemChangedDet(dom, dom1, dom2, objContext, "emp_code__ord", editFlag, xtraParams);
reStr =itemChangedHdr(dom, dom1, dom2, objContext, "emp_code__ord", editFlag, xtraParams);
pos = reStr.indexOf("<Detail1>");
reStr = reStr.substring(pos + 9);
pos = reStr.indexOf("</Detail1>");
reStr = reStr.substring(0,pos);
valueXmlString.append(reStr);
reStr =itemChangedDet(dom, dom1, dom2, objContext, "emp_code__ord1", editFlag, xtraParams);
reStr =itemChangedHdr(dom, dom1, dom2, objContext, "emp_code__ord1", editFlag, xtraParams);
pos = reStr.indexOf("<Detail1>");
reStr = reStr.substring(pos + 9);
pos = reStr.indexOf("</Detail1>");
......
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