Commit 9fba210f authored by prane's avatar prane

errString msg is returned from stock update, this message was ignored in a specific situation

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@188535 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5e647e8d
......@@ -1014,7 +1014,11 @@ public class DespatchConfirm extends ActionHandlerEJB implements DespatchConfirm
}
StockUpdate stckupd = new StockUpdate();
errString = stckupd.updateStock(updDesp, xtraParams, conn);
//Added by Pavan R on 01aug18 [errString msg is returned from stock update, this message was ignored in a specific situation]
if(errString != null && errString.trim().length()>0)
{
return errString;
}
//CALLING UPDATE OF STOCK FOR TRANSIT ENTRY
// 23-Nov-16 manoharan wrong syntax
//if(channelPartner == "Y" && disLink == "E")
......@@ -1047,7 +1051,11 @@ public class DespatchConfirm extends ActionHandlerEJB implements DespatchConfirm
updDespTransit.put("hold_qty",0.0);
errString = stckupd.updateStock(updDespTransit, xtraParams, conn);
//Added by Pavan R on 01aug18 [errString msg is returned from stock update, this message was ignored in a specific situation]
if(errString != null && errString.trim().length()>0)
{
return errString;
}
/*}
......
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