Commit 7431b1dd authored by spawar's avatar spawar

Added changes to save gstr3b custom records


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106581 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3890ef64
...@@ -53,13 +53,13 @@ public class GstrCustomTranServlet extends HttpServlet ...@@ -53,13 +53,13 @@ public class GstrCustomTranServlet extends HttpServlet
{ {
String objName = request.getParameter("OBJ_NAME"); String objName = request.getParameter("OBJ_NAME");
String tranXml = request.getParameter("ALL_ELEMENTS"); String tranXml = request.getParameter("ALL_ELEMENTS");
String gstType = request.getParameter("GST_TYPE");
System.out.println("OBJ_NAME["+objName+"]"); System.out.println("OBJ_NAME["+objName+"]");
ctx=getInitialContext(); ctx=getInitialContext();
GstrCustomTranEJBRemote GstrCustomTranEJBRemote = (ibase.webitm.ejb.gst.GstrCustomTranEJBRemote) ctx.lookup("ibase/GstrCustomTranEJB/remote"); GstrCustomTranEJBRemote GstrCustomTranEJBRemote = (ibase.webitm.ejb.gst.GstrCustomTranEJBRemote) ctx.lookup("ibase/GstrCustomTranEJB/remote");
responseXML = GstrCustomTranEJBRemote.saveRecord(objName, tranXml, userInfo); responseXML = GstrCustomTranEJBRemote.saveRecord(objName, tranXml, gstType, userInfo);
//responseXML = gstRegNoRemote.handleRequest(requestParamMap); //responseXML = gstRegNoRemote.handleRequest(requestParamMap);
} }
...@@ -76,12 +76,12 @@ public class GstrCustomTranServlet extends HttpServlet ...@@ -76,12 +76,12 @@ public class GstrCustomTranServlet extends HttpServlet
{ {
String objName = request.getParameter("OBJ_NAME"); String objName = request.getParameter("OBJ_NAME");
String tranXml = request.getParameter("ALL_ELEMENTS"); String tranXml = request.getParameter("ALL_ELEMENTS");
String gstType = request.getParameter("GST_TYPE");
System.out.println("OBJ_NAME["+objName+"]"); System.out.println("OBJ_NAME["+objName+"]");
ctx=getInitialContext(); ctx=getInitialContext();
GstrCustomTranEJBRemote GstrCustomTranEJBRemote = (ibase.webitm.ejb.gst.GstrCustomTranEJBRemote) ctx.lookup("ibase/GstrCustomTranEJB/remote"); GstrCustomTranEJBRemote GstrCustomTranEJBRemote = (ibase.webitm.ejb.gst.GstrCustomTranEJBRemote) ctx.lookup("ibase/GstrCustomTranEJB/remote");
responseXML = GstrCustomTranEJBRemote.updateRecord(objName, tranXml, userInfo); responseXML = GstrCustomTranEJBRemote.updateRecord(objName, tranXml,gstType, userInfo);
//responseXML = gstRegNoRemote.handleRequest(requestParamMap); //responseXML = gstRegNoRemote.handleRequest(requestParamMap);
} }
......
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