Commit a403e8e2 authored by ajadhav's avatar ajadhav

append mfg_date and exp_date with protect 1 in itm_defaultedit function

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@183731 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 85347b22
...@@ -1304,7 +1304,7 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -1304,7 +1304,7 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
if("itm_defaultedit".equalsIgnoreCase(currentColumn.trim())) if("itm_defaultedit".equalsIgnoreCase(currentColumn.trim()))
{ {
tranId = checkNull(genericUtility.getColumnValue("tran_id",dom)); tranId = checkNull(genericUtility.getColumnValue("tran_id",dom));
priceListDom = checkNull(genericUtility.getColumnValue("price_list",dom)); priceListDom = checkNull(genericUtility.getColumnValue("price_list",dom));
siteCodeDom = checkNull(genericUtility.getColumnValue("site_code",dom)); siteCodeDom = checkNull(genericUtility.getColumnValue("site_code",dom));
...@@ -1331,14 +1331,11 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -1331,14 +1331,11 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
System.out.println("itemdefault sql"); System.out.println("itemdefault sql");
valueXmlString.append("<lot_no protect=\"1\"><![CDATA[").append(" ").append("]]></lot_no>\r\n"); valueXmlString.append("<lot_no protect=\"1\"><![CDATA[").append(" ").append("]]></lot_no>\r\n");
valueXmlString.append("<lot_sl protect=\"1\" ><![CDATA[").append(" ").append("]]></lot_sl>\r\n"); valueXmlString.append("<lot_sl protect=\"1\" ><![CDATA[").append(" ").append("]]></lot_sl>\r\n");
valueXmlString.append("<mfg_date protect=\"1\"><![CDATA[").append("").append("]]></mfg_date>\r\n");
valueXmlString.append("<exp_date protect=\"1\"><![CDATA[").append("").append("]]></exp_date>\r\n");
} }
/*else
{
valueXmlString.append("<lot_no protect=\"0\"><![CDATA[").append(" ").append("]]></lot_no>\r\n");
valueXmlString.append("<lot_sl protect=\"0\" ><![CDATA[").append(" ").append("]]></lot_sl>\r\n");
}*/
} }
////Add by Ajay on 10/04/2018/:END ////Add by Ajay on 10/04/2018/:END
else if (currentColumn.trim().equalsIgnoreCase("item_code")) else if (currentColumn.trim().equalsIgnoreCase("item_code"))
...@@ -1374,14 +1371,15 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj ...@@ -1374,14 +1371,15 @@ public class AdjReceiptIC extends ValidatorEJB implements AdjReceiptICRemote,Adj
{ {
valueXmlString.append("<lot_no protect=\"1\"><![CDATA[").append(" ").append("]]></lot_no>\r\n"); valueXmlString.append("<lot_no protect=\"1\"><![CDATA[").append(" ").append("]]></lot_no>\r\n");
valueXmlString.append("<lot_sl protect=\"1\" ><![CDATA[").append(" ").append("]]></lot_sl>\r\n"); valueXmlString.append("<lot_sl protect=\"1\" ><![CDATA[").append(" ").append("]]></lot_sl>\r\n");
valueXmlString.append("<mfg_date protect=\"1\"><![CDATA[").append("").append("]]></mfg_date>\r\n");
} valueXmlString.append("<exp_date protect=\"1\"><![CDATA[").append("").append("]]></exp_date>\r\n");
}/*
else else
{ {
valueXmlString.append("<lot_no protect=\"0\"><![CDATA[").append(" ").append("]]></lot_no>\r\n"); valueXmlString.append("<lot_no protect=\"0\"><![CDATA[").append(" ").append("]]></lot_no>\r\n");
valueXmlString.append("<lot_sl protect=\"0\" ><![CDATA[").append(" ").append("]]></lot_sl>\r\n"); valueXmlString.append("<lot_sl protect=\"0\" ><![CDATA[").append(" ").append("]]></lot_sl>\r\n");
} }*/
//Changes Add by Ajay Jadhav on 03/04/2018:END //Changes Add by Ajay Jadhav on 03/04/2018:END
......
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