Commit 970fd34c authored by wansari's avatar wansari

Updated source and corrected validation condition


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105621 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 253d4470
......@@ -7832,7 +7832,9 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
//Changed by Santosh on 17/05/2017
//if(lcQty > (invoiceQty - (qtyAdj+sdetQtyAdj+domTotalQty)))
if(lcQty > (qtyAdj+sdetQtyAdj+domTotalQty))
//Changed by wasim on 17-MAY-17 corrected validation condition
//if(lcQty > (qtyAdj+sdetQtyAdj+domTotalQty))
if(lcQty - (qtyAdj+sdetQtyAdj+domTotalQty) <= 0)
{
return getError((invoiceQty - (qtyAdj+sdetQtyAdj+domTotalQty)), "VTSPLTQTY", conn);
}
......
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