Commit 85347b22 authored by prane's avatar prane

changes as done per bug in distissue

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@183728 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f82f8455
...@@ -2195,9 +2195,15 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -2195,9 +2195,15 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
//Added By Pavan Rane on 29MAR2018[START][iss_criteria in item master is W. then system should not allow to issue partial quantity.] //Added By Pavan Rane on 29MAR2018[START][iss_criteria in item master is W. then system should not allow to issue partial quantity.]
if (issCriteria != null && ("W").equalsIgnoreCase(issCriteria)) if (issCriteria != null && ("W").equalsIgnoreCase(issCriteria))
{ {
minputQty = stockQty;
if (stockQty >= remQuantity) if (stockQty >= remQuantity)
{ {
minputQty = remQuantity; remQuantity = 0;
}
else
{
remQuantity = remQuantity - stockQty;
} }
} }
else else
......
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