Commit 05741261 authored by ssalve's avatar ssalve

Sarita : Done changes on 17 JULY 2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203647 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0d6c491d
......@@ -1852,8 +1852,11 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
}
//PriyankaC TO check stock quantity and despatch net quantity for validation...[Start] on 15NOV2018.
netQuantity = GetNumberOfQuantityFordespatch(dom2 ,mlotno,mlotsl,msite,mitemcode,mloccode);
System.out.println("Quentityofdispatch.." +netQuantity);
if(netQuantity > mstkQty)
System.out.println("Quentityofdispatch.." +netQuantity + "mstkQty.."+mstkQty + "ls_stk_opt.."+ls_stk_opt);
//Commented and Added by sarita as In case of stock option "0" then system should not check stock on 17 JULY 2019 [START]
// if(netQuantity > mstkQty)
if(netQuantity > mstkQty && !"0".equalsIgnoreCase(ls_stk_opt))
//Commented and Added by sarita as In case of stock option "0" then system should not check stock on 17 JULY 2019 [END]
{
errCode = "VTSTOCK2";
errList.add(errCode);
......
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