Commit bf112452 authored by ngadkari's avatar ngadkari

discount amount deducted from total amount

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202668 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dc5cbdcc
......@@ -19,7 +19,7 @@ public class VoucherPostSave extends ValidatorEJB implements VoucherPostSaveLoca
DistCommon distCommon = new DistCommon();
public String postSave()throws RemoteException,ITMException
{
{
return "";
}
......@@ -124,7 +124,7 @@ public class VoucherPostSave extends ValidatorEJB implements VoucherPostSaveLoca
// End Of advance Screen cross Update
//Receipt Screen Cross Update
sql="select line_no, coalesce(vouch_qty,0) * coalesce(vouch_rate,0), coalesce(((coalesce(vouch_qty,0) * coalesce(vouch_rate,0)) + tax_amt + disc_amt),0) from vouchrcp WHERE tran_id = ? " ;
sql="select line_no, coalesce(vouch_qty,0) * coalesce(vouch_rate,0), coalesce(((coalesce(vouch_qty,0) * coalesce(vouch_rate,0)) + tax_amt - disc_amt),0) from vouchrcp WHERE tran_id = ? " ; // Discount amount positive sign change to negative by nandkumar gadkari on 27/06/19
pstmt = conn.prepareStatement(sql);
//pstmt.setDouble(1,vouchAmt);
pstmt.setString(1,tranId);
......
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