Commit d554bd0a authored by prane's avatar prane

no of art to be consider from item_lot_packsize, item and if not found then...

no of art to be consider from item_lot_packsize, item and if not found then packing master on Itemchanged of quantity.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205982 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 45647de8
...@@ -6456,8 +6456,8 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -6456,8 +6456,8 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
lsdis= "" , lsstkopt = "", lsunitpur= "" , lsuom = "",mVal= "" ,mVal1 = "",lspackinstr1 = "" , lsdis= "" , lsstkopt = "", lsunitpur= "" , lsuom = "",mVal= "" ,mVal1 = "",lspackinstr1 = "" ,
mUom= "" , lspack1= "" , lsaccdesc= "" , lsvalue= "" , mlotsl= "" ,lsacct = "" , lsloccode= "" ,sysDate = "" , mitem= "" , mUom= "" , lspack1= "" , lsaccdesc= "" , lsvalue= "" , mlotsl= "" ,lsacct = "" , lsloccode= "" ,sysDate = "" , mitem= "" ,
lsacct1= ""; lsacct1= "";
String stkOpt="",suppCode="",exchRateFrt=""; String stkOpt="",suppCode="",exchRateFrt="",reStr="";
int currentFormNo = 0; int currentFormNo = 0,pos=0;
Timestamp ldtmfgdate = null ; Timestamp ldtmfgdate = null ;
double lcexchrate = 0.0 ,lcqty = 0.0, mOrdQty= 0.0 ,lcQtyConv = 0 , lcRtConv = 0 ,lishelflife = 0.0 ,lcratestduom = 0.0 , mpending = 0 ,lcrateclg=0, double lcexchrate = 0.0 ,lcqty = 0.0, mOrdQty= 0.0 ,lcQtyConv = 0 , lcRtConv = 0 ,lishelflife = 0.0 ,lcratestduom = 0.0 , mpending = 0 ,lcrateclg=0,
lcstdrate = 0 ,mCancperc = 0 , lcconvtemp= 0 ,lctemp = 0 ,lcconv = 0 ,mDlvQty = 0 ,lcrealisedqty = 0 , lcgrosswt = 0 ,lctarewt = 0 , lcstdrate = 0 ,mCancperc = 0 , lcconvtemp= 0 ,lctemp = 0 ,lcconv = 0 ,mDlvQty = 0 ,lcrealisedqty = 0 , lcgrosswt = 0 ,lctarewt = 0 ,
...@@ -8835,6 +8835,21 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -8835,6 +8835,21 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
} }
} }
//Pavan R 26aug19 start [no of art to consider from item_lot_packsize, item and if not found then packing master]
lotno=checkNull(genericUtility.getColumnValue("lot_no",dom));
if(lotno != null )
{
valueXmlString.append("<lot_no >").append("<![CDATA[" + lotno + "]]>").append("</lot_no>");
setNodeValue( dom, "lot_no", lotno );
reStr=itemChanged(dom,dom1, dom2, objContext,"lot_no",editFlag,xtraParams); //done
System.out.println("after lot_no itemchanged.......");
pos = reStr.indexOf("<Detail2>");
reStr = reStr.substring(pos + 9);
pos = reStr.indexOf("</Detail2>");
reStr = reStr.substring(0,pos);
valueXmlString.append(reStr);
}
//Pavan R 26aug19 end
} }
else if(currentColumn.trim().equalsIgnoreCase("realised_qty")) else if(currentColumn.trim().equalsIgnoreCase("realised_qty"))
......
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