Commit 15b7c855 authored by cpatil's avatar cpatil

modify as per suggestion


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92158 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f60b834f
...@@ -339,6 +339,8 @@ public class GenStkHelpAct extends ActionHandlerEJB implements GenStkHelpActLoca ...@@ -339,6 +339,8 @@ public class GenStkHelpAct extends ActionHandlerEJB implements GenStkHelpActLoca
acctCodeDr = GenericUtility.getInstance().getColumnValue("acct_code__dr",dom); acctCodeDr = GenericUtility.getInstance().getColumnValue("acct_code__dr",dom);
cctrCodeCr = GenericUtility.getInstance().getColumnValue("cctr_code__cr",dom); cctrCodeCr = GenericUtility.getInstance().getColumnValue("cctr_code__cr",dom);
cctrCodeDr = GenericUtility.getInstance().getColumnValue("cctr_code__dr",dom); cctrCodeDr = GenericUtility.getInstance().getColumnValue("cctr_code__dr",dom);
selLocCodeTo = genericUtility.getColumnValue("loc_code__to",dom);
System.out.println("@@@@@ selLocCodeTO from dom "+selLocCodeTo);
if (quantity == null || "null".equals(quantity) ) if (quantity == null || "null".equals(quantity) )
{ {
...@@ -394,12 +396,13 @@ public class GenStkHelpAct extends ActionHandlerEJB implements GenStkHelpActLoca ...@@ -394,12 +396,13 @@ public class GenStkHelpAct extends ActionHandlerEJB implements GenStkHelpActLoca
{ {
selLocCode = GenericUtility.getInstance().getColumnValueFromNode("loc_code",detailList.item(ctr)); selLocCode = GenericUtility.getInstance().getColumnValueFromNode("loc_code",detailList.item(ctr));
// added by cpatil on 6/11/12 start // added by cpatil on 6/11/12 start
if(ctr == 0) //if(ctr == 0)
{ //{
selLocCodeTo = GenericUtility.getInstance().getColumnValueFromNode("loc_code",detailList.item(ctr)); //selLocCodeTo = GenericUtility.getInstance().getColumnValueFromNode("loc_code",detailList.item(ctr));
}
//}
// added by cpatil on 6/11/12 end // added by cpatil on 6/11/12 end
System.out.println("@@@@@ ctr["+ctr+"]:::::::selLocCodeTo :["+selLocCodeTo+"]"); //System.out.println("@@@@@ ctr["+ctr+"]:::::::selLocCodeTo :["+selLocCodeTo+"]");
selLotNo = GenericUtility.getInstance().getColumnValueFromNode("lot_no",detailList.item(ctr)); selLotNo = GenericUtility.getInstance().getColumnValueFromNode("lot_no",detailList.item(ctr));
selLotSl = GenericUtility.getInstance().getColumnValueFromNode("lot_sl",detailList.item(ctr)); selLotSl = GenericUtility.getInstance().getColumnValueFromNode("lot_sl",detailList.item(ctr));
selUnit = GenericUtility.getInstance().getColumnValueFromNode("unit",detailList.item(ctr)); selUnit = GenericUtility.getInstance().getColumnValueFromNode("unit",detailList.item(ctr));
......
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