Commit d5d2562a authored by tmahadi's avatar tmahadi

Changes to get invoice transaction greater than 45 Days


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101677 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e4388634
...@@ -235,7 +235,7 @@ public class PODProcess extends ProcessEJB implements PODProcessLocal, ...@@ -235,7 +235,7 @@ public class PODProcess extends ProcessEJB implements PODProcessLocal,
sql = "select invoice_id from invoice where site_code = ? and confirmed = ?" sql = "select invoice_id from invoice where site_code = ? and confirmed = ?"
+ " and conf_date > '" + " and conf_date > '"
+ disDate + disDate
+ "' and inv_type = ?"; + "' and inv_type = ? and sysdate - conf_date > 45";
// [13-JUL-15] CHANGED BY // [13-JUL-15] CHANGED BY
// SANKET GIRME TO GET THE // SANKET GIRME TO GET THE
...@@ -254,7 +254,7 @@ public class PODProcess extends ProcessEJB implements PODProcessLocal, ...@@ -254,7 +254,7 @@ public class PODProcess extends ProcessEJB implements PODProcessLocal,
sql = "select invoice_id from invoice where cust_code__bil between ? and ? and site_code = ? and confirmed = ?" sql = "select invoice_id from invoice where cust_code__bil between ? and ? and site_code = ? and confirmed = ?"
+ " and conf_date > '" + " and conf_date > '"
+ disDate + disDate
+ "' and inv_type = ?"; + "' and inv_type = ? and sysdate - conf_date > 45";
// [13-JUL-15] CHANGED BY // [13-JUL-15] CHANGED BY
// SANKET GIRME TO GET THE // SANKET GIRME TO GET THE
// INVOICE_DATE GRETTER THAN // INVOICE_DATE GRETTER THAN
......
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