Commit 6826fbb5 authored by steurwadkar's avatar steurwadkar

Changes made for incorrect validation condition for Quantity field


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@43849 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 627440a8
......@@ -7834,7 +7834,9 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
//if(lcQty > (invoiceQty - (qtyAdj+sdetQtyAdj+domTotalQty)))
//Changed by wasim on 17-MAY-17 corrected validation condition
//if(lcQty > (qtyAdj+sdetQtyAdj+domTotalQty))
if(lcQty - (qtyAdj+sdetQtyAdj+domTotalQty) <= 0)
//Changed by Santosh on 18/05/2017 to correct condition
//if(lcQty - (qtyAdj+sdetQtyAdj+domTotalQty) <= 0)
if(lcQty > invoiceQty)
{
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