Commit 1356784e authored by ngadkari's avatar ngadkari

sundry_code added in filter condition

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194785 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1ccf4903
...@@ -175,12 +175,14 @@ public class PdcGivenAct extends ActionHandlerEJB implements PdcGivenActLocal,Pd ...@@ -175,12 +175,14 @@ public class PdcGivenAct extends ActionHandlerEJB implements PdcGivenActLocal,Pd
+ " CURR_CODE = ? " + " CURR_CODE = ? "
+ " AND SITE_CODE = ? " + " AND SITE_CODE = ? "
+ " AND SUNDRY_TYPE = ? " + " AND SUNDRY_TYPE = ? "
+ " AND SUNDRY_CODE = ? "
+ " AND TOT_AMT - ADJ_AMT <> 0 " + " AND TOT_AMT - ADJ_AMT <> 0 "
+ " ORDER BY DUE_DATE"; + " ORDER BY DUE_DATE";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, currCode); pstmt.setString(1, currCode);
pstmt.setString(2, siteCode); pstmt.setString(2, siteCode);
pstmt.setString(3, sundryType); pstmt.setString(3, sundryType);
pstmt.setString(4, sundryCode);// ADDED BY NANDKUMAR GADKARI ON 21/12/18
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
while (rs.next()) while (rs.next())
{ {
......
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