Commit b0c85747 authored by msingh's avatar msingh

Changes in DDPorderWizPosEJB.java for tax environment


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100089 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 93f7308a
......@@ -382,9 +382,9 @@ public class DDPorderWizPosEJB extends ValidatorEJB implements DDPorderWizPosEJB
priceList = checkNull(rs.getString( "PRICE_LIST" ));
pricelistClg= checkNull(rs.getString( "PRICE_LIST__CLG" ));
taxEnv= checkNull(rs.getString("TAX_ENV"));
/*taxEnv= checkNull(rs.getString("TAX_ENV"));
taxClass= checkNull(rs.getString("TAX_CLASS"));
taxChap= checkNull(rs.getString("TAX_CHAP"));
taxChap= checkNull(rs.getString("TAX_CHAP"));*/
}
rs.close();rs = null;
pstmt.close();pstmt = null;
......@@ -504,7 +504,8 @@ public class DDPorderWizPosEJB extends ValidatorEJB implements DDPorderWizPosEJB
{
continue;
}
System.out.println("childNodeListlen ======childNode===========" +childNode.getNodeName());
System.out.println("childNodeListlen ======childNode===========[" +childNode.getNodeName()+"]");
if(childNode != null && "item_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
itemCode = childNode.getFirstChild().getNodeValue();
......@@ -563,7 +564,24 @@ public class DDPorderWizPosEJB extends ValidatorEJB implements DDPorderWizPosEJB
{
cctrCodeCr = childNode.getFirstChild().getNodeValue();
}
//Changed by Manish on 02/02/16 for getting proper tax[start]
else if(childNode != null && "tax_env".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
taxEnv = childNode.getFirstChild().getNodeValue();
System.out.println("taxEnv============["+taxEnv+"]");
}
else if(childNode != null && "tax_class".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
taxClass = childNode.getFirstChild().getNodeValue();
System.out.println("taxClass============["+taxClass+"]");
}
else if(childNode != null && "tax_chap".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
taxChap = childNode.getFirstChild().getNodeValue();
System.out.println("taxChap============["+taxChap+"]");
}
//Changed by Manish on 02/02/16 for getting proper tax[end]
}
domID++;
......
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