Commit d6d98f9e authored by ngadkari's avatar ngadkari

Provision needed to transfer positive payable to negative receivables and...

Provision needed to transfer positive payable to negative receivables and similarly provision needed to transfer positive receivables to negative paya

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184373 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9cb43bd3
...@@ -86,7 +86,7 @@ public class PayRecXfrPrc extends ProcessEJB implements PayRecXfrPrcLocal , PayR ...@@ -86,7 +86,7 @@ public class PayRecXfrPrc extends ProcessEJB implements PayRecXfrPrcLocal , PayR
String sql = ""; String sql = "";
SimpleDateFormat sdf=null; SimpleDateFormat sdf=null;
double netAmt =0 ,totAmt=0 , adjAmt=0; double netAmt =0 ,totAmt=0 , adjAmt=0;
int rows = 0;
try try
{ {
...@@ -255,7 +255,7 @@ public class PayRecXfrPrc extends ProcessEJB implements PayRecXfrPrcLocal , PayR ...@@ -255,7 +255,7 @@ public class PayRecXfrPrc extends ProcessEJB implements PayRecXfrPrcLocal , PayR
retTabSepStrBuff.append("</Detail2>"); retTabSepStrBuff.append("</Detail2>");
retTabSepStrBuff.append("\n"); retTabSepStrBuff.append("\n");
rows ++;
} }
...@@ -267,6 +267,11 @@ public class PayRecXfrPrc extends ProcessEJB implements PayRecXfrPrcLocal , PayR ...@@ -267,6 +267,11 @@ public class PayRecXfrPrc extends ProcessEJB implements PayRecXfrPrcLocal , PayR
retTabSepStrBuff.append("</DocumentRoot>\r\n"); retTabSepStrBuff.append("</DocumentRoot>\r\n");
System.out.println("xml:::::::::::gateData>"+ retTabSepStrBuff); System.out.println("xml:::::::::::gateData>"+ retTabSepStrBuff);
resultString = retTabSepStrBuff.toString(); resultString = retTabSepStrBuff.toString();
if(rows == 0)
{
errString = itmDBAccessEJB.getErrorString("", "VTNOREC1", "","", conn);
return errString;
}
}//try }//try
catch (SQLException e) catch (SQLException e)
......
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