Commit e26df9c2 authored by msalla's avatar msalla

Gimatex bank receipt: Net amount not match

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@212961 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 87d9353c
......@@ -2108,11 +2108,11 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
if(total>0) //to check billdiscounting accounting effect -07 nov -19
{
total=total-billDiscountAmt;
chq=chq-billDiscountAmt;
// chq=chq-billDiscountAmt;
//end
System.out.println("chq and ["+chq+"] total ["+total + "] other_amount ]"+othAmt+" ] diff [" + Math.abs(chq +(total -taxAmt)+othAmt ) +"]");
//if(Math.abs(chq + (total - taxAmt)+othAmt) > 1)//end
if(Math.abs(chq -(total -taxAmt)+othAmt) > 1)
if(Math.abs(chq +(total -taxAmt)+othAmt) > 1)
{
errString = itmDBAccessEJB.getErrorString("","VTRCPT8","","",conn);
conn.rollback();
......
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