Commit c7ddcfa5 authored by pjain's avatar pjain

changed by sankara on 25/07/14 for source update


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@33923 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7d678937
......@@ -373,7 +373,9 @@ public class CartonNoGenPrc extends ProcessEJB implements CartonNoGenPrcLocal,Ca
"</Argument>" +
"</Arguments>";
System.out.println(" XSD parser **->["+xsdString+"]");
errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
//changed by sankara on 24/07/14 for calling report from remote.
//errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
catch (Exception e)
{
......
......@@ -241,8 +241,9 @@ public class CheckSheetIC extends ValidatorEJB implements CheckSheetICLocal,Chec
if(printer != null && printer.length() > 0)
{
//Changed by Dhanraj on 27JUN14 to validate printer name from net printers table.start
if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{
//changed by sankara on 22/07/14 not reuired as per pragyan sir
/*if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{*/
sql="select printer_name from net_printers where printer_name= ? ";
pstmt = conn.prepareStatement(sql);
......@@ -260,8 +261,9 @@ public class CheckSheetIC extends ValidatorEJB implements CheckSheetICLocal,Chec
}
pstmt.close();pstmt = null;
rs.close(); rs = null;
}
else
//}
//changed by sankara on 22/07/14 not reuired as per pragyan sir start.
/*else
{
PrintService[] printServices = PrinterJob.lookupPrintServices();
ArrayList<String> arry = new ArrayList<String>();
......@@ -280,7 +282,8 @@ public class CheckSheetIC extends ValidatorEJB implements CheckSheetICLocal,Chec
}
arry.clear();
}
}
}*/
//changed by sankara on 22/07/14 not reuired as per pragyan sir end.
}
//end Dhanraj 27Jun14
......
......@@ -386,14 +386,16 @@ public class CheckSheetPos extends ValidatorEJB implements CheckSheetPosLocal, C
"</Arguments>";
System.out.println(" XSD parser **->["+xsdString+"]");
//changed by sankara on 24/06/14 call report from remote
if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
//changed by sankara on 22/07/14 not reuired as per pragyan sir.
/*if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, loginCode, printer.trim(), 1, conn);
}
else
{
errString = jrGenerator.printReport(reportObjName, xsdString, loginCode, printer.trim(), 1, conn);
}
}*/
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, loginCode, printer.trim(), 1, conn);
//errString = jrGenerator.printReport(reportObjName, xsdString, loginCode, printer.trim(), 1, conn);
......
/**
* PURPOSE : Validation and Itemchange for Check sheet verification
* AUTHOR : Kunal Mandhre
* DATE : 11/06/2012
*/
package ibase.webitm.ejb.wms;
import java.awt.print.PrinterJob;
import java.rmi.RemoteException;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import javax.print.PrintService;
import org.w3c.dom.*;
import ibase.system.config.*;
import ibase.webitm.ejb.*;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
@javax.ejb.Stateless
public class CheckSheetPrintIC extends ValidatorEJB implements CheckSheetPrintICLocal,CheckSheetPrintICRemote
{
/**
* The method is defined without any parameter and returns blank string
*/
public String wfValData() throws RemoteException, ITMException
{
return "";
}
/**
* The public method is used for converting the current form data into a document(DOM)
* The dom is then given as argument to the overloaded function wfValData to perform validation
* Returns validation string if exists else returns null in XML format
* @param xmlString contains the current form data in XML format
* @param xmlString1 contains all the header information in the XML format
* @param xmlString2 contains the data of all the forms in XML format
* @param objContext represents the form number
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext,String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document currFormDataDom = null;
Document hdrDataDom = null;
Document allFormDataDom = null;
String errString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
System.out.println( "xmlString ::" + xmlString);
System.out.println( "xmlString1 ::" + xmlString1);
System.out.println( "xmlString2 ::" + xmlString2);
if(xmlString != null && xmlString.trim().length()!=0)
{
currFormDataDom = genericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length()!=0)
{
hdrDataDom = genericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
allFormDataDom = genericUtility.parseString(xmlString2);
}
errString = wfValData( currFormDataDom, hdrDataDom, allFormDataDom, objContext, xtraParams);
System.out.println( "ErrString: " + errString);
}
catch(Exception e)
{
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
return (errString);
}
/**
* The public overloaded method takes a document as input and is used for the validation of required fields
* Returns validation string if exist otherwise returns null in XML format
* @param currFormDataDom contains the current form data as a document object model
* @param hdrDataDom contains all the header information
* @param allFormDataDom contains the field data of all the forms
* @param objContext represents form number
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String wfValData(Document currFormDataDom, Document hdrDataDom, Document allFormDataDom, String objContext, String xtraParams) throws RemoteException, ITMException
{
String shipmentId = "";
String cartonNo = "";
String replOrder = "";
String columnValue = "";
String errString = "";
String sql = "";
String confirmed = "";
String tranCode = "";
String serviceCode = "";
int count = 0;
int noOfChilds = 0;
int noOfParent = 0;
int cnt = 0;
String printer = "";
String palletNo = "";
GenericUtility genericUtility = GenericUtility.getInstance();
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
StringBuffer errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
String errorType = "", errCode = "";
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
String palletID = "";
String ptcn = "";
try
{
System.out.println("call wf valdata::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;");
int currentFormNo = 0;
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB( "DriverValidator" );
String userId = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" );
if ( objContext != null && objContext.trim().length() > 0 )
{
currentFormNo = Integer.parseInt( objContext );
}
NodeList parentList = currFormDataDom.getElementsByTagName( "Detail" + currentFormNo );
NodeList childList = null;
noOfParent = parentList.getLength();
switch ( currentFormNo ) // Switch Case for form number
{
case 1:
{
childList = parentList.item(0).getChildNodes();
noOfChilds = childList.getLength();
for ( int ctr = 0; ctr < noOfChilds; ctr++ ) //Loop for each node of current detail
{
Node childNode = childList.item( ctr );
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
String childNodeName = childNode.getNodeName();
if ( childNode != null && childNode.getFirstChild() != null )
{
columnValue = childNode.getFirstChild().getNodeValue();
}
System.out.println(" columnName [" + childNodeName + "] columnValue [" + columnValue + "]");
palletID = checkNull(genericUtility.getColumnValue( "pallet_id", currFormDataDom ));
ptcn = checkNull(genericUtility.getColumnValue( "ptcn", currFormDataDom ));
printer = checkNull(genericUtility.getColumnValue( "printer_name", currFormDataDom ));
System.out.println("palletID [" + palletID + "]");
System.out.println("ptcn [" + ptcn + "]");
System.out.println("printer ["+printer+"]");
if( ( palletID == null || palletID.trim().length() == 0) && ( ptcn == null || ptcn.trim().length() == 0) )
{
errString = itmDBAccessEJB.getErrorString("","VTPTCNPALT",userId);
return errString;
}
if( palletID !=null && palletID.trim().length() > 0 )
{
sql = " SELECT COUNT(*) FROM PALLET_NO WHERE PALLET_NO = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, palletID);
rs = pstmt.executeQuery();
if( rs.next())
{
count = rs.getInt(1);
System.out.println("count["+count+"]");
}
if(count == 0)
{
errString = itmDBAccessEJB.getErrorString("","VTINVPALLT",userId);
return errString;
}
pstmt.close();pstmt = null;
rs.close(); rs = null;
}
if( ptcn !=null && ptcn.trim().length() > 0 )
{
sql = " SELECT COUNT(*) FROM WAVE_TASK_DET WT, WAVE_TASK W WHERE W.WAVE_ID = WT.WAVE_ID AND WT.PTCN = ? AND W.CANCEL = 'N' ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, ptcn);
rs = pstmt.executeQuery();
if( rs.next())
{
count = rs.getInt(1);
System.out.println("count1["+count+"]");
}
System.out.println("Before Validation count : "+count);
if(count == 0)
{
System.out.println("inside error code count : "+count);
errString = itmDBAccessEJB.getErrorString("","VTINVDPTCN",userId);
return errString;
}
System.out.println("after Validation count : "+count);
pstmt.close();pstmt = null;
rs.close(); rs = null;
}
if( printer == null || printer.length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTPRNTBLNK",userId);
return errString;
}
if( printer != null && printer.length() > 0 )
{
sql = " SELECT COUNT(*) FROM NET_PRINTERS WHERE PRINTER_NAME = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, printer.trim());
rs = pstmt.executeQuery();
if( rs.next())
{
count = rs.getInt(1);
System.out.println("count2["+count+"]");
}
if(count == 0)
{
errString = itmDBAccessEJB.getErrorString("","VTINVPRINT",userId);
return errString;
}
pstmt.close();pstmt = null;
rs.close(); rs = null;
}
}
} //End of case 1 Validation
break;
}
}
catch ( Exception e )
{
System.out.println ( "Exception: CheckSheetIC: wfValData( Document currFormDataDom ): " + e.getMessage() + ":" );
throw new ITMException(e);
}
finally
{
try
{
if (rs!=null)
{
rs.close();
rs = null;
}
if (pstmt!=null)
{
pstmt.close();
pstmt = null;
}
if( conn != null )
{
conn.close();
conn = null;
}
}
catch(Exception e)
{
System.out.println( "Exception : CheckSheetIC:wfValData : " + e.getMessage() );
throw new ITMException(e);
}
}
return errString;
}
private String errorType( Connection conn , String errorCode )
{
String msgType = "";
PreparedStatement pstmt = null ;
ResultSet rs = null;
try
{
String sql = " SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ? ";
pstmt = conn.prepareStatement( sql );
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
while( rs.next() )
{
msgType = rs.getString("MSG_TYPE");
}
}
catch (Exception ex)
{
ex.printStackTrace();
}
finally
{
try
{
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch ( Exception e )
{
e.printStackTrace();
}
}
return msgType;
}
private String checkNull( String input )
{
if ( input == null )
{
input = "";
}
return input;
}
}
/**
* PURPOSE : Local Interface for CheckSheetPrintIC component
* AUTHOR : Kunal Mandhre
* DATE : 11/06/2012
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import org.w3c.dom.*;
@javax.ejb.Local
public interface CheckSheetPrintICLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException, ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext,String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document currFormDataDom, Document hdrDataDom, Document allFormDataDom, String objContext, String xtraParams) throws RemoteException, ITMException;
}
/**
* PURPOSE : Remote Interface for CheckSheetPrintIC component
* AUTHOR : Kunal Mandhre
* DATE : 11/06/2012
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import org.w3c.dom.*;
@javax.ejb.Remote
public interface CheckSheetPrintICRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException, ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext,String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document currFormDataDom, Document hdrDataDom, Document allFormDataDom, String objContext, String xtraParams) throws RemoteException, ITMException;
}
/*******************************************
Title : CheckSheetPostSave
Date : 16/06/12
Author: Kunal Mandhre
********************************************************/
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.*;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import org.w3c.dom.*;
@javax.ejb.Stateless
public class CheckSheetPrintPos extends ValidatorEJB implements CheckSheetPrintPosLocal, CheckSheetPrintPosRemote
{
public String postSave()throws RemoteException,ITMException
{
return "";
}
public String postSave(String domString, String tranId,String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException
{
String errString = "";
String ptcn = "";
String palletID = "";
boolean isError = false;
Document dom = null;
String printer = "";
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
String errorString = "";
try
{
conn.setAutoCommit(false);
GenericUtility genericUtility = GenericUtility.getInstance();
dom = genericUtility.parseString(domString);
System.out.println("Dom String ="+domString);
ptcn = genericUtility.getColumnValue("ptcn", dom, "1", "1");
palletID = genericUtility.getColumnValue("pallet_id", dom, "1", "1");
printer = checkNull(genericUtility.getColumnValue("printer_name", dom, "1", "1"));
System.out.println(" printer ->["+printer+"]ptcn["+ptcn+"]["+palletID+"]");
/*if(ptcn != null && ptcn.trim().length() > 0)
{
errString = generateCheckSheetReport(ptcn, palletID, printer, conn, xtraParams);
}*/
errString = generateCheckSheetReport(ptcn, palletID, printer, conn, xtraParams);
if(errString == null || !(errString.trim().length() > 0))
{
return itmDBAccessEJB.getErrorString("","RPTPRTSUCF","","",conn);
}
}
catch(Exception e)
{
isError = true;
throw new ITMException(e);
}
finally
{
try
{
}
catch(Exception e)
{
System.err.println("Exception : calling Checksheet Print report :\n"+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
private String generateCheckSheetReport(String ptcn, String palletID, String printer, Connection conn, String xtraParams) throws ITMException
{
String sql = "";
String reportObjName = "";
String errString = "";
String loginCode = "";
try
{
if(palletID != null && !(palletID.trim().length() > 0))
{
System.out.println("inside if pallet::::::"+palletID);
palletID = null;
}
if(ptcn != null && !(ptcn.trim().length() > 0))
{
ptcn = null;
}
System.out.println("palletID:::::::::::"+palletID);
System.out.println("ptcn:::::::::::"+ptcn);
GenericUtility genericUtility = GenericUtility.getInstance();
System.out.println(" calling Checksheet Print report -------------------");
loginCode = checkNull(genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" ));
DistCommon discommon = new DistCommon();
reportObjName = "d_quality_audit_carton";//discommon.getDisparams("999999","LOADING_REP_OBJNAME",conn);
ibase.webitm.reports.utility.JasperReportGenerator jrGenerator = new ibase.webitm.reports.utility.JasperReportGenerator();
String xsdString ="<Arguments>" +
"<Argument id=\"PALLET_ID\" name=\"PALLET_ID\">" +
"<argType>java.lang.String</argType>" +
"<value>"+palletID+"</value>" +
"</Argument>" +
"<Argument id=\"PTCN\" name=\"PTCN\">" +
"<argType>java.lang.String</argType>" +
"<value>"+ptcn+"</value>" +
"</Argument>" +
"<Argument id=\"x_path\" name=\"x_path\">" +
"<argType>java.lang.String</argType>" +
"<value>/DocumentRoot/d_quality_audit_carton</value>" +
"</Argument>" +
"<Argument id=\"design_source\" name=\"design_source\">" +
"<argType>java.lang.String</argType>" +
"<value>d_quality_audit_carton.jrxml</value>" +
"</Argument>" +
"<Argument id=\"data_source\" name=\"data_source\">" +
"<argType>java.lang.String</argType>" +
"<value>SQL</value>" +
"</Argument>" +
"<Argument id=\"bind_type\" name=\"bind_type\">" +
"<argType>java.lang.Integer</argType>" +
"<value>0</value>" +
"</Argument>" +
"<Argument id=\"report_type\" name=\"report_type\">" +
"<argType>java.lang.String</argType>" +
"<value>JASPER</value>" +
"</Argument>" +
"<Argument id=\"report_save_type\" name=\"report_save_type\">" +
"<argType>java.lang.String</argType>" +
"<value>NATIVE</value>" +
"</Argument>" +
"</Arguments>";
System.out.println(" XSD parser **->["+xsdString+"]");
//changed by sankara on 22/07/14 not reuired as per pragyan sir start.
/*if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, loginCode, printer.trim(), 1, conn);
}
else
{
errString = jrGenerator.printReport(reportObjName, xsdString, loginCode, printer.trim(), 1, conn);
}*/
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, loginCode, printer.trim(), 1, conn);
//changed by sankara on 22/07/14 not reuired as per pragyan sir end.
//
}
catch(Exception e)
{
System.err.println("Exception : calling Checksheet Print report ------------------- :\n"+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
return null;
}
private String checkNull(String str)
{
if( str == null)
{
str = "";
}
return str;
}
private boolean isRemotePrintSrvCofigured(String propertyName , Connection conn) throws ITMException
{
String sql = "";
String flagRemoteRptSrvltCofigured = "N";
PreparedStatement pstmt = null;
ResultSet rs = null;
boolean isConfigured = false;
DistCommon discommon = new DistCommon();
try
{
flagRemoteRptSrvltCofigured = discommon.getDisparams("999999",propertyName,conn);
if("Y".equalsIgnoreCase(flagRemoteRptSrvltCofigured))
{
return isConfigured = true;
}
else
{
return isConfigured;
}
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
}
catch(Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
}
}
}
/**
Title : CheckSheetPosLocal
Date : 16/06/12
Author: Kunal Mandhre
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Local
public interface CheckSheetPrintPosLocal
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String domString,String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
\ No newline at end of file
/**
Title : CheckSheetPostSaveRemote
Date : 16/06/12
Author: Kunal Mandhre
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Remote
public interface CheckSheetPrintPosRemote
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String domString,String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
\ No newline at end of file
......@@ -924,18 +924,52 @@ public class DeallocArtPrc extends ProcessEJB implements WaveGenerationPrcLocal,
pickCount = rs.getInt("COUNT");
System.out.println("pickCount::::::"+pickCount);
}
//place sankara code by dhanraj only changed place 22/07/2014.
rs.close(); rs = null;
pstmt1.close(); pstmt1 = null;
if(pickCount > 0)
{
errString="VPPICKNOTA";
errString = itmDBAccessEJB.getErrorString("",errString,"","",conn);
if(errString.trim().length() > 0)
{
errString = getError(pickOrder,lineNoPick,errString,conn);
return errString;
{
//changed by dhanraj for pick deallocation allowed if hold quantity is found start.
/*errString = getError(pickOrder,lineNoPick,errString,conn);
return errString;*/
sql = "Select ST.QUANTITY,ST.HOLD_QTY,PD.SITE_CODE,PD.ITEM_CODE,PD.LOT_NO,PD.LOT_SL,PD.LOC_CODE "
+" from PICK_ORD_HDR PH,PICK_ORD_DET PD,STOCK ST "
+" where PD.PICK_ORDER = PH.PICK_ORDER "
+" AND PD.SITE_CODE=ST.SITE_CODE "
+" AND PD.ITEM_CODE=ST.ITEM_CODE "
+" AND PD.LOT_NO=ST.LOT_NO "
+" AND PD.LOT_SL=ST.LOT_SL "
+" AND PD.LOC_CODE=ST.LOC_CODE "
+" AND ST.HOLD_QTY > 0 "
+" AND PD.PICK_ORDER= ? "
+" AND PD.LINE_NO = ? " ;
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, pickOrder);
pstmt1.setString(2, lineNoPick);
rs = pstmt1.executeQuery();
if(rs.next())
{
errString = "";
}
else
{
//place sankara code by dhanraj only changed place 19-07-2014.
errString = getError(pickOrder,lineNoPick,errString,conn);
return errString;
}
rs.close(); rs = null;
pstmt1.close(); pstmt1 = null;
//changed by dhanraj for pick deallocation allowed if hold quantity is found end.
}
}
rs.close(); rs = null;
pstmt1.close(); pstmt1 = null;
//changed by dhanraj 22/07/14 for pick deallocation allowed if hold quantity is found end.
/*rs.close(); rs = null;
pstmt1.close(); pstmt1 = null;*/
}
//changed by sankara on 05/06/14 validation for pick dealloc end.
pstmt.setString(1, tranId);
......
......@@ -580,8 +580,9 @@ etc
printer = checkNull(genericUtility.getColumnValue( "printer_name", currFormDataDom ));
printLabel = checkNull(genericUtility.getColumnValue( "print_label", currFormDataDom ));
System.out.println(" printer from input parameter ["+printer+"] and print label ->["+printLabel+"]");
PrintService[] printServices = PrinterJob.lookupPrintServices();
ArrayList<String> arry = new ArrayList<String>();
//changed by sankara on 22/07/14 not reuired as per pragyan sir
/*PrintService[] printServices = PrinterJob.lookupPrintServices();
ArrayList<String> arry = new ArrayList<String>(); */
if(printer.trim().length() == 0 )
{
......@@ -592,8 +593,9 @@ etc
{
System.out.println(" in inside if");
//Changed by Dhanraj on 27JUN14 to validate printer name from net printers table.start
if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{
//changed by sankara on 22/07/14 not reuired as per pragyan sir
/*if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{*/
sql="select printer_name from net_printers where printer_name= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, printer.trim());
......@@ -609,8 +611,9 @@ etc
}
pstmt.close();pstmt = null;
rs.close(); rs = null;
}
else
//}
//changed by sankara on 22/07/14 not reuired as per pragyan sir start.
/*else
{
for (PrintService printService : printServices)
{
......@@ -624,9 +627,9 @@ etc
errList.add( "INVPRINTER" );
}
arry.clear();
}
}*/
//end Dhanraj 27Jun14
//changed by sankara on 22/07/14 not reuired as per pragyan sir end.
//hide by Dhanraj 27Jnn14
/*System.out.println(" in inside if");
for (PrintService printService : printServices)
......
......@@ -1731,15 +1731,17 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
"</Arguments>";
System.out.println(" XSD parser **->["+xsdString+"]");
//changed by sankara on 24/06/14 call report from remote
if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
//changed by sankara on 22/07/14 not require as per pragyan sir start.
/*if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
else
{
errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
}*/
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
//changed by sankara on 22/07/14 not require as per pragyan sir ned.
//errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
System.out.println(" PRINTING task completed--------**------->");
......
......@@ -152,7 +152,8 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
//Changed By Pragyan 17-APR-14 To get Hold Qty from the stock
double holdQuantity =0.0;
//Changed by Dhanraj 22/JUL/14 to get actual rate and set in map for update.
double actualRate =0.0;
try
{
......@@ -241,6 +242,8 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
+ " batch_size, unit, grade, remarks, dimension, rate "
//Changed By Pragyan 17-APR-14 To get Hold Qty from the stock
+ " ,hold_qty "
//Changed By Dhanraj 22/JUL/14 To get Actual rate.
+ " ,actual_rate "
+ "from stock "
+ "where item_code = ? "
+ "and site_code = ? "
......@@ -401,6 +404,8 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
dimension = checkNullAndTrim(rsStock.getString("dimension"));
//Changed By Pragyan 17-APR-14 To return error string for Hold Qty from the stoc
holdQuantity = rsStock.getDouble("hold_qty");
//Changed by Dhanraj 22/JUL/14 Get Actual rate val from stock.
actualRate = rsStock.getDouble("actual_rate");
}
rsStock.close(); rsStock = null;
pstmtStock.clearParameters();
......@@ -458,7 +463,8 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
updateRowMap.put("tran_type","ID");
updateRowMap.put("qty_stduom", ""+ (quantity - actualQty));//140
updateRowMap.put("quantity", ""+ (quantity - actualQty));
//Changed by Dhanraj 22/JUL/2014 put actual rate in map for update actual rate in stock transfer to another location.
updateRowMap.put("actual_rate", ""+ actualRate);
//changed by sankara on 09/06/14 for no of articles start.
//Chnaged By Rohan on 03-08-13 for if stock is transfer from caspk to actpk then update no of art bug fixing.start
//noArt = Math.floor((quantity - actualQty) / shipperSize) ;
......
......@@ -380,9 +380,10 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs
"<value>"+reportSavetype+"</value>" +
"</Argument>" +
"</Arguments>";
System.out.println(" XSD parser **->["+xsdString+"]");
errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, locCodeTo, 1, conn);
System.out.println(" XSD parser **->["+xsdString+"]");
//changed by sankara on 22/07/14 calling report from servlet.
//errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, locCodeTo, 1, conn);
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, locCodeTo.trim(), 1, conn);
//}
System.out.println(" PRINTING task completed--------**------->");
}
......
......@@ -1245,8 +1245,9 @@ etc
//Changed by sumit on 24/11/12 adding print label for validation
printLabel = checkNull(genericUtility.getColumnValue( "print_label", currFormDataDom ));
System.out.println(" printer from input parameter ["+printer+"] and print label ->["+printLabel+"]");
PrintService[] printServices = PrinterJob.lookupPrintServices();
ArrayList<String> arry = new ArrayList<String>();
//changed by sankara on 22/07/14 not reuired as per pragyan
/*PrintService[] printServices = PrinterJob.lookupPrintServices();
ArrayList<String> arry = new ArrayList<String>();*/
//Changed by sumit on 24/11/12 adding print label condition
//if(printer.trim().length() == 0)
if(printer.trim().length() == 0 && "Y".equalsIgnoreCase(printLabel))
......@@ -1257,8 +1258,9 @@ etc
else if(printer.trim().length() > 0 && "Y".equalsIgnoreCase(printLabel))
{
//Changed by Dhanraj on 27JUN14 to validate printer name from net printers table.start
if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{
//changed by sankara on 22/07/14 not reuired as per pragyan
/*if(isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn))
{*/
sql="select printer_name from net_printers where printer_name= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, printer.trim());
......@@ -1274,7 +1276,8 @@ etc
}
pstmt.close();pstmt = null;
rs.close(); rs = null;
}
//changed by sankara on 22/07/14 not reuired as per pragyan start.
/*}
else
{
for (PrintService printService : printServices)
......@@ -1289,8 +1292,8 @@ etc
errList.add( "INVPRINTER" );
}
arry.clear();
}
} */
//changed by sankara on 22/07/14 not reuired as per pragyan end.
//end Dhanraj 27Jun14
......
......@@ -3003,10 +3003,11 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
printer = checkNull(genericUtility.getColumnValue("printer_name",headerDom));
printLabel = genericUtility.getColumnValue("print_label",headerDom);
System.out.println("* printLabel ["+printLabel+"] printer ["+printer+"]");
PrintService[] printServices = PrinterJob.lookupPrintServices();
ArrayList<String> arry = new ArrayList<String>();
//Changed by sankara on 22/07/14 not reuired as per pragyan sir
//PrintService[] printServices = PrinterJob.lookupPrintServices();
//ArrayList<String> arry = new ArrayList<String>();
//Changed by sumit on 24/11/12 adding print label condition
isRemotePrintRptSrvCofigur = isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn);
//isRemotePrintRptSrvCofigur = isRemotePrintSrvCofigured("IS_REMOTE_PRNTSRV_CONFIGRD",conn);
if(printer.trim().length() == 0 && "Y".equalsIgnoreCase(printLabel))
{
......@@ -3019,9 +3020,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
else if(printer.trim().length() > 0 && "Y".equalsIgnoreCase(printLabel))
{
//Changed by Dhanraj on 27JUN14 to validate printer name from net printers table.start
if(isRemotePrintRptSrvCofigur)
{
//Changed by sankara on 22/07/14 not reuired as per pragyan sir
/*if(isRemotePrintRptSrvCofigur)
{*/
sql="select printer_name from net_printers where printer_name= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, printer.trim());
......@@ -3039,7 +3040,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
pstmt.close();pstmt = null;
rs.close(); rs = null;
}
//Changed by sankara on 22/07/14 not reuired as per pragyan sir start.
/*}
else
{
for (PrintService printService : printServices)
......@@ -3055,9 +3057,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
return errString;
}
arry.clear();
}
}*/
//end Dhanraj 27Jun14
//Changed by sankara on 22/07/14 not reuired as per pragyan sir end.
//hide by Dhanraj 27Jnn14
/*System.out.println(" in inside if");
for (PrintService printService : printServices)
......@@ -20452,14 +20454,17 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
else
{
//changed by sankara on 24/06/14 for report calling from remote
if(isRemotePrintRptSrvCofigur)
//changed by sankara on 22/07/14 not reuired as per pragyan sir start.
/*if(isRemotePrintRptSrvCofigur)
{
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
else
{
errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
}*/
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
//changed by sankara on 22/07/14 not reuired as per pragyan sir end.
//errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
......@@ -21826,15 +21831,17 @@ private String generatedLabelPrint(String waveId, String printer, Connection con
"</Arguments>";
System.out.println(" XSD parser **->["+xsdString+"]");
//errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
if(isRemotePrintRptSrvCofigur)
//changed by sankara on 22/07/14 not required as per pragyan sir start.
/*if(isRemotePrintRptSrvCofigur)
{
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
else
{
errString = jrGenerator.printReport(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
}
}*/
errString = jrGenerator.callRemotePrintServlet(reportObjName, xsdString, chgUser, printer.trim(), 1, conn);
//changed by sankara on 22/07/14 not reuired as per pragyan sir end.
System.out.println(" PRINTING task completed--------**------->");
//}
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pallet_id</name>
<dbname>pallet_id</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ptcn</name>
<dbname>ptcn</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>printer_name</name>
<dbname>printer_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;shipment&quot; ) COMPUTE(NAME=&quot;&apos;&apos;pallet_id&quot;) COMPUTE(NAME=&quot;&apos;&apos;ptcn&quot;) COMPUTE(NAME=&quot;&apos;&apos;printer_name&quot;)) </retrieve>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Pallet ID</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>131</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_id_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>PTCN</text>
<border>6</border>
<color>0</color>
<x>135</x>
<y>2</y>
<height>16</height>
<width>170</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Printer Name</text>
<border>6</border>
<color>0</color>
<x>307</x>
<y>2</y>
<height>16</height>
<width>639</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>printer_name_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>131</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>135</x>
<y>2</y>
<height>19</height>
<width>170</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>307</x>
<y>2</y>
<height>19</height>
<width>639</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>printer_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>2</height>
<color>536870912</color>
</Summary>
<Footer>
<height>1</height>
<color>536870912</color>
</Footer>
<Detail>
<height>149</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pallet_id</name>
<dbname>pallet_id</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ptcn</name>
<dbname>ptcn</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>printer_name</name>
<dbname>printer_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;shipment&quot; ) COMPUTE(NAME=&quot;&apos;&apos;pallet_id&quot;) COMPUTE(NAME=&quot;&apos;&apos;ptcn&quot;) COMPUTE(NAME=&quot;&apos;&apos;printer_name&quot;)) </retrieve>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>5</border>
<color>0</color>
<x>22</x>
<y>0</y>
<height>84</height>
<width>234</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pallet ID:</text>
<border>0</border>
<color>33554432</color>
<x>39</x>
<y>17</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>135</x>
<y>17</y>
<height>16</height>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pallet_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>PTCN:</text>
<border>0</border>
<color>33554432</color>
<x>39</x>
<y>39</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>134</x>
<y>39</y>
<height>16</height>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Printer Name:</text>
<border>0</border>
<color>33554432</color>
<x>37</x>
<y>61</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>printer_name_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>135</x>
<y>61</y>
<height>16</height>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>printer_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
......@@ -45955,6 +45955,1313 @@ BEGIN
END;
/
commit;
--changed by sankara on 25/07/14 for print_checksheet sql w14dsun004
INSERT INTO itm2menu(
application,
level_1,
level_2,
level_3,
level_4,
level_5,
win_name,
descr,
comments,
menu_path,
icon_path,
close_icon,
open_icon,
obj_type,
chg_date,
chg_term,
chg_user,
mob_deploy )
VALUES (
'WMS',
1,
32,
2,
0,
0,
'w_print_checksheet',
'Print CheckSheet',
NULL,
'WMS.1.32.2.0.0',
'e12_logo.gif',
NULL,
NULL,
'W',
fn_sysdate(),
'BASE ',
'BASE ',
'Y');
INSERT INTO transetup (
tran_window ,
save_flag ,
val_flag ,
key_flag ,
key_string ,
udf_1 ,
udf_2 ,
udf_3 ,
udf_4 ,
udf_5 ,
repeate_add ,
chg_date ,
chg_user ,
chg_term ,
edi_option ,
site_acc_col ,
confirm_col ,
confirm_val ,
repeat_add_det ,
repeatadddet ,
load_mode ,
auto_confirm ,
ledg_post_conf ,
chg_date_on_conf ,
tran_id_col ,
mail_option ,
confirm_mode ,
garbage_opt ,
val_flag_edi ,
verify_password ,
cust_acc_col ,
sales_pers_acc_col ,
supp_acc_col ,
item_ser_acc_code ,
emp_acc_col ,
item_ser_acc_col ,
workflow_opt ,
table_name ,
application ,
table_desc ,
tran_date_col ,
tran_id__from ,
tran_id__to ,
table_name_det1 ,
table_name_det2 ,
table_name_det3 ,
multitire_opt ,
ref_ser ,
view_mode ,
tax_forms ,
sign_status ,
user_tran_window ,
custom_preview_obj ,
ignoreerrlist_onload ,
childdata_argopt ,
edit_tmplt ,
wrkflw_init ,
edittax ,
formal_args ,
audit_trail_opt ,
edit_opt ,
cache_opt ,
optimize_mode ,
edit_expr ,
rate_col ,
qty_col ,
edit_expr_inp ,
rcp_cache_status ,
print_control ,
transfer_mode ,
profile_id__res ,
tran_compl_msg ,
period_option ,
wrkflw_priority ,
exec_type ,
disp_meta_data ,
allow_attach ,
start_form ,
isattachment ,
header_form_no ,
msg_onsave ,
wf_status ,
restart_form ,
isgwtinitiated ,
confirm_date_col ,
confirm_by_col )
VALUES (
'w_print_checksheet',
'2',
'2',
'M',
'MP,seq08',
NULL,
NULL,
NULL,
NULL,
NULL,
'N',
TO_DATE('19-06-2012 14:57:16','DD-MM-YYYY HH24:MI:SS'),
'Kunal ',
'BASE ',
'0',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'0',
'0',
'N',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'WMS',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'F',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'0',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'M',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO obj_forms (
win_name ,
title ,
obj_brow_name ,
obj_edit_name ,
cross_update_expr ,
expr_fld_info ,
target_fld_info ,
expr_comment ,
form_no ,
scr_flag ,
auto_accept_scan ,
scan_flag ,
scan_metadata ,
property_info ,
scan_delimiter ,
column_on_save ,
after_save ,
ext_setup ,
ext_metadata ,
ext_com ,
auto_accept_weighdata ,
form_type ,
disp_metadata ,
parent_key_col ,
qty_col ,
rate_col ,
assisted_mode ,
storage_key_metadata ,
selection_mode ,
default_view ,
auto_addon_entry )
VALUES (
'w_print_checksheet',
'Check Sheet',
'print_checksheet',
NULL,
NULL,
NULL,
NULL,
NULL,
'1',
'F',
NULL,
NULL,
'<SCAN_INFO><INPUT_SCAN ORDER="1"><SCAN_LABEL>PTCN:</SCAN_LABEL><FIELDS SEPARATOR="" DELIMITER=""><FIELD>ptcn</FIELD></FIELDS></INPUT_SCAN><INPUT_SCAN ORDER="2"><SCAN_LABEL>Printer :</SCAN_LABEL><FIELDS SEPARATOR="" DELIMITER=""><FIELD>printer_name</FIELD></FIELDS></INPUT_SCAN></SCAN_INFO>',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO obj_actions (
obj_name ,
line_no ,
image ,
description ,
service_code ,
interactive ,
rights_char ,
title ,
form_no ,
service_handler ,
placement ,
action_type ,
tran_type ,
chg_date ,
chg_term ,
chg_user ,
is_confirmation_req )
VALUES (
'print_checksheet',
1,
NULL,
'Saving',
NULL,
'a',
'S',
'Finish',
'1',
NULL,
NULL,
'U',
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'print_checksheet',
'default_data_wiz',
'1',
'load_default_data',
NULL,
'0',
fn_sysdate(),
'Base ',
'Base ',
'2',
'EJB',
'CheckSheetPrintIC',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'print_checksheet',
'post_save',
'1',
'prso_load',
NULL,
'0',
fn_sysdate(),
'Kunal ',
'BASE',
'2',
'EJB',
'CheckSheetPrintPos',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'print_checksheet',
'pre_navigate_finish',
'1',
'prv_print_checksheet',
NULL,
'0',
fn_sysdate(),
'Gulzar ',
'BASE',
'2',
'EJB',
'CheckSheetPrintIC',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'print_checksheet',
'pre_validate',
'1',
'prv_print_checksheet',
NULL,
'0',
fn_sysdate(),
'Base ',
'Base',
'2',
'EJB',
'CheckSheetPrintIC',
NULL);
INSERT INTO system_event_services (
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'prso_load',
NULL,
'http://172.16.145.69/BaseE12DotNetService6-3-0-178/E12BusinessLogic6-3-0-178.asmx',
NULL,
'postSave',
NULL,
NULL,
NULL,
NULL,
fn_sysdate(),
'Kunal ',
'BASE');
INSERT INTO system_event_services (
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'load_default_data',
NULL,
'http://172.16.145.69/BaseE12DotNetService6-3-0-178/E12BusinessLogic6-3-0-178.asmx',
NULL,
'itemChanged',
'String',
'S',
NULL,
NULL,
fn_sysdate(),
'Gulzar ',
'BASE' );
INSERT INTO system_event_services (
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'prv_print_checksheet',
'Validation',
'http://localhost:9090/axis/services/ValidatorService',
'BASE',
'wfValData',
'String',
'S',
NULL,
NULL,
fn_sysdate(),
'Base ',
'Base');
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prso_load',
1,
'COMPONENT_TYPE',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Kunal',
'Kunal',
'EJB');
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prso_load',
2,
'COMPONENT_NAME',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Kunal',
'Kunal',
'CheckSheetPos');
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prso_load',
3,
'XML_DATA_ALL',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Kunal ',
'Kunal',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prso_load',
4,
'<tran_id>',
'I',
NULL,
'B.String',
NULL,
fn_sysdate(),
'Kunal ',
'Kunal',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prso_load',
5,
'EDIT_FLAG',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Kunal ',
'Kunal',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prso_load',
6,
'XTRA_PARAMS',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Kunal ',
'Kunal',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prso_load',
7,
'DB_CONN',
'I',
NULL,
'S.Connection',
NULL,
fn_sysdate(),
'Kunal ',
'Kunal',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
7,
'FOCUSED_COLUMN',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
8,
'EDIT_FLAG',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
9,
'XTRA_PARAMS',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
1,
'COMPONENT_TYPE',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
2,
'COMPONENT_NAME',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
3,
'XML_DATA',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
4,
'XML_DATA_1',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
5,
'XML_DATA_ALL',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'load_default_data',
6,
'OBJ_CONTEXT',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Gulzar ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
1,
'COMPONENT_TYPE',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Base ',
'BASE',
'EJB');
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
2,
'COMPONENT_NAME',
'I',
NULL,
'S',
NULL,
fn_sysdate(),
'Sankar ',
'BASE',
'CheckSheetPrintIC');
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
3,
'XML_DATA',
'l',
NULL,
'S',
NULL,
fn_sysdate(),
'Base ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
4,
'XML_DATA_1',
'l',
NULL,
'S',
NULL,
fn_sysdate(),
'Base ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
5,
'XML_DATA_ALL',
'l',
NULL,
'S',
NULL,
fn_sysdate(),
'Base ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
6,
'OBJ_CONTEXT',
'l',
NULL,
'S',
NULL,
fn_sysdate(),
'Base ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
7,
'EDIT_FLAG',
'l',
NULL,
'S',
NULL,
fn_sysdate(),
'Base ',
'BASE',
NULL);
INSERT INTO system_service_args (
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_print_checksheet',
8,
'XTRA_PARAMS',
'l',
NULL,
'S',
NULL,
fn_sysdate(),
'Base ',
'BASE',
NULL);
INSERT INTO messages (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'RPTPRTSUCF',
'Report On Printer',
'Report printed successfully',
'F',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO messages (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'VTINVDPTCN',
'Invalid PTCN',
'Entered PTCN is invalid,please enter valid PTCN',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO messages (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'VTINVPALLT',
'Invalid Pallet ID',
'Entered Pallet ID does not exist in Pallet No master',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO messages (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'VTINVPRINT',
'Invalid Printer Name',
'Entered Printer Name does not exist in Net Printers ',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO messages (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'VTPRNTBLNK',
'Printer Name Blank',
'Please enter Printer Name.It should not be left blank',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO messages (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'VTPTCNPALT',
'Enter PTCN or Pallet Number',
'Please enter either PTCN or Pallet No',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO user_obj_fav (
obj_name ,
user_id ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'print_checksheet',
'BASE ',
fn_sysdate(),
'BASE ',
'127.0.0.1');
INSERT INTO POPHELP (
field_name ,
mod_name ,
sql_str ,
dw_object ,
msg_title ,
width ,
height ,
chg_date ,
chg_user ,
chg_term ,
dist_opt ,
filter_string ,
sql_input ,
default_col ,
pop_align ,
query_mode ,
page_context ,
pophelp_cols ,
pophelp_source ,
multi_opt ,
help_option ,
popup_xsl_name )
VALUES (
'PRINTER_NAME',
'W_PRINT_CHECKSHEET',
'SELECT PRINTER_NAME FROM NET_PRINTERS',
NULL,
'Printer Service name',
0,
0,
fn_sysdate(),
'BASE ',
'BASE ',
'0',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
$PBExportHeader$d_print_checksheet11.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(0) updatewhereclause=yes name=pallet_id dbname="pallet_id" )
column=(type=char(0) updatewhereclause=yes name=ptcn dbname="ptcn" )
column=(type=char(0) updatewhereclause=yes name=printer_name dbname="printer_name" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"shipment~" ) COMPUTE(NAME=~"''pallet_id~") COMPUTE(NAME=~"''ptcn~") COMPUTE(NAME=~"''printer_name~")) " )
text(band=header alignment="0" text="Pallet ID" border="6" color="0" x="2" y="2" height="16" width="131" html.valueishtml="0" name=pallet_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="PTCN" border="6" color="0" x="135" y="2" height="16" width="170" html.valueishtml="0" name=ptcn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Printer Name" border="6" color="0" x="307" y="2" height="16" width="639" html.valueishtml="0" name=printer_name_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="19" width="131" format="[general]" html.valueishtml="0" name=pallet_id visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="135" y="2" height="19" width="170" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="307" y="2" height="19" width="639" format="[general]" html.valueishtml="0" name=printer_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_print_checksheet21.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=2 color="536870912" )
footer(height=1 color="536870912" )
detail(height=149 color="536870912" )
table(column=(type=char(0) updatewhereclause=yes name=pallet_id dbname="pallet_id" )
column=(type=char(0) updatewhereclause=yes name=ptcn dbname="ptcn" )
column=(type=char(0) updatewhereclause=yes name=printer_name dbname="printer_name" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"shipment~" ) COMPUTE(NAME=~"''pallet_id~") COMPUTE(NAME=~"''ptcn~") COMPUTE(NAME=~"''printer_name~")) " )
groupbox(band=detail text="Basic"border="5" color="0" x="22" y="0" height="84" width="234" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Pallet ID:" border="0" color="33554432" x="39" y="17" height="16" width="91" html.valueishtml="0" name=pallet_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="135" y="17" height="16" width="110" format="[general]" html.valueishtml="0" name=pallet_id visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="PTCN:" border="0" color="33554432" x="39" y="39" height="16" width="90" html.valueishtml="0" name=ptcn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="134" y="39" height="16" width="110" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Printer Name:" border="0" color="33554432" x="37" y="61" height="16" width="93" html.valueishtml="0" name=printer_name_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="33554432" x="135" y="61" height="16" width="110" format="[general]" html.valueishtml="0" name=printer_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ 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