Commit c78d0a40 authored by sakhtar's avatar sakhtar

changes done by sakhtar on 28 june for ReqId FI90WIN029


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91309 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e8ad6bc6
......@@ -7215,7 +7215,7 @@ public class FinCommon
else if(purpose.equalsIgnoreCase("ACCDEPR")) // ACCOUNT CODE ACCUMULATED DEPR FOR FIXED ASSET
{
sql = " select acct_code__acc_depr,cctr_code__acc_depr from item_acct_detr where item_code = ?"
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,itemCode);
......@@ -7235,7 +7235,7 @@ public class FinCommon
if (acctCode == null || acctCode.trim().length() == 0)
{
sql = " select acct_code__acc_depr,cctr_code__acc_depr from item_acct_detr where item_code = ? "
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1," ");
......@@ -7255,7 +7255,7 @@ public class FinCommon
if (acctCode == null || acctCode.trim().length() == 0)
{
sql = " select acct_code__acc_depr,cctr_code__acc_depr from item_acct_detr where item_code = ?"
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1," ");
......@@ -7296,7 +7296,7 @@ public class FinCommon
itemSerN = itemSer;
}
sql = " select acct_code__acc_depr,cctr_code__acc_depr from item_acct_detr where item_code = ? "
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1," ");
......@@ -7337,7 +7337,7 @@ public class FinCommon
else if(purpose.equalsIgnoreCase("DEPR")) // ACCOUNT CODE DEPR FOR FIXED ASSET
{
sql = " select acct_code__depr,cctr_code__depr from item_acct_detr where item_code = ?"
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,itemCode);
......@@ -7357,7 +7357,7 @@ public class FinCommon
if (acctCode == null || acctCode.trim().length() == 0)
{
sql = " select acct_code__depr,cctr_code__depr from item_acct_detr where item_code = ? "
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1," ");
......@@ -7377,7 +7377,7 @@ public class FinCommon
if (acctCode == null || acctCode.trim().length() == 0)
{
sql = " select acct_code__depr,cctr_code__depr from item_acct_detr where item_code = ?"
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1," ");
......@@ -7418,7 +7418,7 @@ public class FinCommon
itemSerN = itemSer;
}
sql = " select acct_code__depr,cctr_code__depr from item_acct_detr where item_code = ? "
+ " and item_ser = ? and tran_type = ? ";
+ " and item_ser = ? and grp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1," ");
......
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