Commit dc763ba9 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@43842 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f8d58457
......@@ -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