Commit 558102e9 authored by pdas's avatar pdas

CHANGES MADE FOR STOCK BUTTON CHECKNULL CONDITION IN LOT NO.,LOC CODE,LOT SL


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99438 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1a81a1f2
...@@ -443,9 +443,9 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -443,9 +443,9 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
// } // }
currDetail = detailList.item(ctr); currDetail = detailList.item(ctr);
pickQtyStr = genericUtility.getColumnValueFromNode("balance_qty",currDetail); pickQtyStr = genericUtility.getColumnValueFromNode("balance_qty",currDetail);
locCode = genericUtility.getColumnValueFromNode("loc_code",currDetail); locCode = checkNull(genericUtility.getColumnValueFromNode("loc_code",currDetail));//ADDED BY PRIYANKA DAS FOR CHECKNULL CONDITION
lotNo = genericUtility.getColumnValueFromNode("lot_no",currDetail); lotNo = checkNull(genericUtility.getColumnValueFromNode("lot_no",currDetail));
lotSl = genericUtility.getColumnValueFromNode("lot_sl",currDetail); lotSl = checkNull(genericUtility.getColumnValueFromNode("lot_sl",currDetail));
pickQty = Double.parseDouble(pickQtyStr); pickQty = Double.parseDouble(pickQtyStr);
if (pickQty > remainingQty) if (pickQty > remainingQty)
{ {
...@@ -4400,4 +4400,10 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal, ...@@ -4400,4 +4400,10 @@ public class DistIssueAct extends ActionHandlerEJB implements DistIssueActLocal,
strValue = strValue.replaceAll(",",""); strValue = strValue.replaceAll(",","");
return strValue; return strValue;
} }
private String checkNull(String input) {
if (input == null) {
input = " ";
}
return input;
}
} }
\ No newline at end of file
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