Commit 5d2400d0 authored by mpatidar's avatar mpatidar

Change done for Multiple Transaction


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91671 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5b4aa98d
...@@ -144,7 +144,7 @@ public class InvoiceAmdPrs extends ProcessEJB implements InvoiceAmdPrsLocal ,In ...@@ -144,7 +144,7 @@ public class InvoiceAmdPrs extends ProcessEJB implements InvoiceAmdPrsLocal ,In
int count = rs1.getInt(1); int count = rs1.getInt(1);
if(count > 0) if(count > 0)
{ {
if(!(toDate.after(fromDate))) if(fromDate.before(toDate) || fromDate.equals(toDate))
{ {
// Query To get the Data from Process Window // Query To get the Data from Process Window
System.out.println("BEFORE THE sql QUERY"); System.out.println("BEFORE THE sql QUERY");
...@@ -895,7 +895,7 @@ public class InvoiceAmdPrs extends ProcessEJB implements InvoiceAmdPrsLocal ,In ...@@ -895,7 +895,7 @@ public class InvoiceAmdPrs extends ProcessEJB implements InvoiceAmdPrsLocal ,In
} }
if(status.trim().equals("B")||status.trim().equals("D")||status.trim().equals("S")) if(status.trim().equals("B")||status.trim().equals("D")||status.trim().equals("S"))
{ {
if(invoiceId != null && invoiceId.trim().length() > 0 && !(errList.size() > 0)) if(invoiceId != null && invoiceId.trim().length() > 0)
{ {
if(isChanged || !status.equals("S")) if(isChanged || !status.equals("S"))
{ {
......
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