Commit 805710b0 authored by prane's avatar prane

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177005 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 20b2f5c7
......@@ -128,6 +128,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
String userId = "";
String sql = "";
String errorType = "";
String schAttr = "";
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
......@@ -2103,8 +2104,10 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
}
if(errCode==null || errCode.trim().length()==0)
{
schAttr = checkNull(genericUtility.getColumnValue("sch_attr", dom));
System.out.println("schAttr::["+schAttr+"]");
nature=checkNull(genericUtility.getColumnValue("nature", dom));
if(("F".equalsIgnoreCase(nature) || "B".equalsIgnoreCase(nature) || "S".equalsIgnoreCase(nature)) && !lbOrdFlg)
if(("F".equalsIgnoreCase(nature) || "B".equalsIgnoreCase(nature) || "S".equalsIgnoreCase(nature)) && !lbOrdFlg && (!"Y".equalsIgnoreCase(schAttr)))
{
sql = "select item_code__parent from item where item_code = ?";
pstmt = conn.prepareStatement(sql);
......
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