Commit a648c1d9 authored by dpawar's avatar dpawar

detail2xml make blank


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94604 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 64fd7e17
...@@ -254,7 +254,7 @@ public String process(Document dom, Document dom2, String windowName, String xtr ...@@ -254,7 +254,7 @@ public String process(Document dom, Document dom2, String windowName, String xtr
if(siteCode.length() > 0 && itemSerFrm.length() > 0 && itemSerTo.length() > 0 && priceList.length() > 0){ if(siteCode.length() > 0 && itemSerFrm.length() > 0 && itemSerTo.length() > 0 && priceList.length() > 0){
if(itemCodeFrm.length() > 0 && itemCodeTo.length() > 0){ if(itemCodeFrm.length() > 0 && itemCodeTo.length() > 0){
System.out.println("in actual logic--------------"); System.out.println("in actualLogic--------------");
if("00".equalsIgnoreCase(itemCodeFrm) && "ZZ".equalsIgnoreCase(itemCodeTo)) if("00".equalsIgnoreCase(itemCodeFrm) && "ZZ".equalsIgnoreCase(itemCodeTo))
{ {
sql="select item_ser from stock where site_code = ? and item_ser between ? and ? "; sql="select item_ser from stock where site_code = ? and item_ser between ? and ? ";
...@@ -301,7 +301,7 @@ public String process(Document dom, Document dom2, String windowName, String xtr ...@@ -301,7 +301,7 @@ public String process(Document dom, Document dom2, String windowName, String xtr
return errorString; return errorString;
} }
//recordProcess //recordProcess
System.out.println("size of itemSer Count---->>["+itemSerSet.size()+"]"); System.out.println("size of itemSerCount---->>["+itemSerSet.size()+"]");
if(rs!=null){ if(rs!=null){
rs.close(); rs.close();
rs=null; rs=null;
...@@ -311,8 +311,9 @@ public String process(Document dom, Document dom2, String windowName, String xtr ...@@ -311,8 +311,9 @@ public String process(Document dom, Document dom2, String windowName, String xtr
pstmt=null; pstmt=null;
} }
for(String unqItemSer : itemSerSet){ for(String unqItemSer : itemSerSet){
detail2Xml="";
recordProcess++; recordProcess++;
System.out.println("recordProcess---------->>["+recordProcess+"]"); System.out.println("recordProcess1---------->>["+recordProcess+"]");
lineNo=0; lineNo=0;
if("00".equalsIgnoreCase(itemCodeFrm) && "ZZ".equalsIgnoreCase(itemCodeTo)) if("00".equalsIgnoreCase(itemCodeFrm) && "ZZ".equalsIgnoreCase(itemCodeTo))
{ {
...@@ -356,7 +357,6 @@ public String process(Document dom, Document dom2, String windowName, String xtr ...@@ -356,7 +357,6 @@ public String process(Document dom, Document dom2, String windowName, String xtr
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
System.out.println("detail2Xml String---->>["+detail2Xml+"]");
errorString =saveRecordStockRevAdj(conn,headerXml,detail2Xml,siteCode); errorString =saveRecordStockRevAdj(conn,headerXml,detail2Xml,siteCode);
System.out.println("After Saving record errorString--->>["+errorString+"]"); System.out.println("After Saving record errorString--->>["+errorString+"]");
......
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