Commit c5eb9f82 authored by tmahadi's avatar tmahadi

Statement Recd Date source merged by sagar in head


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104696 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 14208528
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.text.ParseException;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless
public class StatementRcdDateIC extends ValidatorEJB implements StatementRcdDateICLocal , StatementRcdDateICRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
private String checkNull(String input)
{
return input == null ? "" : input.trim();
}
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException, ITMException
{
String errString = "";
Document dom = null;
Document dom1 = null;
Document dom2 = null;
System.out.println("XmlString :::::::::: "+xmlString);
System.out.println("XmlString1 :::::::::: "+xmlString1);
System.out.println("XmlString2 :::::::::: "+xmlString2);
try
{
if (xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
System.out.println("Dom ::::::: "+dom);
}
if (xmlString1 != null && xmlString1.trim().length() > 0) {
dom1 = genericUtility.parseString(xmlString1);
System.out.println("Dom1 ::::::: "+dom1);
}
if (xmlString2 != null && xmlString2.trim().length() > 0) {
dom2 = genericUtility.parseString(xmlString2);
System.out.println("Dom2 ::::::: "+dom2);
}
errString = wfValData(dom, dom1, dom2, objContext, editFlag,xtraParams);
}
catch (Exception e)
{
throw new ITMException(e);
}
return (errString);
}
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException
{
String childNodeName = null , itemSer = "" , terrName = "" , prdCode = "" ,
stmtRcdStr = "" , city = "" , countryCode = "" , loginSiteCode = "" , subSql = "";
String errString = "";
String errCode = "";
String userId = "";
String sql = "";
String errorType = "";
int cnt = 0 , ctr = 0;
int childNodeListLength = 0;
int parentNodeListLength = 0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
//ConnDriver connDriver = null;
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
int currentFormNo = 0;
java.sql.Date dtToday = null , stmtRecdDate = null , sysdate = null;
boolean val = false ;
try
{
System.out.println("@@@@@@@@ wfvaldata called");
System.out.println("Current DOM [" + genericUtility.serializeDom(dom) + "]");
System.out.println("Header DOM [" + genericUtility.serializeDom(dom1) + "]");
System.out.println("Dom All [" + genericUtility.serializeDom(dom2) + "]");
//connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
switch (currentFormNo)
{
case 1:
NodeList parentList = dom.getElementsByTagName("Detail1");
NodeList childList = null;
System.out.println("Dom..." + dom.toString());
childList = parentList.item(0).getChildNodes();
int noOfChilds = childList.getLength();
for (ctr = 0; ctr < noOfChilds; ctr++)
{
childNode = childList.item(ctr);
if (childNode.getNodeType() != 1)
{
continue;
}
childNodeName = childNode.getNodeName();
if ("prd_code".equalsIgnoreCase(childNodeName))
{
prdCode = genericUtility.getColumnValue("prd_code", dom);
itemSer = genericUtility.getColumnValue("item_ser", dom);
city = genericUtility.getColumnValue("city", dom);
terrName = checkNull(genericUtility.getColumnValue("territory_name", dom));
System.out.println("Period Code :::::::: "+prdCode+ " item series :::::::: "+itemSer);
if(prdCode == null || prdCode.trim().length()==0)
{
errList.add("VTPRDBLK");
errFields.add(childNodeName.toLowerCase());
}
if(itemSer == null || itemSer.trim().length()==0)
{
errList.add("VTTBLNULL");//Invalid-Division can not be blank
errFields.add(childNodeName.toLowerCase());
}
else if((itemSer != null && itemSer.trim().length() > 0) && (prdCode != null && prdCode.trim().length() > 0))
{
sql = "SELECT COUNT(*) AS COUNT FROM ITEMSER WHERE ITEM_SER = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itemSer);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("COUNT");
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("Count: " + cnt);
if (cnt == 0)
{
errList.add("VTINVDIV");//Invalid-Division Does not exist
errFields.add(childNodeName.toLowerCase());
}
sql= "SELECT COUNT_CODE FROM STATE WHERE " +
"STATE_CODE IN (SELECT STATE_CODE FROM SITE WHERE SITE_CODE=?)";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginSiteCode );
rs = pstmt.executeQuery();
if(rs.next())
{
countryCode = checkNull(rs.getString("count_code")).trim();
System.out.println("countryCode >>> :"+countryCode);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
sql = "SELECT COUNT(*) FROM PERIOD_APPL A,PERIOD_TBL B " +
"WHERE A.REF_CODE=A.PRD_TBLNO AND A.PRD_TBLNO=B.PRD_TBLNO " +
" AND B.PRD_CODE = ? " +
"AND B.PRD_TBLNO=? " ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,prdCode.trim());
pstmt.setString(2,countryCode+"_"+itemSer.trim());
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if (cnt == 0)
{
System.out.println("Error :Period not exist in period_tbl master ");
errCode = "VMINVPRDTB";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
if(city == null || city.trim().length() == 0)
{
subSql = "";
}
else
{
System.out.println("city :::: "+city);
subSql = "AND UPPER(D.CITY) LIKE '%" +city+ "%'";
}
System.out.println("terrName ::::::::: "+terrName);
sql = "SELECT COUNT(*) " +
" FROM CUST_STOCK A , ORG_STRUCTURE B , HIERARCHY C , CUSTOMER D WHERE A.POS_CODE = B.POS_CODE AND" +
" A.ITEM_SER = B.TABLE_NO AND B.VERSION_ID = C.VERSION_ID AND B.TABLE_NO=C.TABLE_NO AND A.CUST_CODE=D.CUST_CODE " +
" AND B.VERSION_ID IN(SELECT FN_GET_VERSION_ID FROM DUAL ) AND" +
" A.PRD_CODE = ? AND A.ITEM_SER = ? AND UPPER(C.LEVEL_DESCR) LIKE '%"+terrName+"%' AND" +
" B.POOL_CODE = C.LEVEL_CODE AND A.POS_CODE IS NOT NULL "+subSql ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCode);
pstmt.setString(2, itemSer);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = rs.getInt(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if (cnt == 0)
{
System.out.println("Record does not exist ");
errCode = "VTNULLREC";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
else if("territory_name".equalsIgnoreCase(childNodeName))
{
terrName = genericUtility.getColumnValue("territory_name", dom);
if(terrName == null || terrName.trim().length() == 0)
{
errList.add("VTNULLTERR");
errFields.add(childNodeName.toLowerCase());
}
}
}
break;
case 2:
parentList = dom2.getElementsByTagName("Detail2");
parentNodeListLength = parentList.getLength();
System.out.println("parentNodeListLength :::::::::"+ parentNodeListLength);
for (int selectedRow = 0; selectedRow < parentNodeListLength; selectedRow++) {
System.out.println("selectted row:::" + selectedRow);
parentNode = parentList.item(selectedRow);
if (parentNode != null)
{
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
}
System.out.println("@@@@@@@@@@@@childNodeListLength["+ childNodeListLength + "]");
for (ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
System.out.println("childNodeName====" + childNodeName);
if ("stmt_recd_date".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
//stmtRcdStr = genericUtility.getColumnValue("stmt_recd_date", dom2);
stmtRcdStr = checkNull(childNode.getFirstChild().getNodeValue());
if(stmtRcdStr == null || stmtRcdStr.trim().length() == 0 )
{
errCode = "VTSTMTRCD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else
{
val=isValidDate(stmtRcdStr);
if(!val)
{
errString = itmDBAccessEJB.getErrorString("","VTERRDATE","","",conn);
return errString;
}
else
{
stmtRecdDate = new java.sql.Date(sdf.parse(stmtRcdStr).getTime());
sql="SELECT SYSDATE FROM DUAL";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
sysdate = rs.getDate(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(stmtRecdDate.after(sysdate))
{
errCode = "VTSTMTINV";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
System.out.println("stmtRcdStr from detail==== "+ stmtRcdStr);
}
}
// end for
}// end of selected row
break; // case 2 end// case 1 end
}
int errListSize = errList.size();
cnt = 0;
String errFldName = "";
if ((errList != null) && (errListSize > 0))
{
for (cnt = 0; cnt < errListSize; cnt++)
{
errCode = (String) errList.get(cnt);
errFldName = (String) errFields.get(cnt);
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 + 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("");
}
} catch (Exception e) {
e.printStackTrace();
errString = e.getMessage();
throw new ITMException(e);
} finally {
try {
if (conn != null) {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
conn.close();
}
conn = null;
} catch (Exception d) {
System.out.println("Exception :"+this.getClass().getSimpleName()+":wfValData :==>\n" + d.getMessage());
}
}
errString = errStringXml.toString();
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;
}
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn,String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String valueXmlString = "";
System.out.println("XmlString :::::::::: "+xmlString);
System.out.println("XmlString1 :::::::::: "+xmlString1);
System.out.println("XmlString2 :::::::::: "+xmlString2);
try
{
if (xmlString != null && xmlString.trim().length() > 0)
{
dom = parseString(xmlString);
System.out.println("Dom ::::::: "+dom);
}
if (xmlString1 != null && xmlString1.trim().length() > 0) {
dom1 = parseString(xmlString1);
System.out.println("Dom1 ::::::: "+dom1);
}
if (xmlString2 != null && xmlString2.trim().length() > 0) {
dom2 = parseString(xmlString2);
System.out.println("Dom2 ::::::: "+dom2);
}
valueXmlString = itemChanged(dom, dom1, dom2, objContext,currentColumn, editFlag, xtraParams);
} catch (Exception e) {
System.out.println("Exception : [StatementRcdDateIC] :==>\n"+ e.getMessage());
throw new ITMException(e);
}
return valueXmlString;
}
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag,String xtraParams) throws RemoteException, ITMException
{
int currentFormNo = 0;
String sql = "" , itemSer = "" , prdCode = "" , custCode = "" , custName = "" , posCode = "" , empCode = "" , tranId = "" , terrName = "" , city = "" ,
empName = "" , positionDescr = "" , frdatStr = "" , todatStr = "" , stmtdatStr = "" , loginSiteCode = "" , subSql = "" , stmtRecdDateStr = "";
StringBuffer valueXmlString = new StringBuffer();
PreparedStatement pstmt = null , pstmt1 = null;
ResultSet rs = null , rs1 = null;
Connection conn = null;
Timestamp frData = null , toData = null , stmtDate = null , stmtRecdDate = null;
int cnt=0;
System.out.println("inside itemchange::::::");
try
{
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext.trim());
}
loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
System.out.println("loginSiteCode :::::::: "+loginSiteCode);
System.out.println("**********ITEMCHANGE FOR CASE" + currentFormNo+ "**************");
Date dtToday = Calendar.getInstance().getTime();
String strToday = genericUtility.getValidDateString(dtToday,genericUtility.getApplDateFormat());
//ConnDriver con = new ConnDriver();
//conn = con.getConnectDB("DriverITM");
conn = getConnection();
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n");
switch (currentFormNo)
{
case 1:
if ("itm_default".equalsIgnoreCase(currentColumn))
{
System.out.println("inside itm_default case 1 : ");
valueXmlString.append("<Detail1>\r\n");
valueXmlString.append("<attribute updateFlag='N' selected='N' />\r\n");
valueXmlString.append("<prd_code>").append("<![CDATA[]]>").append("</prd_code>\r\n");
valueXmlString.append("<item_ser>").append("<![CDATA[]]>").append("</item_ser>\r\n");
valueXmlString.append("<territory_name>").append("<![CDATA[]]>").append("</territory_name>\r\n");
valueXmlString.append("<city>").append("<![CDATA[]]>").append("</city>\r\n");
valueXmlString.append("</Detail1>\r\n");
}
break;
case 2:
if ("itm_default".equalsIgnoreCase(currentColumn))
{
System.out.println("inside item_default");
itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom1));
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom1));
terrName = checkNull(genericUtility.getColumnValue("territory_name", dom1));
city = genericUtility.getColumnValue("city", dom1);
if(city == null || city.trim().length() == 0)
{
subSql = "";
}
else
{
System.out.println("city :::: "+city);
subSql = "AND UPPER(D.CITY) LIKE '%" +city+ "%'";
}
System.out.println("itemSer ::::::::"+itemSer + " prdCode :::::::: " +prdCode);
sql = "SELECT A.PRD_CODE , A.ITEM_SER , C.LEVEL_DESCR , D.CITY , A.CUST_CODE , D.CUST_NAME , A.POS_CODE , A.FROM_DATE , A.TO_DATE , A.STMT_DATE , A.STMT_RECD_DATE , A.EMP_CODE , A.TRAN_ID " +
" FROM CUST_STOCK A , ORG_STRUCTURE B , HIERARCHY C , CUSTOMER D WHERE A.POS_CODE = B.POS_CODE AND" +
" A.ITEM_SER = B.TABLE_NO AND B.VERSION_ID = C.VERSION_ID AND B.TABLE_NO=C.TABLE_NO AND A.CUST_CODE=D.CUST_CODE " +
" AND B.VERSION_ID IN(SELECT FN_GET_VERSION_ID FROM DUAL ) AND" +
" A.PRD_CODE = ? AND A.ITEM_SER = ? AND UPPER(C.LEVEL_DESCR) LIKE '%"+terrName+"%' AND" +
" B.POOL_CODE = C.LEVEL_CODE AND A.POS_CODE IS NOT NULL "+subSql ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCode);
pstmt.setString(2, itemSer);
//pstmt.setString(3, terrName);
//pstmt.setString(4, city);
rs = pstmt.executeQuery();
while(rs.next())
{
prdCode = checkNull(rs.getString("PRD_CODE"));
itemSer = checkNull(rs.getString("ITEM_SER"));
custCode = checkNull(rs.getString("CUST_CODE"));
frData = rs.getTimestamp("FROM_DATE");
toData = rs.getTimestamp("TO_DATE");
stmtDate = rs.getTimestamp("STMT_DATE");
stmtRecdDate = rs.getTimestamp("STMT_RECD_DATE");
posCode = rs.getString("POS_CODE");
empCode = rs.getString("EMP_CODE");
tranId = checkNull(rs.getString("TRAN_ID"));
terrName = checkNull(rs.getString("LEVEL_DESCR"));
city = checkNull(rs.getString("CITY"));
custName = checkNull(rs.getString("CUST_NAME"));
cnt++;
System.out.println("cust_code::::::::"+custCode);
System.out.println("frData:::::::::::::"+frData);
System.out.println("toData::::::::"+toData);
System.out.println("stmtDate::::::::"+stmtDate);
System.out.println("Date stmtRcdDate::::::::"+strToday);
System.out.println("empCode::::::::::"+empCode);
System.out.println("tranId::::::::::"+tranId);
System.out.println("City::::::::::"+city);
if( posCode != null && posCode.length() > 0 )
{
sql = "SELECT FN_GET_POSCODE_DESCR(?) AS DESCR FROM DUAL ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, rs.getString("POS_CODE"));
rs1 = pstmt1.executeQuery();
if (rs1.next())
{
positionDescr = checkNull(rs1.getString("descr"));
System.out.println("descr :::"+positionDescr);
}
rs1.close();
rs1 = null;
pstmt1.close();
pstmt1 = null;
}
if( empCode != null && empCode.length() > 0 )
{
sql = "SELECT EMP_FNAME||' '||EMP_MNAME||' '||EMP_LNAME AS NAME FROM EMPLOYEE WHERE EMP_CODE=? ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, empCode);
rs1 = pstmt1.executeQuery();
if (rs1.next())
{
empName = checkNull(rs1.getString("name"));
System.out.println("empName :" + empName);
}
rs1.close();
rs1 = null;
pstmt1.close();
pstmt1 = null;
}
if( frData != null ){
frdatStr = checkNull(genericUtility.getValidDateString(frData.toString(), genericUtility.getDBDateFormat(),genericUtility.getApplDateFormat()));
}
if( toData != null )
{
todatStr = checkNull(genericUtility.getValidDateString(toData.toString(), genericUtility.getDBDateFormat(),genericUtility.getApplDateFormat()));
}
if( stmtDate != null )
{
stmtdatStr = checkNull(genericUtility.getValidDateString(stmtDate.toString(), genericUtility.getDBDateFormat(),genericUtility.getApplDateFormat()));
}
valueXmlString.append("<Detail2 domID='"+cnt+"'>\r\n");
valueXmlString.append("<attribute updateFlag='N' selected='N' />\r\n");
valueXmlString.append("<cust_code>").append("<![CDATA["+custCode+"]]>").append("</cust_code>\r\n");
valueXmlString.append("<cust_name>").append("<![CDATA["+custName+"]]>").append("</cust_name>\r\n");
valueXmlString.append("<prd_code>").append("<![CDATA["+prdCode+"]]>").append("</prd_code>\r\n");
valueXmlString.append("<item_ser>").append("<![CDATA["+itemSer+"]]>").append("</item_ser>\r\n");
valueXmlString.append("<pos_code>").append("<![CDATA["+posCode+"]]>").append("</pos_code>\r\n");
valueXmlString.append("<position_descr>").append("<![CDATA["+positionDescr+"]]>").append("</position_descr>\r\n");
valueXmlString.append("<territory_name>").append("<![CDATA["+terrName+"]]>").append("</territory_name>\r\n");
valueXmlString.append("<city>").append("<![CDATA["+city+"]]>").append("</city>\r\n");
valueXmlString.append("<from_date>").append("<![CDATA["+frdatStr+"]]>").append("</from_date>\r\n");
valueXmlString.append("<to_date>").append("<![CDATA["+todatStr+"]]>").append("</to_date>\r\n");
valueXmlString.append("<stmt_date>").append("<![CDATA["+stmtdatStr+"]]>").append("</stmt_date>\r\n");
if(stmtRecdDate == null)
{
valueXmlString.append("<stmt_recd_date>").append("<![CDATA["+strToday+"]]>").append("</stmt_recd_date>\r\n");
}
else
{
stmtRecdDateStr = checkNull(genericUtility.getValidDateString(stmtRecdDate.toString(), genericUtility.getDBDateFormat(),genericUtility.getApplDateFormat()));
valueXmlString.append("<stmt_recd_date>").append("<![CDATA["+stmtRecdDateStr+"]]>").append("</stmt_recd_date>\r\n");
}
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>\r\n");
valueXmlString.append("<emp_name>").append("<![CDATA["+empName+"]]>").append("</emp_name>\r\n");
valueXmlString.append("<tran_id>").append("<![CDATA["+tranId+"]]>").append("</tran_id>\r\n");
valueXmlString.append("</Detail2>\r\n");
}
}
break;
}
valueXmlString.append("</Root>");
}
catch (Exception e) {
e.printStackTrace();
System.out.println("Exception ::" + e.getMessage());
throw new ITMException(e);
} finally {
try {
if (conn != null) {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
conn.close();
}
conn = null;
} catch (Exception d) {
d.printStackTrace();
}
}
return valueXmlString.toString();
}
public boolean isValidDate(String dateString) throws ITMException, Exception {
try {
SimpleDateFormat df = new SimpleDateFormat(genericUtility.getApplDateFormat());
df.setLenient(false);
df.parse(dateString);
return true;
} catch (ParseException e) {
return false;
}
}
}
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
@Local
public interface StatementRcdDateICLocal extends ValidatorLocal
{
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) 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;
}
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
@Remote
public interface StatementRcdDateICRemote extends ValidatorRemote
{
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) 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;
}
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless
public class StatementRcdDatePos extends ValidatorEJB implements StatementRcdDatePosLocal , StatementRcdDatePosRemote{
public String postSave(String xmlString,String tranId,String editFlag, String xtraParams,Connection conn) throws RemoteException,ITMException
{
System.out.println("------------ postSave method called-111111111----------------StatementRcdDatePos : ");
System.out.println("tranId111--->>["+tranId+"]");
System.out.println("xml String--->>["+xmlString+"]");
Document dom = null;
String errString="";
try
{
if (xmlString != null && xmlString.trim().length() > 0)
{
dom = parseString(xmlString);
errString = postSave(dom,tranId,xtraParams,conn);
}
}
catch(Exception e)
{
System.out.println("Exception : StatementRcdDatePos.java : postSave : ==>\n"+e.getMessage());
throw new ITMException(e);
}
return errString;
}
public String postSave(Document dom,String tranId,String xtraParams,Connection conn) throws ITMException
{
System.out.println("in StatementRcdDatePos tran_id---->>["+tranId+"]");
ResultSet rs=null;
PreparedStatement pstmt=null;
SimpleDateFormat sdf =null;
Timestamp currDate = null , stmtrcdDate=null , stmtRecdDate = null;
String sql = "" , errorString = "" , stmtRecdDateStr = "" ;
String chgUser = "" , chgTerm = "" , userId = "";
String errString = "";
String selectedValue = "";
int cnt=0 , updateCount=0;
ITMDBAccessEJB itmDBAccessEJB = null;
ibase.utility.E12GenericUtility genericUtility = null;
genericUtility = new ibase.utility.E12GenericUtility();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
boolean isSelect=false;
try
{
itmDBAccessEJB = new ITMDBAccessEJB();
chgUser =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"));
chgTerm =(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "chgTerm"));
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
currDate = new Timestamp(System.currentTimeMillis());
System.out.println("TimeStamp>>>>>>>>>>"+currDate);
NodeList parentList = dom.getElementsByTagName("Detail2");
System.out.println("parentList==="+parentList);
System.out.println("len===["+parentList.getLength()+"]");
if(parentList.getLength()==0 )
{
System.out.println(">No Data Selected"+isSelect);
errString = itmDBAccessEJB.getErrorString("","VTNODATA","","",conn);
return errString;
}
for (int ctr = 0; ctr < parentList.getLength(); ctr++)
{
Node detailListNode = parentList.item(ctr);
NodeList detail2List= detailListNode.getChildNodes();
System.out.println("detailListNode===="+detailListNode);
if("Detail2".equalsIgnoreCase(detailListNode.getNodeName()))
{
System.out.println("detail2List===="+detail2List);
for (int cntr = 0; cntr < detail2List.getLength(); cntr++)
{
Node detail2Node = detail2List.item(cntr);
System.out.println("detail2Node===="+detail2Node);
if(detail2Node != null && detail2Node.getNodeName().equalsIgnoreCase("attribute"))
{
System.out.println("Check for selected Value######");
selectedValue = detail2Node.getAttributes().getNamedItem("selected").getNodeValue();
System.out.println("selectedValue=========="+selectedValue);
}
if("tran_id".equalsIgnoreCase( detail2Node.getNodeName()))
{
if( detail2List.item(cntr).getFirstChild() != null)
{
tranId = detail2List.item(cntr).getFirstChild().getNodeValue();
}
}
if("stmt_recd_date".equalsIgnoreCase( detail2Node.getNodeName()))
{
if( detail2List.item(cntr).getFirstChild() != null)
{
stmtRecdDateStr = detail2List.item(cntr).getFirstChild().getNodeValue();
System.out.println("stmtrcdDate ::::::: "+stmtRecdDateStr);
if(stmtRecdDateStr.trim().length() > 0)
{
stmtrcdDate = Timestamp.valueOf(genericUtility.getValidDateString(stmtRecdDateStr, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
}
}
}
System.out.println("Tran_id ::: "+tranId + " stmt_recd_date ::::::::::"+stmtrcdDate);
sql = " UPDATE CUST_STOCK SET STMT_RECD_DATE = ? , CHG_TERM = ? , CHG_USER = ? , CHG_DATE = ? WHERE TRAN_ID = ? ";
pstmt=conn.prepareStatement(sql);
pstmt.setTimestamp(1, stmtrcdDate);
pstmt.setString(2, chgTerm);
pstmt.setString(3, chgUser);
pstmt.setTimestamp(4, currDate);
pstmt.setString(5, tranId);
updateCount = pstmt.executeUpdate();
cnt++;
//updateCount++;
pstmt.close();
pstmt = null;
System.out.println("cnt::::"+cnt+ " updateCount::::::"+updateCount);
}
}
if(cnt == parentList.getLength())
{
errString = "";
}
else
{
return errString = getErrorString("","VTFAILUPD", userId);
}
}
catch(Exception e)
{
System.out.println("Exception ::"+e.getMessage());
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
System.out.println(">>>>>In finally errString:"+errString);
if(errString == null || errString.trim().length() == 0)
{
conn.commit();
}
else
{
conn.rollback();
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
System.out.println("Exception : "+e);e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
}
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import java.sql.Connection;
import javax.ejb.Local;
@Local
public interface StatementRcdDatePosLocal extends ValidatorLocal
{
public String postSave(String xmlString,String tranId,String editFlag, String xtraParams,Connection conn) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import java.sql.Connection;
import javax.ejb.Remote;
@Remote
public interface StatementRcdDatePosRemote extends ValidatorRemote
{
public String postSave(String xmlString,String tranId,String editFlag, String xtraParams,Connection conn) 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>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>
<Header>
<height>6</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>271</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code</name>
<dbname>prd_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>item_ser</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>territory_name</name>
<dbname>territory_name</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>city</name>
<dbname>city</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Prd Code:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>1</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>Item Ser:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>24</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>Detail</band>
<alignment>1</alignment>
<text>Territory Name:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>47</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>City:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>70</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city_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>0</border>
<color>33554432</color>
<x>103</x>
<y>47</y>
<height>16</height>
<width>97</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>103</x>
<y>70</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>1</id>
<alignment>1</alignment>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>103</x>
<y>1</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>103</x>
<y>24</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>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>2</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code</name>
<dbname>cust_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_name</name>
<dbname>cust_name</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code</name>
<dbname>prd_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>item_ser</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pos_code</name>
<dbname>pos_code</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>position_descr</name>
<dbname>position_descr</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>territory_name</name>
<dbname>territory_name</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>city</name>
<dbname>city</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>from_date</name>
<dbname>from_date</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>to_date</name>
<dbname>to_date</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>stmt_date</name>
<dbname>stmt_date</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>stmt_recd_date</name>
<dbname>stmt_recd_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>emp_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_name</name>
<dbname>emp_name</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id</name>
<dbname>tran_id</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Customer Code</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>96</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>2</alignment>
<text>Name</text>
<border>0</border>
<color>33554432</color>
<x>100</x>
<y>2</y>
<height>16</height>
<width>241</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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Period Code</text>
<border>0</border>
<color>33554432</color>
<x>343</x>
<y>2</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>2</alignment>
<text>Division</text>
<border>0</border>
<color>33554432</color>
<x>421</x>
<y>2</y>
<height>16</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>2</alignment>
<text>Position Code</text>
<border>0</border>
<color>33554432</color>
<x>492</x>
<y>2</y>
<height>16</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_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>2</alignment>
<text>Description</text>
<border>0</border>
<color>33554432</color>
<x>565</x>
<y>2</y>
<height>16</height>
<width>180</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>position_descr_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>2</alignment>
<text>Territory Name</text>
<border>0</border>
<color>33554432</color>
<x>747</x>
<y>2</y>
<height>16</height>
<width>170</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>City</text>
<border>0</border>
<color>33554432</color>
<x>919</x>
<y>2</y>
<height>16</height>
<width>116</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city_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>2</alignment>
<text>From Date</text>
<border>0</border>
<color>33554432</color>
<x>1037</x>
<y>2</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_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>2</alignment>
<text>To Date</text>
<border>0</border>
<color>33554432</color>
<x>1124</x>
<y>2</y>
<height>16</height>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_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>2</alignment>
<text>Statement Date</text>
<border>0</border>
<color>33554432</color>
<x>1212</x>
<y>2</y>
<height>16</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_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>2</alignment>
<text>Statement Received Date</text>
<border>0</border>
<color>33554432</color>
<x>1301</x>
<y>2</y>
<height>16</height>
<width>117</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_recd_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>2</alignment>
<text>Employee Code</text>
<border>0</border>
<color>33554432</color>
<x>1420</x>
<y>2</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>2</alignment>
<text>Employee Name</text>
<border>0</border>
<color>33554432</color>
<x>1505</x>
<y>2</y>
<height>16</height>
<width>196</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Id</text>
<border>0</border>
<color>33554432</color>
<x>1703</x>
<y>2</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_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>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>100</x>
<y>2</y>
<height>19</height>
<width>241</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_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>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>343</x>
<y>2</y>
<height>19</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>421</x>
<y>2</y>
<height>19</height>
<width>69</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</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>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>492</x>
<y>2</y>
<height>19</height>
<width>71</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_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>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>565</x>
<y>2</y>
<height>19</height>
<width>180</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>position_descr</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>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>747</x>
<y>2</y>
<height>19</height>
<width>170</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_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>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>919</x>
<y>2</y>
<height>19</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city</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>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1038</x>
<y>2</y>
<height>19</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1125</x>
<y>2</y>
<height>19</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1213</x>
<y>2</y>
<height>19</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1302</x>
<y>2</y>
<height>19</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_recd_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1420</x>
<y>2</y>
<height>19</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1505</x>
<y>2</y>
<height>19</height>
<width>196</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1703</x>
<y>2</y>
<height>19</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>
<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>
<Header>
<height>6</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>271</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code</name>
<dbname>prd_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>item_ser</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>territory_name</name>
<dbname>territory_name</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>city</name>
<dbname>city</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Prd Code:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>1</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>Item Ser:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>24</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>Detail</band>
<alignment>1</alignment>
<text>Territory Name:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>47</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>City:</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>70</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city_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>0</border>
<color>33554432</color>
<x>103</x>
<y>47</y>
<height>16</height>
<width>97</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>40</tabsequence>
<border>0</border>
<color>33554432</color>
<x>103</x>
<y>70</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>1</id>
<alignment>1</alignment>
<tabsequence>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>103</x>
<y>1</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>103</x>
<y>24</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>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>2</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code</name>
<dbname>cust_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_name</name>
<dbname>cust_name</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code</name>
<dbname>prd_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>item_ser</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pos_code</name>
<dbname>pos_code</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>position_descr</name>
<dbname>position_descr</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>territory_name</name>
<dbname>territory_name</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>city</name>
<dbname>city</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>from_date</name>
<dbname>from_date</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>to_date</name>
<dbname>to_date</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>stmt_date</name>
<dbname>stmt_date</dbname>
</table_column>
<table_column>
<type>date</type>
<updatewhereclause>yes</updatewhereclause>
<name>stmt_recd_date</name>
<dbname>stmt_recd_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>emp_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_name</name>
<dbname>emp_name</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id</name>
<dbname>tran_id</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Customer Code</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>96</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>2</alignment>
<text>Name</text>
<border>0</border>
<color>33554432</color>
<x>100</x>
<y>2</y>
<height>16</height>
<width>241</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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Period Code</text>
<border>0</border>
<color>33554432</color>
<x>343</x>
<y>2</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>2</alignment>
<text>Division</text>
<border>0</border>
<color>33554432</color>
<x>421</x>
<y>2</y>
<height>16</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>2</alignment>
<text>Position Code</text>
<border>0</border>
<color>33554432</color>
<x>492</x>
<y>2</y>
<height>16</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_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>2</alignment>
<text>Description</text>
<border>0</border>
<color>33554432</color>
<x>565</x>
<y>2</y>
<height>16</height>
<width>180</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>position_descr_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>2</alignment>
<text>Territory Name</text>
<border>0</border>
<color>33554432</color>
<x>747</x>
<y>2</y>
<height>16</height>
<width>170</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>City</text>
<border>0</border>
<color>33554432</color>
<x>919</x>
<y>2</y>
<height>16</height>
<width>116</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city_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>2</alignment>
<text>From Date</text>
<border>0</border>
<color>33554432</color>
<x>1037</x>
<y>2</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_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>2</alignment>
<text>To Date</text>
<border>0</border>
<color>33554432</color>
<x>1124</x>
<y>2</y>
<height>16</height>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_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>2</alignment>
<text>Statement Date</text>
<border>0</border>
<color>33554432</color>
<x>1212</x>
<y>2</y>
<height>16</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_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>2</alignment>
<text>Statement Received Date</text>
<border>0</border>
<color>33554432</color>
<x>1301</x>
<y>2</y>
<height>16</height>
<width>117</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_recd_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>2</alignment>
<text>Employee Code</text>
<border>0</border>
<color>33554432</color>
<x>1420</x>
<y>2</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>2</alignment>
<text>Employee Name</text>
<border>0</border>
<color>33554432</color>
<x>1505</x>
<y>2</y>
<height>16</height>
<width>196</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Id</text>
<border>0</border>
<color>33554432</color>
<x>1703</x>
<y>2</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_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>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>100</x>
<y>2</y>
<height>19</height>
<width>241</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_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>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>343</x>
<y>2</y>
<height>19</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>421</x>
<y>2</y>
<height>19</height>
<width>69</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</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>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>492</x>
<y>2</y>
<height>19</height>
<width>71</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_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>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>565</x>
<y>2</y>
<height>19</height>
<width>180</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>position_descr</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>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>747</x>
<y>2</y>
<height>19</height>
<width>170</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>territory_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>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>919</x>
<y>2</y>
<height>19</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city</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>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1038</x>
<y>2</y>
<height>19</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1125</x>
<y>2</y>
<height>19</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1213</x>
<y>2</y>
<height>19</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>10</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1302</x>
<y>2</y>
<height>19</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stmt_recd_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1420</x>
<y>2</y>
<height>19</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1505</x>
<y>2</y>
<height>19</height>
<width>196</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_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>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1703</x>
<y>2</y>
<height>19</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>
<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>
-- transetup
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)
values ('w_stmt_rcd_date_updprc','2','2','M',null,null,null,null,null,null,'Y',
to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE','BASE','1',null,'CONFIRMED','Y',null,null,null,null,null,null,null,'0','0','N',null,null,null,null,null,null,null,null,'0',
null,null,null,null,null,null,null,null,null,null,null,'F',null,null,null,null,null,null,null,null,null,null,'0','0',null,null,null,null,null,null,null,null,null,null,null,'M',null,null,null,null,null,
null,'2',null,null,null,'Y');
-- itm2menu
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) values ('DIS',11,21,0,0,0,'w_stmt_rcd_date_updprc','Statement Recieved Date','Statement Recieved Date Update Process','DIS.11.21.0.0.0','e12_logo.gif',null,null,'Z',to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE','BASE');
-- obj_forms
Insert into obj_forms (WIN_NAME,TITLE,EXPR_COMMENT,FORM_NO)values ('w_stmt_rcd_date_updprc','Header','1','F');
insert into obj_forms (win_name,title,expr_comment,form_no)values ('w_stmt_rcd_date_updprc','Detail','2','T');
-- obj_actions
Insert into obj_actions (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE) values ('stmt_rcd_date_updprc',1,null,'Next',null,null,'N','Next','1',null,null,'U');
Insert into obj_actions (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE) values ('stmt_rcd_date_updprc',2,null,'Previous',null,null,'P','Previous','2',null,null,'U');
insert into obj_actions (obj_name,line_no,image,description,service_code,interactive,rights_char,title,form_no,service_handler,placement,action_type) values ('stmt_rcd_date_updprc',3,null,'Save',null,null,'S','Save','2',null,null,'U');
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) values ('stmt_rcd_date_updprc',4,'edit.gif','Edit',null,null,'J','Edit','1',null,null,'U',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'SYSTEM','ADMIN');
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) values ('stmt_rcd_date_updprc',5,'menu.bmp','View Audit Trail','audit_trail','1','X','View Audit','1','1',null,'U',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'base','base');
Insert into obj_actions (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE) values ('stmt_rcd_date_updprc',6,null,'Select All','a','a','L','Select','2',null,null,'U');
insert into obj_actions (obj_name,line_no,image,description,service_code,interactive,rights_char,title,form_no,service_handler,placement,action_type) values ('stmt_rcd_date_updprc',7,null,'Deselect All','a','a','D','Deselect','2',null,null,'U');
-- obj_itemchange
insert into obj_itemchange (obj_name,form_no,field_name,mandatory) values ('stmt_rcd_date_updprc','1 ','itm_default','Y');
insert into obj_itemchange (obj_name,form_no,field_name,mandatory) values ('stmt_rcd_date_updprc','2 ','itm_default','Y');
-- system_events
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) values ('stmt_rcd_date_updprc','default_data_wiz','1','poic_stmt_rcd_date_updprc',null,'0',to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE ','BASE','2','EJB','StatementRcdDateIC');
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) values ('stmt_rcd_date_updprc','post_item_change','1','poic_stmt_rcd_date_updprc',null,'0',to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE ','BASE','2','EJB','StatementRcdDateIC');
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) values ('stmt_rcd_date_updprc','post_save','1','postsave_stmt_rcd_date_updprc',null,'0',to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE ','BASE','2','EJB','StatementRcdDatePos');
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) values ('stmt_rcd_date_updprc','pre_navigate_finish','1','prv_default_ejb',null,'0',to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'base ','base','2','EJB','StatementRcdDateIC');
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) values ('stmt_rcd_date_updprc','pre_navigate_next','1','prv_default_ejb',null,'0',to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'base ','base','2','EJB','StatementRcdDateIC');
-- system_event_services
insert into system_event_services (service_code,service_descr,service_uri,service_provider,method_name,return_value,return_type,return_descr,return_xfrm,return_xfrm_xsl,chg_date,chg_user,chg_term) values ('poic_stmt_rcd_date_updprc','itemchanged','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null, empty_blob(),sysdate,'BASE ','BASE');
insert into system_event_services (service_code,service_descr,service_uri,service_provider,method_name,return_value,return_type,return_descr,return_xfrm,return_xfrm_xsl,chg_date,chg_user,chg_term) values ('postsave_stmt_rcd_date_updprc','Action to Save record in period table ','http://localhost:8080/axis/services/ActionHandlerService',null,'postSave',null,'S',null,null, empty_blob(),sysdate,'BASE ','BASE111');
insert into system_event_services (service_code,service_descr,service_uri,service_provider,method_name,return_value,return_type,return_descr,return_xfrm,return_xfrm_xsl,chg_date,chg_user,chg_term) values ('prv_default_ejb','Action for wfValData','http://172.16.145.69/BaseE12DotNetService7-0-133/E12BusinessLogic7-0-133.asmx',null,'wfValData','String','S',null,null, empty_blob(),sysdate,'BASE ','BASE');
-- system_service_args
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 ('poic_stmt_rcd_date_updprc',1,'COMPONENT_TYPE','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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 ('poic_stmt_rcd_date_updprc',2,'COMPONENT_NAME','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE ','BASE','StatementRcdDateIC');
Insert into system_service_args (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('poic_stmt_rcd_date_updprc',3,'XML_DATA','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('poic_stmt_rcd_date_updprc',4,'XML_DATA_1','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('poic_stmt_rcd_date_updprc',5,'XML_DATA_ALL','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('poic_stmt_rcd_date_updprc',6,'OBJ_CONTEXT','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('poic_stmt_rcd_date_updprc',7,'FOCUSED_COLUMN','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('poic_stmt_rcd_date_updprc',8,'EDIT_FLAG','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('poic_stmt_rcd_date_updprc',9,'XTRA_PARAMS','l',null,'S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE ','BASE');
-- system_service_args
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 ('postsave_stmt_rcd_date_updprc',1,'COMPONENT_TYPE','I','Component Type','S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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 ('postsave_stmt_rcd_date_updprc',2,'COMPONENT_NAME','I','Component name','S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'Base ','Base','StatementRcdDatePos');
Insert into system_service_args (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('postsave_stmt_rcd_date_updprc',3,'XML_DATA_ALL','I','XML data','S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('postsave_stmt_rcd_date_updprc',4,'<tran_id>','I','tran id','S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('postsave_stmt_rcd_date_updprc',5,'EDIT_FLAG','I','edit flag','S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('postsave_stmt_rcd_date_updprc',6,'XTRA_PARAMS','I','Xtra params','S',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'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) values ('postsave_stmt_rcd_date_updprc',7,'DB_CONN','I','db conn','S.Connection',null,to_timestamp('03-OCT-16','DD-MON-RR HH.MI.SSXFF AM'),'Base ','Base');
-- system_service_args
-- messages
insert into messages (msg_no,msg_str,msgdescr,ms_type,msg_opt,msg_time,alarm,err_source,chg_date,chg_user,chg_term) values ('VTPRDBLK ','Please enter period code!','Period code bannot be blank.!','E','Y',null,null,null,to_timestamp('18-JUL-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE','BASE');
insert into messages (ms_no,msg_str,msg_descr,msg_type,msg_opt,msg_time,alarm,err_source,chg_date,chg_user,chg_term) values ('VTNULLTERR','Territory cannot be blank!','Territory cannot be blank.','E','Y',null,null,null,to_timestamp('10-FEB-17','DD-MON-RR HH.MI.SSXFF AM'),'BASE','BASE');
insert into messages (msg_no,msg_str,msg_descr,msg_type,msg_pt,msg_tme,alarm,err_source,chg_date,chg_user,chg_term) values ('VTSTMTINV ','Invalid date','Invalid Statement received cannot be greater than current date.','E','Y',null,null,null,to_timestamp('10-FEB-17','DD-MON-RR HH.MI.SSXFF AM'),'BASE','BASE ');
insert into messages (msg_no,msg_str,msg_descr,msg_type,msg_opt,msg_time,alarm,err_source,chg_date,chg_user,chg_term) values ('VTERRDATE ','Invalid date!','Please enter valid date format','E','Y',null,null,null,to_timestamp('18-JUL-16','DD-MON-RR HH.MI.SSXFF AM'),'BASE ','BASE');
insert into messages (msg_no,msg_str,msg_descr,msg_type,msg_opt,mg_time,aarm,err_source,chg_date,chg_user,chg_term) values ('VTSTMTRCD ','Invalid Statement received!','Invalid Statement received cannot be blank.','E','Y',null,null,null,to_timestamp('10-FEB-17','DD-MON-RR HH.MI.SSXFF AM'),'BASE','BASE');
insert into messages (msg_no,msg_str,msg_descr,msg_type,msg_opt,msg_time,alarm,err_source,chg_date,chg_user,chg_term) values ('VTFAILUPD ','Transaction Failed!','Transaction unsuccessful.','E','Y',null,null,null,to_timestamp('10-FEB-17','DD-MON-RR HH.MI.SSXFF AM'),'BASE','BASE');
-- pophelp
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) values ('item_ser','w_stmt_rcd_date_updprc','SELECT ITEM_SER AS DIVISION, SH_DESCR AS DIVISION_DESCRIPTION FROM ITEMSER WHERE item_ser in(select distinct item_ser from cust_stock where pos_code is not null and prd_code=''?'')',null,'TABLE_NO',0,0,sysdate,'BASE','BASE','0',null,':prd_code',null,null,null,'0',null,null,null,'1');
$PBExportHeader$d_stmt_rcd_date_updprc12.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=2 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=cust_code dbname="cust_code" )
column=(type=char(10) updatewhereclause=yes name=cust_name dbname="cust_name" )
column=(type=char(6) updatewhereclause=yes name=prd_code dbname="prd_code" )
column=(type=char(5) updatewhereclause=yes name=item_ser dbname="item_ser" )
column=(type=char(10) updatewhereclause=yes name=pos_code dbname="pos_code" )
column=(type=char(30) updatewhereclause=yes name=position_descr dbname="position_descr" )
column=(type=char(30) updatewhereclause=yes name=territory_name dbname="territory_name" )
column=(type=char(20) updatewhereclause=yes name=city dbname="city" )
column=(type=date updatewhereclause=yes name=from_date dbname="from_date" )
column=(type=date updatewhereclause=yes name=to_date dbname="to_date" )
column=(type=date updatewhereclause=yes name=stmt_date dbname="stmt_date" )
column=(type=date updatewhereclause=yes name=stmt_recd_date dbname="stmt_recd_date" )
column=(type=char(10) updatewhereclause=yes name=emp_code dbname="emp_code" )
column=(type=char(40) updatewhereclause=yes name=emp_name dbname="emp_name" )
column=(type=char(10) updatewhereclause=yes name=tran_id dbname="tran_id" )
)
text(band=header alignment="2" text="Customer Code" border="0" color="33554432" x="2" y="2" height="16" width="96" 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="2" text="Name" border="0" color="33554432" x="100" y="2" height="16" width="241" 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" )
text(band=header alignment="2" text="Period Code" border="0" color="33554432" x="343" y="2" height="16" width="76" html.valueishtml="0" name=prd_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="2" text="Division" border="0" color="33554432" x="421" y="2" height="16" width="69" html.valueishtml="0" name=item_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="2" text="Position Code" border="0" color="33554432" x="492" y="2" height="16" width="71" html.valueishtml="0" name=pos_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="2" text="Description" border="0" color="33554432" x="565" y="2" height="16" width="180" html.valueishtml="0" name=position_descr_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="2" text="Territory Name" border="0" color="33554432" x="747" y="2" height="16" width="170" html.valueishtml="0" name=territory_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" )
text(band=header alignment="2" text="City" border="0" color="33554432" x="919" y="2" height="16" width="116" html.valueishtml="0" name=city_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="2" text="From Date" border="0" color="33554432" x="1037" y="2" height="16" width="85" html.valueishtml="0" name=from_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="2" text="To Date" border="0" color="33554432" x="1124" y="2" height="16" width="86" html.valueishtml="0" name=to_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="2" text="Statement Date" border="0" color="33554432" x="1212" y="2" height="16" width="87" html.valueishtml="0" name=stmt_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="2" text="Statement Received Date" border="0" color="33554432" x="1301" y="2" height="16" width="117" html.valueishtml="0" name=stmt_recd_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="2" text="Employee Code" border="0" color="33554432" x="1420" y="2" height="16" width="83" html.valueishtml="0" name=emp_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="2" text="Employee Name" border="0" color="33554432" x="1505" y="2" height="16" width="196" html.valueishtml="0" name=emp_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" )
text(band=header alignment="2" text="Tran Id" border="0" color="33554432" x="1703" y="2" height="16" width="102" html.valueishtml="0" name=tran_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=32766 border="0" color="33554432" x="2" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=cust_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=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="100" y="2" height="19" width="241" format="[general]" html.valueishtml="0" name=cust_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" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="343" y="2" height="19" width="76" format="[general]" html.valueishtml="0" name=prd_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=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="421" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=item_ser 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="492" y="2" height="19" width="71" format="[general]" html.valueishtml="0" name=pos_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=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="565" y="2" height="19" width="180" format="[general]" html.valueishtml="0" name=position_descr 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=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="747" y="2" height="19" width="170" format="[general]" html.valueishtml="0" name=territory_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" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="919" y="2" height="19" width="116" format="[general]" html.valueishtml="0" name=city 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=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="1038" y="2" height="19" width="84" format="[general]" html.valueishtml="0" name=from_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=32766 border="0" color="33554432" x="1125" y="2" height="19" width="85" format="[general]" html.valueishtml="0" name=to_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=32766 border="0" color="33554432" x="1213" y="2" height="19" width="86" format="[general]" html.valueishtml="0" name=stmt_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=10 border="0" color="33554432" x="1302" y="2" height="19" width="116" format="[general]" html.valueishtml="0" name=stmt_recd_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=32766 border="0" color="33554432" x="1420" y="2" height="19" width="83" format="[general]" html.valueishtml="0" name=emp_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=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="1505" y="2" height="19" width="196" format="[general]" html.valueishtml="0" name=emp_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" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="33554432" x="1703" y="2" height="19" width="102" format="[general]" html.valueishtml="0" name=tran_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" )
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_stmt_rcd_date_updprc12.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=2 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=cust_code dbname="cust_code" )
column=(type=char(10) updatewhereclause=yes name=cust_name dbname="cust_name" )
column=(type=char(6) updatewhereclause=yes name=prd_code dbname="prd_code" )
column=(type=char(5) updatewhereclause=yes name=item_ser dbname="item_ser" )
column=(type=char(10) updatewhereclause=yes name=pos_code dbname="pos_code" )
column=(type=char(30) updatewhereclause=yes name=position_descr dbname="position_descr" )
column=(type=char(30) updatewhereclause=yes name=territory_name dbname="territory_name" )
column=(type=char(20) updatewhereclause=yes name=city dbname="city" )
column=(type=date updatewhereclause=yes name=from_date dbname="from_date" )
column=(type=date updatewhereclause=yes name=to_date dbname="to_date" )
column=(type=date updatewhereclause=yes name=stmt_date dbname="stmt_date" )
column=(type=date updatewhereclause=yes name=stmt_recd_date dbname="stmt_recd_date" )
column=(type=char(10) updatewhereclause=yes name=emp_code dbname="emp_code" )
column=(type=char(40) updatewhereclause=yes name=emp_name dbname="emp_name" )
column=(type=char(10) updatewhereclause=yes name=tran_id dbname="tran_id" )
)
text(band=header alignment="2" text="Customer Code" border="0" color="33554432" x="2" y="2" height="16" width="96" 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="2" text="Name" border="0" color="33554432" x="100" y="2" height="16" width="241" 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" )
text(band=header alignment="2" text="Period Code" border="0" color="33554432" x="343" y="2" height="16" width="76" html.valueishtml="0" name=prd_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="2" text="Division" border="0" color="33554432" x="421" y="2" height="16" width="69" html.valueishtml="0" name=item_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="2" text="Position Code" border="0" color="33554432" x="492" y="2" height="16" width="71" html.valueishtml="0" name=pos_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="2" text="Description" border="0" color="33554432" x="565" y="2" height="16" width="180" html.valueishtml="0" name=position_descr_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="2" text="Territory Name" border="0" color="33554432" x="747" y="2" height="16" width="170" html.valueishtml="0" name=territory_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" )
text(band=header alignment="2" text="City" border="0" color="33554432" x="919" y="2" height="16" width="116" html.valueishtml="0" name=city_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="2" text="From Date" border="0" color="33554432" x="1037" y="2" height="16" width="85" html.valueishtml="0" name=from_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="2" text="To Date" border="0" color="33554432" x="1124" y="2" height="16" width="86" html.valueishtml="0" name=to_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="2" text="Statement Date" border="0" color="33554432" x="1212" y="2" height="16" width="87" html.valueishtml="0" name=stmt_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="2" text="Statement Received Date" border="0" color="33554432" x="1301" y="2" height="16" width="117" html.valueishtml="0" name=stmt_recd_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="2" text="Employee Code" border="0" color="33554432" x="1420" y="2" height="16" width="83" html.valueishtml="0" name=emp_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="2" text="Employee Name" border="0" color="33554432" x="1505" y="2" height="16" width="196" html.valueishtml="0" name=emp_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" )
text(band=header alignment="2" text="Tran Id" border="0" color="33554432" x="1703" y="2" height="16" width="102" html.valueishtml="0" name=tran_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=32766 border="0" color="33554432" x="2" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=cust_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=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="100" y="2" height="19" width="241" format="[general]" html.valueishtml="0" name=cust_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" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="343" y="2" height="19" width="76" format="[general]" html.valueishtml="0" name=prd_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=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="421" y="2" height="19" width="69" format="[general]" html.valueishtml="0" name=item_ser 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="492" y="2" height="19" width="71" format="[general]" html.valueishtml="0" name=pos_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=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="565" y="2" height="19" width="180" format="[general]" html.valueishtml="0" name=position_descr 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=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="747" y="2" height="19" width="170" format="[general]" html.valueishtml="0" name=territory_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" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="919" y="2" height="19" width="116" format="[general]" html.valueishtml="0" name=city 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=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="1038" y="2" height="19" width="84" format="[general]" html.valueishtml="0" name=from_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=32766 border="0" color="33554432" x="1125" y="2" height="19" width="85" format="[general]" html.valueishtml="0" name=to_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=32766 border="0" color="33554432" x="1213" y="2" height="19" width="86" format="[general]" html.valueishtml="0" name=stmt_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=10 border="0" color="33554432" x="1302" y="2" height="19" width="116" format="[general]" html.valueishtml="0" name=stmt_recd_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=32766 border="0" color="33554432" x="1420" y="2" height="19" width="83" format="[general]" html.valueishtml="0" name=emp_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=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="1505" y="2" height="19" width="196" format="[general]" html.valueishtml="0" name=emp_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" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="33554432" x="1703" y="2" height="19" width="102" format="[general]" html.valueishtml="0" name=tran_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" )
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_stmt_recd_date11.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 )
header(height=6 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=271 color="536870912" )
table(column=(type=char(6) updatewhereclause=yes name=prd_code dbname="prd_code" )
column=(type=char(5) updatewhereclause=yes name=item_ser dbname="item_ser" )
column=(type=char(40) updatewhereclause=yes name=territory_name dbname="territory_name" )
column=(type=char(20) updatewhereclause=yes name=city dbname="city" )
)
text(band=detail alignment="1" text="Period Code:" border="0" color="33554432" x="8" y="1" height="16" width="91" html.valueishtml="0" name=prd_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="Division:" border="0" color="33554432" x="8" y="24" height="16" width="91" html.valueishtml="0" name=item_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=detail alignment="1" text="Territory Name:" border="0" color="33554432" x="8" y="47" height="16" width="91" html.valueishtml="0" name=territory_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" )
text(band=detail alignment="1" text="City:" border="0" color="33554432" x="8" y="70" height="16" width="91" html.valueishtml="0" name=city_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="0" color="33554432" x="103" y="47" height="16" width="97" format="[general]" html.valueishtml="0" name=territory_name visible="1" edit.limit=0 edit.case=upper 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=40 border="0" color="33554432" x="103" y="70" height="16" width="81" format="[general]" html.valueishtml="0" name=city visible="1" edit.limit=0 edit.case=upper 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=1 alignment="1" tabsequence=10 border="0" color="33554432" x="103" y="1" height="16" width="72" format="[general]" html.valueishtml="0" name=prd_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=2 alignment="0" tabsequence=20 border="0" color="33554432" x="103" y="24" height="16" width="72" format="[general]" html.valueishtml="0" name=item_ser visible="1" edit.limit=0 edit.case=upper 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_stmt_recd_date21.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=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=138 color="536870912" )
table(column=(type=char(6) updatewhereclause=yes name=prd_code dbname="prd_code" )
column=(type=char(5) updatewhereclause=yes name=item_ser dbname="item_ser" )
column=(type=char(40) updatewhereclause=yes name=territory_name dbname="territory_name" )
column=(type=char(20) updatewhereclause=yes name=city dbname="city" )
)
text(band=detail alignment="1" text="Period Code:" border="0" color="33554432" x="8" y="1" height="16" width="91" html.valueishtml="0" name=prd_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="Division" border="0" color="33554432" x="8" y="25" height="16" width="91" html.valueishtml="0" name=item_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=detail alignment="1" text="Territory Name:" border="0" color="33554432" x="8" y="49" height="16" width="91" html.valueishtml="0" name=territory_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" )
text(band=detail alignment="1" text="City:" border="0" color="33554432" x="8" y="73" height="16" width="91" html.valueishtml="0" name=city_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="1" tabsequence=10 border="0" color="33554432" x="103" y="1" height="16" width="65" format="[general]" html.valueishtml="0" name=prd_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=3 alignment="0" tabsequence=30 border="0" color="33554432" x="103" y="49" height="16" width="97" format="[general]" html.valueishtml="0" name=territory_name visible="1" edit.limit=0 edit.case=upper 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=40 border="0" color="33554432" x="103" y="73" height="16" width="72" format="[general]" html.valueishtml="0" name=city visible="1" edit.limit=0 edit.case=upper 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=20 border="0" color="33554432" x="103" y="25" height="16" width="65" format="[general]" html.valueishtml="0" name=item_ser visible="1" edit.limit=0 edit.case=upper 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