Commit 6f930deb authored by kshinde's avatar kshinde

Bug fix

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197919 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0578acb4
...@@ -340,9 +340,16 @@ public class InvoiceCancelEJB extends ActionHandlerEJB implements InvoiceCancelE ...@@ -340,9 +340,16 @@ public class InvoiceCancelEJB extends ActionHandlerEJB implements InvoiceCancelE
pstmt.close();pstmt = null; pstmt.close();pstmt = null;
} }
sql="Update invoice set status = 'X' where invoice_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, invoiceID);
int updStatus=pstmt.executeUpdate();
if(updStatus>0)
{
}
retString = itmDBAccessEJB.getErrorString("","VTINVCNC","","",conn); retString = itmDBAccessEJB.getErrorString("","VTINVCNC","","",conn);
} }
else else
{ {
......
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