Commit d7ce18e2 authored by dpawar's avatar dpawar

changes in sql where purpose =STKADJ


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94608 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d8267855
......@@ -3348,7 +3348,7 @@ public class FinCommon
else if(purpose.equalsIgnoreCase("STKADJ")){
System.out.println("called fincommon STKADJ........................");
sql = " SELECT ACCT_CODE__INREV,CCTR_CODE__INREV FROM ITEM_ACCT_DETR WHERE ITEM_CODE = '" + itemCode + "' "
+ " AND ITEM_SER = '" + itemSer + "' AND TRAN_TYPE = ' '";
+ " AND ITEM_SER = '" + itemSer + "' AND (TRAN_TYPE = ' ' OR TRAN_TYPE='SRT')";
pstmt = conn.prepareStatement(sql);
System.out.println("sql ::: " + sql);
rs = pstmt.executeQuery();
......
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