Commit 87c899c7 authored by dsawant's avatar dsawant

updated for work order receipt detail wizard


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95764 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1c8ba385
This diff is collapsed.
package ibase.webitm.ejb.mfg;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
@Local
public interface WorkOrdRcpDetLocal extends ValidatorLocal
{
public String wfValData(String xmlString, String xmlString1, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
......@@ -45,13 +45,15 @@ public class WorkOrdRcpDetPostSave extends ValidatorEJB implements WorkOrdRcpDet
String sql = "", error = "", quantity = "", grossWeight = "", tareWeight = "", netWeight = "", noArt = "";
int cnt1 = 0;
GenericUtility genericUtility = GenericUtility.getInstance();
String[] values;
PreparedStatement pstmt = null;
ResultSet rs=null;
try
{
tranId=genericUtility.getColumnValue("bom_code",dom);
values = tranId.split(":");
System.out.println("values>>"+values);
tranId = values[0];
System.out.println("valuesdd>>"+tranId);
sql = "select sum(coalesce(quantity,0)), sum(coalesce(gross_weight,0)), sum(coalesce(tare_weight,0)), " +
" sum(coalesce(net_weight,0)), sum(coalesce(no_art,0)) from workorder_rcp_det where tran_id = ? ";
pstmt = conn.prepareStatement(sql);
......
package ibase.webitm.ejb.mfg;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
@Remote
public interface WorkOrdRcpDetRemote extends ValidatorRemote
{
public String wfValData(String xmlString, String xmlString1, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
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