Commit 0aab7541 authored by manohar's avatar manohar

This commit was generated by cvs2svn to compensate for changes in r925,

which included commits to RCS files with non-trunk default branches.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91990 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 81775c41
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import java.util.*;
import java.util.Date;
import java.sql.*;
import java.io.*;
//import webitm4.*;
//import SessionManager.*;
import org.omg.CORBA.ORB;
import org.w3c.dom.*;
import java.util.Properties;
import javax.xml.parsers.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.TransIDGenerator;
import ibase.utility.CommonConstants;
import ibase.ejb.*;
import ibase.system.config.*;
import java.text.SimpleDateFormat;
import java.util.*;
import javax.ejb.Stateless; // added for ejb3
@Stateless // added for ejb3
//public class StockAllocationPrcEJB extends ProcessEJB implements SessionBean
public class DespEditPrc extends ProcessEJB implements DespEditPrcLocal,DespEditPrcRemote //SessionBean
{
GenericUtility genericUtility = GenericUtility.getInstance();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
//ConnDriver connDriver = new ConnDriver();
CommonConstants commonConstants = new CommonConstants();
String chgUser = null;
String chgTerm = null;
public String process() throws RemoteException,ITMException
{
return "";
}
//getData Method
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException
{
String rtrStr = "";
Document headerDom = null;
Document detailDom = null;
System.out.println("getData(xmlString,xmlString2,windowName,xtraParams CALLED..."+ xmlString);
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
System.out.println("XML String :"+xmlString);
headerDom = genericUtility.parseString(xmlString);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
System.out.println("XML String :"+xmlString2);
detailDom = genericUtility.parseString(xmlString2);
}
rtrStr = getData(headerDom, detailDom, windowName, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception :StockAllocationPrcEJB :getData(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
rtrStr = e.getMessage();
}
return rtrStr;
}
public String getData(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException
{
String siteCode = null;
String saleOrderFr = null;
String saleOrderTo = null;
String custCodeFr = null;
String custCodeTo = null;
String custCodeDlvFr = null;
String custCodeDlvTo = null;
String itemSerFr = null;
String itemSerTo = null;
String itemCodeFr = null;
String itemCodeTo = null;
String lotNoFr = null;
String lotNoTo = null;
String sql = null;
HashMap itemCodeMap = new HashMap();
ArrayList saleOrderArr = new ArrayList();
ArrayList custCodeArr = new ArrayList();
ArrayList dueDateArr = new ArrayList();
InvAllocTrace invallocTrace = new InvAllocTrace();
String errCode = "";
String errString = "";
String getDataSql= "" ;
String resultString = "";
Connection conn = null;
ResultSet rs = null;
ResultSet rs1 = null;
PreparedStatement pstmt = null;
Statement st = null;
StringBuffer retTabSepStrBuff = new StringBuffer();
double pendQty = 0;
double allocQty = 0;
boolean bappend = false ;
try
{
ConnDriver connDriver = new ConnDriver();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getDBDateFormat());
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
siteCode = genericUtility.getColumnValue("site_code",headerDom);
if ( siteCode == null || siteCode.trim().length() == 0 )
{
siteCode = "";
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
saleOrderFr = genericUtility.getColumnValue("sale_order__fr",headerDom);
if ( saleOrderFr == null || saleOrderFr.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
saleOrderTo = genericUtility.getColumnValue("sale_order__to",headerDom);
if ( saleOrderTo == null || saleOrderTo.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
custCodeFr = genericUtility.getColumnValue("cust_code__fr",headerDom);
if ( custCodeFr == null || custCodeFr.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
custCodeTo = genericUtility.getColumnValue("cust_code__to",headerDom);
if ( custCodeTo == null || custCodeTo.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
custCodeDlvFr = genericUtility.getColumnValue("cust_code__dlv_fr",headerDom);
if ( custCodeDlvFr == null || custCodeDlvFr.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
custCodeDlvTo = genericUtility.getColumnValue("cust_code__dlv_to",headerDom);
if ( custCodeDlvTo == null || custCodeDlvTo.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
itemSerFr = genericUtility.getColumnValue("item_ser__fr",headerDom);
if ( itemSerFr == null || itemSerFr.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
itemSerTo = genericUtility.getColumnValue("item_ser__to",headerDom);
if ( itemSerTo == null || itemSerTo.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
itemCodeFr = genericUtility.getColumnValue("item_code__fr",headerDom);
if ( itemCodeFr == null || itemCodeFr.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
itemCodeTo = genericUtility.getColumnValue("item_code__to",headerDom);
if ( itemCodeTo == null || itemCodeTo.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
lotNoFr = genericUtility.getColumnValue("lot_no__fr",headerDom);
if ( lotNoFr == null || lotNoFr.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
lotNoTo = genericUtility.getColumnValue("lot_no__to",headerDom);
if ( lotNoTo == null || lotNoTo.trim().length() == 0 )
{
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
getDataSql = "SELECT DISTINCT W.REF_SER, W.REF_ID, D.DESP_DATE TRAN_DATE, W.PTCN, W.WAVE_ID, S.SALE_ORDER, S.CUST_CODE, "
+ " S.CUST_CODE__DLV, C.CUST_NAME "
+ " FROM DESPATCH D, WAVE_TASK_DET W, CUSTOMER C, SORDER S, WAVE_TASK WH, DESPATCHDET DD "
+ " WHERE S.CUST_CODE__DLV = C.CUST_CODE "
+ " AND D.SORD_NO = S.SALE_ORDER "
+ " AND W.WAVE_ID = WH.WAVE_ID "
+ " AND W.REF_ID = D.DESP_ID "
+ " AND D.DESP_ID = DD.DESP_ID "
+ " AND W.REF_SER = 'S-DSP' "
+ " AND CASE WHEN D.CONFIRMED IS NULL THEN 'N' ELSE D.CONFIRMED END = 'N' "
+ " AND CASE WHEN WH.CANCEL IS NULL THEN 'N' ELSE WH.CANCEL END = 'N' "
+ " AND S.SITE_CODE = ? "
+ " AND S.SALE_ORDER >= ? "
+ " AND S.SALE_ORDER <= ? "
+ " AND S.CUST_CODE >= ? "
+ " AND S.CUST_CODE <= ? "
+ " AND S.CUST_CODE__DLV >= ? "
+ " AND S.CUST_CODE__DLV <= ? "
+ " AND S.ITEM_SER >= ? "
+ " AND S.ITEM_SER <= ? "
+ " AND DD.ITEM_CODE >= ? "
+ " AND DD.ITEM_CODE <= ? "
+ " AND DD.LOT_NO >= ? "
+ " AND DD.LOT_NO <= ? "
+ " UNION ALL "
+ " SELECT DISTINCT W.REF_SER, W.REF_ID, D.ORDER_DATE TRAN_DATE, W.PTCN, W.WAVE_ID, S.SALE_ORDER, S.CUST_CODE, "
+ " S.CUST_CODE__DLV, C.CUST_NAME "
+ " FROM PICK_ORD_HDR D, WAVE_TASK_DET W, CUSTOMER C, SORDER S, WAVE_TASK WH, PICK_ORD_DET DD "
+ " WHERE S.CUST_CODE__DLV = C.CUST_CODE "
+ " AND D.SALE_ORDER = S.SALE_ORDER "
+ " AND W.WAVE_ID = WH.WAVE_ID "
+ " AND W.REF_ID = D.PICK_ORDER "
+ " AND D.PICK_ORDER = DD.PICK_ORDER "
+ " AND W.REF_SER IN( 'A-PICK','C-PICK','M-PICK') "
+ " AND CASE WHEN D.STATUS IS NULL THEN 'O' ELSE D.STATUS END = 'O' "
+ " AND CASE WHEN WH.CANCEL IS NULL THEN 'N' ELSE WH.CANCEL END = 'N' "
+ " AND S.SITE_CODE = ? "
+ " AND S.SALE_ORDER >= ? "
+ " AND S.SALE_ORDER <= ? "
+ " AND S.CUST_CODE >= ? "
+ " AND S.CUST_CODE <= ? "
+ " AND S.CUST_CODE__DLV >= ? "
+ " AND S.CUST_CODE__DLV <= ? "
+ " AND S.ITEM_SER >= ? "
+ " AND S.ITEM_SER <= ? "
+ " AND DD.ITEM_CODE >= ? "
+ " AND DD.ITEM_CODE <= ? "
+ " AND DD.LOT_NO >= ? "
+ " AND DD.LOT_NO <= ? " ;
pstmt = conn.prepareStatement(getDataSql);
pstmt.setString(1,siteCode);
pstmt.setString(2,saleOrderFr);
pstmt.setString(3,saleOrderTo);
pstmt.setString(4,custCodeFr);
pstmt.setString(5,custCodeTo);
pstmt.setString(6,custCodeDlvFr);
pstmt.setString(7,custCodeDlvTo);
pstmt.setString(8,itemSerFr);
pstmt.setString(9,itemSerTo);
pstmt.setString(10,itemCodeFr);
pstmt.setString(11,itemCodeTo);
pstmt.setString(12,lotNoFr);
pstmt.setString(13,lotNoTo);
pstmt.setString(14,siteCode);
pstmt.setString(15,saleOrderFr);
pstmt.setString(16,saleOrderTo);
pstmt.setString(17,custCodeFr);
pstmt.setString(18,custCodeTo);
pstmt.setString(19,custCodeDlvFr);
pstmt.setString(20,custCodeDlvTo);
pstmt.setString(21,itemSerFr);
pstmt.setString(22,itemSerTo);
pstmt.setString(23,itemCodeFr);
pstmt.setString(24,itemCodeTo);
pstmt.setString(25,lotNoFr);
pstmt.setString(26,lotNoTo);
rs = pstmt.executeQuery();
while(rs.next())
{
retTabSepStrBuff.append(rs.getString("REF_SER")).append("\t");
retTabSepStrBuff.append(rs.getString("REF_ID")).append("\t");
retTabSepStrBuff.append(rs.getTimestamp("TRAN_DATE")).append("\t");
retTabSepStrBuff.append(rs.getString("PTCN")).append("\t");
retTabSepStrBuff.append(rs.getString("WAVE_ID")).append("\t");
retTabSepStrBuff.append(rs.getString("SALE_ORDER")).append("\t");
retTabSepStrBuff.append(rs.getString("CUST_CODE")).append("\t");
retTabSepStrBuff.append(rs.getString("CUST_CODE__DLV")).append("\t");
retTabSepStrBuff.append(rs.getString("CUST_NAME")).append("\t");
retTabSepStrBuff.append("\n");
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
resultString = retTabSepStrBuff.toString();
System.out.println("resultString from DespEditPrc [" + resultString + "]");
if (resultString == null || resultString.trim().length() == 0)
{
errCode ="VTNOREC2";
}
if (!errCode.equals(""))
{
resultString = itmDBAccessEJB.getErrorString("", errCode, "", "", conn);
System.out.println("resultString: "+resultString);
}
}
catch (SQLException e)
{
System.out.println("SQLException :StockAllocationPrcEJB :getData(Document headerDom, Document detailDom, String windowName, String xtraParams):" + e.getMessage() + ":");
throw new ITMException(e);
}
catch (Exception e)
{
System.out.println("Exception :StockAllocationPrcEJB :getData(Document headerDom, Document detailDom, String windowName, String xtraParams):" + e.getMessage() + ":");
throw new ITMException(e);
}
finally
{
try
{
retTabSepStrBuff = null;
if(conn != null)
{
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
conn.close();
conn = null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
throw new ITMException(e);
}
}
return resultString;
}
//Process Method
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException
{
String retStr = "";
Document detailDom = null;
Document headerDom = null;
GenericUtility genericUtility = GenericUtility.getInstance();
System.out.println("below genericUtility--------------->>>>>>>>>");
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
headerDom = genericUtility.parseString(xmlString);
System.out.println("headerDom" + headerDom);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
detailDom = genericUtility.parseString(xmlString2);
System.out.println("detailDom" + detailDom);
}
retStr = process(headerDom, detailDom, windowName, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception :StockAllocationPrcEJB :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
retStr = e.getMessage();
}
return retStr;
}
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException
{
String errString = "";
Connection conn = null;
PreparedStatement pstmt = null;
try
{
}//try end
catch(Exception e)
{
errString = e.getMessage();
return errString ;
}
finally
{
System.out.println("Closing Connection....");
try
{
if(conn != null)
{
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
conn.close();
conn = null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
return errString ;
}
if (errString == null || errString.trim().length() == 0)
{
errString="VTCOMPL";
errString = itmDBAccessEJB.getErrorString("",errString,"","",conn);
return errString;
}
else
{
errString="VTPRCERR";
errString = itmDBAccessEJB.getErrorString("",errString,"","",conn);
return errString;
}
}
}
}
\ No newline at end of file
/**
* PURPOSE : DefaultItemChanged for wave generation process
* AUTHOR : Manohar
* Obj_name : w_despeditprc
*/
package ibase.webitm.ejb.wms;
import java.awt.print.PrinterJob;
import javax.print.PrintService;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.dis.SaleOrdItmGen;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
@javax.ejb.Stateless
public class DespEditPrcIC extends ValidatorEJB implements WaveGenerationICRemote, WaveGenerationICLocal{
/**
* The method defined with no parameter and returns nothing
*/
public String itemChanged() throws RemoteException, ITMException
{
return "";
}
/**
* The public method is used for itemchange of required fields which return called overloaded method
* Returns itemchange string in XML format
* @param currXmlDataStr contains the current form data in XML format
* @param hdrXmlDataStr containspoic_wavegen_default_data always header form data in XML format
* @param allXmlDataStr contains all forms data in XML format
* @param objContext represents form no
* @param currentColumn represent Current COlumn
* @param editFlag the mode of the transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm
etc
*/
public String itemChanged(String currXmlDataStr, String hdrXmlDataStr, String allXmlDataStr, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document currDom = null;
Document hdrDom = null;
Document allDom = null;
String errString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
if (currXmlDataStr != null && currXmlDataStr.trim().length()!=0)
{
currDom = genericUtility.parseString(currXmlDataStr);
}
if (hdrXmlDataStr != null && hdrXmlDataStr.trim().length()!=0)
{
hdrDom = genericUtility.parseString(hdrXmlDataStr);
}
if (allXmlDataStr != null && allXmlDataStr.trim().length()!=0)
{
allDom = genericUtility.parseString(allXmlDataStr);
}
errString = defaultItemChanged( currDom, hdrDom, allDom, objContext, currentColumn, editFlag, xtraParams );
System.out.println ( "ErrString :" + errString);
}
catch (Exception e)
{
System.out.println ( "Exception :WaveGenerationIC :itemChanged(String,String):" + e.getMessage() + ":" );
errString = genericUtility.createErrorString(e);
}
System.out.println ( "returning from WaveGenerationIC itemChanged" );
return errString;
}// end ItemChanged Method
/**
* The public overloaded method is used for itemchange of required fields
* Returns itemchange string in XML format
* @param currDom contains the current form data
* @param hdrDom contains always header form data
* @param allDom contains all forms data
* @param objContext represents form no
* @param editFlag the mode of the transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String defaultItemChanged( Document currDom, Document hdrDom, Document allDom, String objContext, String currentColumn, String editFlag, String xtraParams ) throws RemoteException,ITMException
{
String siteCode = "";
String errString = "";
int currentFormNo = 0;
String columnValue = "";
String sSQL = "";
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
StringBuffer valueXmlString = new StringBuffer( "<?xml version=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n" );
GenericUtility genericUtility = GenericUtility.getInstance();
java.sql.Date dateFrom = null;
String custCode = "", custCodeDlv = "";
String saleOrder = "";
try
{
String applDateFmt = genericUtility.getApplDateFormat();
String dbDateFmt = genericUtility.getDBDateFormat();
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
siteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
System.out.println("site code ->["+siteCode+"]");
System.out.println("Current Column> > > > ->["+currentColumn+"]");
if( objContext != null && objContext.trim().length() > 0 )
{
currentFormNo = Integer.parseInt( objContext );
}
valueXmlString.append("</Header>\r\n" );
switch ( currentFormNo )
{
case 1:
{
if ( currentColumn.trim().equalsIgnoreCase( "itm_default" ))
{
System.out.println("--------------item default --------------");
valueXmlString.append( "<Detail1>\r\n" );
valueXmlString.append( "<site_code><![CDATA[" ).append( siteCode ).append( "]]></site_code>\r\n" );
valueXmlString.append( "<item_ser__fr><![CDATA[" ).append( "0" ).append( "]]></item_ser__fr>\r\n" );
valueXmlString.append( "<item_ser__to><![CDATA[" ).append( "zz" ).append( "]]></item_ser__to>\r\n" );
valueXmlString.append( "<item_code__fr><![CDATA[" ).append( "0" ).append( "]]></item_code__fr>\r\n" );
valueXmlString.append( "<item_code__to><![CDATA[" ).append( "zz" ).append( "]]></item_code__to>\r\n" );
valueXmlString.append( "<cust_code__fr><![CDATA[" ).append( "0" ).append( "]]></cust_code__fr>\r\n" );
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( "zz" ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<sale_order__fr><![CDATA[" ).append( "0" ).append( "]]></sale_order__fr>\r\n" );
valueXmlString.append( "<sale_order__to><![CDATA[" ).append( "zz" ).append( "]]></sale_order__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_fr><![CDATA[" ).append( "0" ).append( "]]></cust_code__dlv_fr>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( "zz" ).append( "]]></cust_code__dlv_to>\r\n" );
valueXmlString.append( "<lot_no__fr><![CDATA[" ).append( "0" ).append( "]]></lot_no__fr>\r\n" );
valueXmlString.append( "<lot_no__to><![CDATA[" ).append( "zz" ).append( "]]></lot_no__to>\r\n" );
valueXmlString.append( "</Detail1>\r\n" );
}
else if ( currentColumn.trim().equalsIgnoreCase( "sale_order__fr" ))
{
columnValue = genericUtility.getColumnValue("sale_order__fr",currDom);
valueXmlString.append( "<Detail1>\r\n" );
if(columnValue != null && !columnValue.equalsIgnoreCase("0"))
{
sSQL = " SELECT S.CUST_CODE, S.CUST_CODE__DLV " +
" FROM SORDER S WHERE SALE_ORDER = ? ";
pstmt = conn.prepareStatement(sSQL);
pstmt.setString(1,columnValue);
rs=pstmt.executeQuery();
if(rs.next())
{
custCode = rs.getString("CUST_CODE");
custCodeDlv = rs.getString("CUST_CODE__DLV");
}
valueXmlString.append( "<cust_code__fr><![CDATA[" ).append( custCode ).append( "]]></cust_code__fr>\r\n" );
valueXmlString.append( "<cust_code__dlv_fr><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_fr>\r\n" );
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( custCode ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_to>\r\n" );
rs.close();
rs=null;
pstmt.close();
pstmt=null;
}
valueXmlString.append( "</Detail1>\r\n" );
}
else if ( currentColumn.trim().equalsIgnoreCase( "sale_order__to" ))
{
columnValue = genericUtility.getColumnValue("sale_order__to",currDom);
valueXmlString.append( "<Detail1>\r\n" );
if(columnValue != null && !columnValue.equalsIgnoreCase("0"))
{
sSQL = " SELECT S.CUST_CODE, S.CUST_CODE__DLV " +
" FROM SORDER S WHERE SALE_ORDER = ? ";
pstmt = conn.prepareStatement(sSQL);
pstmt.setString(1,columnValue);
rs=pstmt.executeQuery();
if(rs.next())
{
custCode = rs.getString("CUST_CODE");
custCodeDlv = rs.getString("CUST_CODE__DLV");
}
valueXmlString.append( "<cust_code__to><![CDATA[" ).append( custCode ).append( "]]></cust_code__to>\r\n" );
valueXmlString.append( "<cust_code__dlv_to><![CDATA[" ).append( custCodeDlv ).append( "]]></cust_code__dlv_to>\r\n" );
rs.close();
rs=null;
pstmt.close();
pstmt=null;
}
valueXmlString.append( "</Detail1>\r\n" );
}
}
break;
}
valueXmlString.append( "</Root>\r\n" );
}
catch(Exception e)
{
System.out.println("Exception: WaveGenerationIC: defaultItemChanged(Document dom): " + e.getMessage() + ":");
e.printStackTrace();
errString = genericUtility.createErrorString(e);
}
return valueXmlString.toString();
}
private String checkNull( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
return inputVal;
}
/**
* The method is defined without any parameter and returns blank string
*/
@Override
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
*/
@Override
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
*/
@Override
public String wfValData(Document currFormDataDom, Document hdrDataDom, Document allFormDataDom, String objContext, String xtraParams) throws RemoteException, ITMException
{
String columnValue ="";
String errString = "";
String sql ="";
String singleLot ="";
String masterPackAllow = "";
String activePickAllow = "";
String stockToDockAllow = "";
String custCode = "";
//Changed by sumit on 03/10/12
String printer = "";
int count = 0, cnt = 0;
int rowCount = 0;
int noOfChilds = 0;
int noOfParent = 0;
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 = "";
ArrayList errList = new ArrayList();
ArrayList errFields = new ArrayList();
Set errSet = null;
try
{
int currentFormNo = 0;
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB( "DriverITM" );
connDriver = null;
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 + "]");
if ( "active_pick_allow".equalsIgnoreCase( childNodeName ) )
{
activePickAllow = checkNull(genericUtility.getColumnValue( "active_pick_allow", currFormDataDom ));
custCode = genericUtility.getColumnValue( "cust_code__from", currFormDataDom );
if(activePickAllow.trim().length() > 0 )
{
sql = "SELECT C.SINGLE_LOT, W.MASTER_PACK_ALLOW, W.ACTIVE_PICK_ALLOW, W.STOCK_TO_DOCK_ALLOW " +
"FROM CUSTOMER C, WAVE_TYPE W WHERE C.WAVE_TYPE = W.WAVE_TYPE AND C.CUST_CODE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, custCode);
rs = pstmt.executeQuery();
if( rs.next())
{
if( !activePickAllow.equalsIgnoreCase(rs.getString("ACTIVE_PICK_ALLOW")))
{
//errList.add( "CHACTPKALL" );
errFields.add( childNodeName.toLowerCase() );
errList.add( "CHSINGLELT" );
//errFields.add( "" );
}
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
}
}
} //End of case 1 Validation
break;
}//End of switch statement
errSet = new HashSet(errList);
errList = new ArrayList(errSet);
int errListSize = errList.size();
cnt =0;
String errFldName = null;
if ( errList != null && errListSize > 0 )
{
for (cnt = 0; cnt < errListSize; cnt++ )
{
errCode = (String)errList.get(cnt);
errFldName = (String)errFields.get(cnt);
System.out.println("errCode .........."+errCode);
//String errMsg = hashMap.get(errCode)!=null ? hashMap.get(errCode).toString():"";
//System.out.println("errMsg .........."+errMsg);
errString = getErrorString( errFldName, errCode, userId );
errorType = errorType( conn , errCode );
if ( errString.length() > 0)
{
String bifurErrString = errString.substring( errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>"));
bifurErrString =bifurErrString;//+"<trace>"+errMsg+"</trace>";
bifurErrString =bifurErrString+errString.substring( errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
System.out.println("errStringXml .........."+errStringXml);
errString = "";
}
if ( errorType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer( "" );
}
errString = errStringXml.toString();
}
catch ( Exception e )
{
System.out.println ( "Exception: WaveGenerationIC: wfValData( Document currFormDataDom ): " + e.getMessage() + ":" );
//throw new ITMException(e);
e.printStackTrace();
}
finally
{
try
{
if (rs!=null)
{
rs.close();
rs = null;
}
if( conn != null )
{
conn.close(); conn = null;
}
}
catch(Exception e)
{
System.out.println( "Exception : WaveGenerationIC:wfValData : " + e.getMessage() );
throw new ITMException(e);
}
}
System.out.println( "errString>>>>>>>::"+errString );
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;
}
}
/*
Author: Sumit Sarkar 07/03/12 of Req: WM1ESUN006
Reason: Interface Local for EJB Component WaveGenerationIC
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
@javax.ejb.Local
public interface DespEditPrcICLocal extends ibase.webitm.ejb.ValidatorLocal
{
public String itemChanged() throws RemoteException, ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
//Changed by sumit on 18/09/12 adding validation start.
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;
//Changed by sumit on 18/09/12 adding validation end.
}
/**
* Author: Sumit Sarkar 07/03/12 of Req: WM1ESUN006
* Reason: Interface Local for EJB Component WaveGenerationIC
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
@javax.ejb.Remote
public interface DespEditPrcICRemote extends ibase.webitm.ejb.ValidatorRemote
{
public String itemChanged() throws RemoteException, ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
//Changed by sumit on 18/09/12 adding validation start.
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;
//Changed by sumit on 18/09/12 adding validation end.
}
\ No newline at end of file
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
//import javax.ejb.EJBHome;
//import ibase.webitm.ejb.ProcessHome;
import ibase.webitm.ejb.ProcessLocal;
import javax.ejb.Local; // added for ejb3
import ibase.webitm.utility.ITMException;
import org.w3c.dom.*;
@Local // added for ejb3
//public interface StockAllocationPrcHome extends ProcessHome, EJBHome
public interface DespEditPrcLocal extends ibase.webitm.ejb.ProcessLocal//, EJBObject
{
public String process() throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(Document dom, Document dom2, String windowNamem, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ProcessRemote;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
//public interface StockAllocationPrc extends ibase.webitm.ejb.Process, EJBObject
public interface DespEditPrcRemote extends ibase.webitm.ejb.ProcessRemote//, EJBObject
{
public String process() throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(Document dom, Document dom2, String windowNamem, String xtraParams) throws RemoteException,ITMException;
}
<?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>1073741824</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>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>376</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code</name>
<dbname>site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>cust_code__fr</name>
<dbname>cust_code__fr</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>cust_code__to</name>
<dbname>cust_code__to</dbname>
<initial>zz</initial>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>cust_code__dlv_fr</name>
<dbname>cust_code__dlv_fr</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>cust_code__dlv_to</name>
<dbname>cust_code__dlv_to</dbname>
<initial>zz</initial>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_ser__fr</name>
<dbname>item_ser__fr</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_ser__to</name>
<dbname>item_ser__to</dbname>
<initial>zz</initial>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_code__fr</name>
<dbname>item_code__fr</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>item_code__to</name>
<dbname>item_code__to</dbname>
<initial>zz</initial>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_no__fr</name>
<dbname>lot_no__fr</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lot_no__to</name>
<dbname>lot_no__to</dbname>
<initial>zz</initial>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>sale_order__fr</name>
<dbname>sale_order__fr</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>sale_order__to</name>
<dbname>sale_order__to</dbname>
<initial>zz</initial>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Filter Parameters</text>
<border>2</border>
<color>33554432</color>
<x>30</x>
<y>22</y>
<height>208</height>
<width>542</width>
<name>gb_1</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>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>50</y>
<height>19</height>
<width>30</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</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>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>74</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>To:</text>
<border>0</border>
<color>33554432</color>
<x>402</x>
<y>74</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__to_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>13</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>0</border>
<color>33554432</color>
<x>431</x>
<y>74</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<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>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>75</x>
<y>50</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Sale Order From:</text>
<border>0</border>
<color>33554432</color>
<x>39</x>
<y>74</y>
<height>16</height>
<width>151</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__fr_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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Customer Group From:</text>
<border>0</border>
<color>33554432</color>
<x>57</x>
<y>98</y>
<height>16</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__fr_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>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>97</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__fr</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>To:</text>
<border>0</border>
<color>33554432</color>
<x>402</x>
<y>98</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__to_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>50</tabsequence>
<border>0</border>
<color>33554432</color>
<x>431</x>
<y>97</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__to</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>Customer (Delivery) From:</text>
<border>0</border>
<color>33554432</color>
<x>39</x>
<y>122</y>
<height>16</height>
<width>151</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_fr_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>4</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>121</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_fr</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>To:</text>
<border>0</border>
<color>33554432</color>
<x>402</x>
<y>122</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_to_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>5</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>0</border>
<color>33554432</color>
<x>431</x>
<y>121</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_to</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>Item Series From:</text>
<border>0</border>
<color>33554432</color>
<x>75</x>
<y>146</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser__fr_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>6</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>145</y>
<height>19</height>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser__fr</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>To:</text>
<border>0</border>
<color>33554432</color>
<x>448</x>
<y>146</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser__to_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>7</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>0</border>
<color>33554432</color>
<x>478</x>
<y>145</y>
<height>19</height>
<width>48</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser__to</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>Item Code From:</text>
<border>0</border>
<color>33554432</color>
<x>75</x>
<y>170</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__fr_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>8</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>169</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__fr</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>To:</text>
<border>0</border>
<color>33554432</color>
<x>400</x>
<y>170</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__to_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>9</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>0</border>
<color>33554432</color>
<x>431</x>
<y>169</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__to</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>Lot No From:</text>
<border>0</border>
<color>33554432</color>
<x>75</x>
<y>194</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__fr_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>10</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>0</border>
<color>33554432</color>
<x>198</x>
<y>193</y>
<height>19</height>
<width>126</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__fr</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>To:</text>
<border>0</border>
<color>33554432</color>
<x>367</x>
<y>194</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__to_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>11</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>0</border>
<color>33554432</color>
<x>400</x>
<y>193</y>
<height>19</height>
<width>126</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__to</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>
<?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>1073741824</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>21</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="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ref_ser</name>
<dbname>wave_task_det.ref_ser</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ref_id</name>
<dbname>wave_task_det.ref_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>despatch.tran_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ptcn</name>
<dbname>wave_task_det.ptcn</dbname>
</table_column>
<table_column>
<type size="12">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>wave_id</name>
<dbname>wave_task_det.wave_id</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>sale_order</name>
<dbname>sorder.sale_order</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code</name>
<dbname>sorder.cust_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>sorder_cust_code__dlv</name>
<dbname>sorder.cust_code__dlv</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>customer_cust_name</name>
<dbname>customer.cust_name</dbname>
</table_column>
<retrieve> SELECT W.REF_SER REF_SER, W.REF_ID REF_ID, D.DESP_DATE TRAN_DATE, W.PTCN PTCN, W.WAVE_ID WAVE_ID, S.SALE_ORDER SALE_ORDER, S.cust_code cust_code,
S.cust_code__dlv cust_code__dlv, c.cust_name cust_name
FROM despatch D, WAVE_TASK_DET W, customer C, SORDER S, WAVE_TASK WH
WHERE S.cust_code__dlv = C.cust_code
AND D.SORD_NO = S.SALE_ORDER
AND W.WAVE_ID = WH.WAVE_ID
AND W.REF_ID = D.DESP_ID
AND W.REF_SER = &apos;S-DSP&apos;
AND CASE WHEN D.confirmed IS NULL THEN &apos;N&apos; ELSE D.confirmed END = &apos;N&apos;
AND CASE WHEN WH.CANCEL IS NULL THEN &apos;N&apos; ELSE WH.CANCEL END = &apos;N&apos;
and D.sord_no = :SALE_ORDER
</retrieve>
<argument>
<name>SALE_ORDER</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Ref. Series</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_ser_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Reference ID</text>
<border>0</border>
<color>33554432</color>
<x>73</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Transaction Date</text>
<border>0</border>
<color>33554432</color>
<x>163</x>
<y>2</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>PTCN</text>
<border>0</border>
<color>33554432</color>
<x>265</x>
<y>2</y>
<height>16</height>
<width>97</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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Wave Id</text>
<border>0</border>
<color>33554432</color>
<x>364</x>
<y>2</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Sale Order</text>
<border>0</border>
<color>33554432</color>
<x>464</x>
<y>2</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Customer Code</text>
<border>0</border>
<color>33554432</color>
<x>549</x>
<y>2</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cust Code Dlv</text>
<border>0</border>
<color>33554432</color>
<x>646</x>
<y>2</y>
<height>16</height>
<width>97</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_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>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Customer Name</text>
<border>0</border>
<color>33554432</color>
<x>745</x>
<y>2</y>
<height>16</height>
<width>281</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_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>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>69</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</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>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>73</x>
<y>2</y>
<height>19</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ref_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>163</x>
<y>2</y>
<height>19</height>
<width>100</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</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>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>265</x>
<y>2</y>
<height>19</height>
<width>97</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>364</x>
<y>2</y>
<height>19</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>12</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>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>464</x>
<y>2</y>
<height>19</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>549</x>
<y>2</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>646</x>
<y>2</y>
<height>19</height>
<width>97</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sorder_cust_code__dlv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>745</x>
<y>2</y>
<height>19</height>
<width>281</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>40</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>
$PBExportHeader$d_despeditprc11.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 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=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=376 color="536870912" )
table(column=(type=char(5) updatewhereclause=no name=site_code dbname="site_code" )
column=(type=char(10) updatewhereclause=no name=cust_code__fr dbname="cust_code__fr" initial="0" )
column=(type=char(10) updatewhereclause=no name=cust_code__to dbname="cust_code__to" initial="zz" )
column=(type=char(10) updatewhereclause=no name=cust_code__dlv_fr dbname="cust_code__dlv_fr" initial="0" )
column=(type=char(10) updatewhereclause=no name=cust_code__dlv_to dbname="cust_code__dlv_to" initial="zz" )
column=(type=char(5) updatewhereclause=no name=item_ser__fr dbname="item_ser__fr" initial="0" )
column=(type=char(5) updatewhereclause=no name=item_ser__to dbname="item_ser__to" initial="zz" )
column=(type=char(10) updatewhereclause=no name=item_code__fr dbname="item_code__fr" initial="0" )
column=(type=char(10) updatewhereclause=no name=item_code__to dbname="item_code__to" initial="zz" )
column=(type=char(15) updatewhereclause=no name=lot_no__fr dbname="lot_no__fr" initial="0" )
column=(type=char(15) updatewhereclause=no name=lot_no__to dbname="lot_no__to" initial="zz" )
column=(type=char(10) updatewhereclause=no name=sale_order__fr dbname="sale_order__fr" initial="0" )
column=(type=char(10) updatewhereclause=no name=sale_order__to dbname="sale_order__to" initial="zz" )
)
groupbox(band=detail text="Filter Parameters"border="2" color="33554432" x="30" y="22" height="208" width="542" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="198" y="50" height="19" width="30" format="[general]" html.valueishtml="0" name=site_code 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" )
column(band=detail id=12 alignment="0" tabsequence=20 border="0" color="33554432" x="198" y="74" height="16" width="95" format="[general]" html.valueishtml="0" name=sale_order__fr visible="1" edit.limit=0 edit.case=any edit.autoselect=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="To:" border="0" color="33554432" x="402" y="74" height="16" width="24" html.valueishtml="0" name=sale_order__to_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=13 alignment="0" tabsequence=30 border="0" color="33554432" x="431" y="74" height="16" width="95" format="[general]" html.valueishtml="0" name=sale_order__to visible="1" edit.limit=0 edit.case=any edit.autoselect=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="Site Code:" border="0" color="33554432" x="75" y="50" height="16" width="115" html.valueishtml="0" name=site_code_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" )
text(band=detail alignment="1" text="Sale Order From:" border="0" color="33554432" x="39" y="74" height="16" width="151" html.valueishtml="0" name=sale_order__fr_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" )
text(band=detail alignment="1" text="Customer Group From:" border="0" color="33554432" x="57" y="98" height="16" width="133" html.valueishtml="0" name=cust_code__fr_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=40 border="0" color="33554432" x="198" y="97" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__fr 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="To:" border="0" color="33554432" x="402" y="98" height="16" width="24" html.valueishtml="0" name=cust_code__to_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=50 border="0" color="33554432" x="431" y="97" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__to 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="Customer (Delivery) From:" border="0" color="33554432" x="39" y="122" height="16" width="151" html.valueishtml="0" name=cust_code__dlv_fr_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=4 alignment="0" tabsequence=60 border="0" color="33554432" x="198" y="121" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__dlv_fr 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="To:" border="0" color="33554432" x="402" y="122" height="16" width="24" html.valueishtml="0" name=cust_code__dlv_to_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=5 alignment="0" tabsequence=70 border="0" color="33554432" x="431" y="121" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__dlv_to 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="Item Series From:" border="0" color="33554432" x="75" y="146" height="16" width="115" html.valueishtml="0" name=item_ser__fr_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=6 alignment="0" tabsequence=80 border="0" color="33554432" x="198" y="145" height="19" width="48" format="[general]" html.valueishtml="0" name=item_ser__fr 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="To:" border="0" color="33554432" x="448" y="146" height="16" width="24" html.valueishtml="0" name=item_ser__to_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=7 alignment="0" tabsequence=90 border="0" color="33554432" x="478" y="145" height="19" width="48" format="[general]" html.valueishtml="0" name=item_ser__to 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="Item Code From:" border="0" color="33554432" x="75" y="170" height="16" width="115" html.valueishtml="0" name=item_code__fr_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=8 alignment="0" tabsequence=100 border="0" color="33554432" x="198" y="169" height="19" width="95" format="[general]" html.valueishtml="0" name=item_code__fr 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="To:" border="0" color="33554432" x="400" y="170" height="16" width="24" html.valueishtml="0" name=item_code__to_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=9 alignment="0" tabsequence=110 border="0" color="33554432" x="431" y="169" height="19" width="95" format="[general]" html.valueishtml="0" name=item_code__to 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="Lot No From:" border="0" color="33554432" x="75" y="194" height="16" width="115" html.valueishtml="0" name=lot_no__fr_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=10 alignment="0" tabsequence=120 border="0" color="33554432" x="198" y="193" height="19" width="126" format="[general]" html.valueishtml="0" name=lot_no__fr 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="To:" border="0" color="33554432" x="367" y="194" height="16" width="24" html.valueishtml="0" name=lot_no__to_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=11 alignment="0" tabsequence=130 border="0" color="33554432" x="400" y="193" height="19" width="126" format="[general]" html.valueishtml="0" name=lot_no__to 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
$PBExportHeader$d_despeditprc12.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 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=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(6) updatewhereclause=yes name=ref_ser dbname="wave_task_det.ref_ser" )
column=(type=char(10) updatewhereclause=yes name=ref_id dbname="wave_task_det.ref_id" )
column=(type=datetime updatewhereclause=yes name=tran_date dbname="despatch.tran_date" )
column=(type=char(10) updatewhereclause=yes name=ptcn dbname="wave_task_det.ptcn" )
column=(type=char(12) updatewhereclause=yes name=wave_id dbname="wave_task_det.wave_id" )
column=(type=char(10) updatewhereclause=yes name=sale_order dbname="sorder.sale_order" )
column=(type=char(10) updatewhereclause=yes name=cust_code dbname="sorder.cust_code" )
column=(type=char(10) updatewhereclause=yes name=sorder_cust_code__dlv dbname="sorder.cust_code__dlv" )
column=(type=char(40) updatewhereclause=yes name=customer_cust_name dbname="customer.cust_name" )
retrieve=" SELECT W.REF_SER REF_SER, W.REF_ID REF_ID, D.DESP_DATE TRAN_DATE, W.PTCN PTCN, W.WAVE_ID WAVE_ID, S.SALE_ORDER SALE_ORDER, S.cust_code cust_code,
S.cust_code__dlv cust_code__dlv, c.cust_name cust_name
FROM despatch D, WAVE_TASK_DET W, customer C, SORDER S, WAVE_TASK WH
WHERE S.cust_code__dlv = C.cust_code
AND D.SORD_NO = S.SALE_ORDER
AND W.WAVE_ID = WH.WAVE_ID
AND W.REF_ID = D.DESP_ID
AND W.REF_SER = 'S-DSP'
AND CASE WHEN D.confirmed IS NULL THEN 'N' ELSE D.confirmed END = 'N'
AND CASE WHEN WH.CANCEL IS NULL THEN 'N' ELSE WH.CANCEL END = 'N'
and D.sord_no = :SALE_ORDER
" arguments=(("SALE_ORDER", string)) )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=ref_ser visible="1" edit.limit=6 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" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="73" y="2" height="19" width="88" format="[general]" html.valueishtml="0" name=ref_id visible="1" edit.limit=10 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" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="163" y="2" height="19" width="100" format="[shortdate] [time]" html.valueishtml="0" name=tran_date 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" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="265" y="2" height="19" width="97" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 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" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="364" y="2" height="19" width="98" format="[general]" html.valueishtml="0" name=wave_id visible="1" edit.limit=12 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" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="464" y="2" height="19" width="83" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=10 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" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="549" y="2" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code visible="1" edit.limit=10 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" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="646" y="2" height="19" width="97" format="[general]" html.valueishtml="0" name=sorder_cust_code__dlv visible="1" edit.limit=10 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" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="745" y="2" height="19" width="281" format="[general]" html.valueishtml="0" name=customer_cust_name visible="1" edit.limit=40 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=header alignment="0" text="Ref. Series" border="0" color="33554432" x="2" y="2" height="16" width="69" html.valueishtml="0" name=ref_ser_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" )
text(band=header alignment="0" text="Reference ID" border="0" color="33554432" x="73" y="2" height="16" width="88" html.valueishtml="0" name=ref_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" )
text(band=header alignment="0" text="Transaction Date" border="0" color="33554432" x="163" y="2" height="16" width="100" html.valueishtml="0" name=tran_date_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" )
text(band=header alignment="0" text="PTCN" border="0" color="33554432" x="265" y="2" height="16" width="97" 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" )
text(band=header alignment="0" text="Wave Id" border="0" color="33554432" x="364" y="2" height="16" width="98" html.valueishtml="0" name=wave_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" )
text(band=header alignment="0" text="Sale Order" border="0" color="33554432" x="464" y="2" height="16" width="83" html.valueishtml="0" name=sale_order_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" )
text(band=header alignment="0" text="Customer Code" border="0" color="33554432" x="549" y="2" height="16" width="95" html.valueishtml="0" name=cust_code_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" )
text(band=header alignment="0" text="Cust Code Dlv" border="0" color="33554432" x="646" y="2" height="16" width="97" html.valueishtml="0" name=cust_code__dlv_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" )
text(band=header alignment="0" text="Customer Name" border="0" color="33554432" x="745" y="2" height="16" width="281" html.valueishtml="0" name=cust_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" )
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