Commit ce078c02 authored by pshinde's avatar pshinde

changes in Source code of Undo Receipt adjustment


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97947 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a38c4b1f
......@@ -216,37 +216,17 @@ public class UndoRecievableAdjConf extends ActionHandlerEJB implements UndoRecie
{
status="U";
System.out.println("adjAmt1==0*********");
/*//sql1=" update receivables set status ='U' where ref_no= ? and tran_ser=?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, refNo);
pstmt1.setString(2, refSer);
updCnt = pstmt1.executeUpdate();
pstmt1.close();
pstmt1= null;*/
}
else if(adjAmt1==totalAmt1)
{
System.out.println("adjAmt1==totalAmt1*********");
status="A";
/*sql1=" update receivables set status ='A' where ref_no= ? and tran_ser=?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, refNo);
pstmt1.setString(2, refSer);
updCnt = pstmt1.executeUpdate();
pstmt1.close();
pstmt1= null;*/
status="A";
}
else if(adjAmt1!=0 && totalAmt1>adjAmt1)
{
System.out.println("totalAmt1>adjAmt1*********");
status="P";
/*sql1=" update receivables set status ='P' where ref_no= ? and tran_ser=?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, refNo);
pstmt1.setString(2, refSer);
updCnt = pstmt1.executeUpdate();
pstmt1.close();
pstmt1= null;*/
status="P";
}
System.out.println("status=****-========="+status);
......
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