Commit ec99ec10 authored by sshinde's avatar sshinde

call web service for despatch confirmation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93611 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d029c0e1
......@@ -11,7 +11,6 @@ import ibase.webitm.utility.*;
import ibase.webitm.ejb.*;
import ibase.webitm.ejb.mfg.ExplodeBom;
import ibase.webitm.ejb.sys.*;
import ibase.webitm.ejb.wms.ShipmentConf;
import ibase.system.config.*;
import ibase.webitm.utility.ITMException;
import java.text.*;
......@@ -3925,7 +3924,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
//DateFormat dateFormat= new SimpleDateFormat("yyyy-mm-dd HH:mm:ss.SSSSSS");
InvAllocTraceBean allocTraceBean=new InvAllocTraceBean();
ShipmentConf shipmentConf=new ShipmentConf();
//ShipmentConf shipmentConf=new ShipmentConf();
jobWorkType = distCommon.getDisparams("999999", "JOBWORK_TYPE", conn);
......@@ -4832,7 +4831,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
//* Confirmation Logic Come Here RECEIPT_BACKFLUSH
//ls_errcode = nvo_bkflush.gbf_retrieve_backflush(ls_tran_id,transer,1)
retString=this.confirmBackFlush("receipt_backflush", generatedTranId, xtraParams,"", conn);
retString=this.confirmWebService("receipt_backflush", generatedTranId, xtraParams,"", conn);
//* Confirmation Logic Come Here
......@@ -5437,7 +5436,9 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
conn.commit();
//Confirmation logic
retString=shipmentConf.confirm(generatedTranId, xtraParams, "", conn);
//retString=shipmentConf.confirm(generatedTranId, xtraParams, "", conn);
retString=this.confirmWebService("w_despatch", generatedTranId, xtraParams, "", conn);
//ls_errcode = nvo_despatch.gbf_retrieve_despatch(desp_hdr.describe("datawindow.data") ,desp_det.describe("datawindow.data"),1,sqlca_cp)
......@@ -6761,7 +6762,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
return tranId;
}
private String confirmBackFlush(String businessObj, String tranIdFr,String xtraParams, String forcedFlag, Connection conn) throws ITMException
private String confirmWebService(String businessObj, String tranIdFr,String xtraParams, String forcedFlag, Connection conn) throws ITMException
{
String methodName = "";
String compName = "";
......
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