Commit 716700d1 authored by kshinde's avatar kshinde

Corrected validation for Amount mismatch.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106689 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2709f410
......@@ -594,7 +594,7 @@ conn = getConnection();
errString = itmDBAccessEJB.getErrorString("","VTAMTMIS","","",conn); // amount mismatch
return errString;
}*/
if((roundVal((billAmt+taxAmt), 3) != roundVal((totAmt), 3)) || ((roundVal((totAmt+advAmt), 3) != roundVal((totAmt), 3))))
if((roundVal((billAmt+taxAmt), 3) != roundVal((totAmt), 3)) || ((roundVal((totAmt+advAmt), 3) != roundVal((netAmt), 3))))
{
errString = itmDBAccessEJB.getErrorString("","VTAMTMIS","","",conn); // amount mismatch
return errString;
......
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