Commit 6c989594 authored by ssalve's avatar ssalve

Sarita : Done changes to change column name cctr_code_acc to cctr_code_acc_depr on 29 JUN 18

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@187080 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5cfb27d6
...@@ -9330,7 +9330,10 @@ public class FinCommon ...@@ -9330,7 +9330,10 @@ public class FinCommon
pstmt.close(); pstmt = null; pstmt.close(); pstmt = null;
if (acctCode == null || acctCode.trim().length() == 0) if (acctCode == null || acctCode.trim().length() == 0)
{ {
sql = " SELECT ACCT_CODE__ACC_DEPR,CCTR_CODE__ACC FROM ITEMSER WHERE ITEM_SER = '" + itemSerN + "'"; //changes by sarita on 29 JUN 18 to change column name CCTR_CODE__ACC to [CCTR_CODE__ACC_DEPR] == START
//sql = " SELECT ACCT_CODE__ACC_DEPR,CCTR_CODE__ACC FROM ITEMSER WHERE ITEM_SER = '" + itemSerN + "'";
sql = " SELECT ACCT_CODE__ACC_DEPR,CCTR_CODE__ACC_DEPR FROM ITEMSER WHERE ITEM_SER = '" + itemSerN + "'";
//changes by sarita on 29 JUN 18 to change column name CCTR_CODE__ACC to [CCTR_CODE__ACC_DEPR] == END
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
System.out.println("sql ::: " + sql); System.out.println("sql ::: " + sql);
rs = pstmt.executeQuery(); 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