Commit 0a266de8 authored by awarekar's avatar awarekar

Created a new html wizard "SALES BUDGET CUST".

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198563 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 766f6231
......@@ -100,9 +100,9 @@ public class SalesBudgetCustIC extends ValidatorEJB implements SalesBudgetCustIC
{
SimpleDateFormat simpleDateFormatObj = new SimpleDateFormat(genericUtility.getApplDateFormat());
//Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :END
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :END
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
System.out.println("user ID form XtraParam : "+userId +"Edit Flag -->>: "+editFlag);
......
package ibase.webitm.ejb.fin;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.w3c.dom.Document;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
public class SalesBudgetCustPosWizEJB extends ValidatorEJB
{
public String postSave()throws RemoteException,ITMException
{
return "";
}
public String postSave(String domString, String tranId,String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException
{
//System.out.println("postSave WIZ called domString="+domString+"tranId="+tranId+" editFlag="+editFlag+" xtraParams= "+xtraParams+" conn="+conn);
PreparedStatement pstmt = null;
PreparedStatement pstmt2 = null;
Document dom = null;
ResultSet rs =null;
boolean isError = false;
String sql = null, sql2 = null, errString="";
int cnt = 0;
double netAmt = 0, adjAmt = 0;
try
{
E12GenericUtility genericUtility = new E12GenericUtility();
dom = genericUtility.parseString(domString);
tranId = genericUtility.getColumnValue("tran_id", dom);
sql="SELECT SUM(NET_AMT) FROM SALES_BUDGET_CUST_DET WHERE TRAN_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,tranId );
rs = pstmt.executeQuery();
while (rs.next())
{
netAmt = rs.getDouble(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
sql2="UPDATE SALES_BUDGET_CUST SET NET_AMT = ? WHERE TRAN_ID = ?";
pstmt2 = conn.prepareStatement(sql2);
pstmt2.setDouble( 1,netAmt );
pstmt2.setString( 2,tranId );
cnt =pstmt2.executeUpdate();
if( cnt > 0)
{
System.out.println("x==> update of SALES_BUDGET_CUST success ["+cnt+"]");
}
pstmt2.close();
pstmt2 = null;
}
catch(Exception e)
{
try {
conn.rollback();
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
isError = true;
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if( conn != null )
{
/*if( isError )
{
conn.rollback();
}
else
{
conn.commit();
}*/
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(pstmt2 != null)
{
pstmt2.close();
pstmt2 = null;
}
}
catch(Exception e)
{
try
{
conn.rollback();
}
catch(SQLException sqle)
{
System.out.println(sqle);
}
throw new ITMException(e);
}
}
return "";
}
}
package ibase.webitm.ejb.fin;
import java.io.File;
import java.io.InputStream;
import java.io.Serializable;
import java.sql.*;
import ibase.utility.UserInfoBean;
import javax.servlet.http.HttpSession;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.*;
import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants;
import ibase.utility.*;
import ibase.webitm.utility.*;
public class SalesBudgetCustWizBean implements Serializable
{
private ibase.utility.UserInfoBean userInfo = null;
private HttpSession sessionCtx = null;
private String objName = "";
private String user_lang ="en";
private String user_country = "US";
public SalesBudgetCustWizBean( String objName, HttpSession sessionCtx ) throws ITMException
{
try
{
this.objName = objName;
this.sessionCtx = sessionCtx;
this.userInfo = ( ibase.utility.UserInfoBean ) this.sessionCtx.getAttribute("USER_INFO");
}
catch (Exception e)
{
throw new ITMException(e);
}
}
public SalesBudgetCustWizBean( String objName) throws ITMException
{
try
{
this.objName = objName;
}
catch (Exception e)
{
throw new ITMException(e);
}
}
public SalesBudgetCustWizBean() throws ITMException
{
System.out.println("==>x AM SalesBudgetCustWizBean constructor");
}
public UserInfoBean getUserInfo()
{
return this.userInfo;
}
public void setUserInfo(UserInfoBean userInfo)
{
this.userInfo = userInfo;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public String getCustCode( String selectedposCode) throws ITMException
{
String custCode= "";
Connection connectionObject = null;
try
{
connectionObject = getConnection();
custCode = getCusCode( selectedposCode); //sales_budget_cust_wiz1_wiz_en_US_A
String xslFileName = getXSLFileName( "sales_budget_cust_custmr_code_wiz_" + this.user_lang + "_" + this.user_country + ".xsl" );
custCode = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, custCode, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
}
catch (Exception e)
{
throw new ITMException(e);
}
finally
{
}
return custCode;
}
public String getCusCode( String selectedcusCode ) throws ITMException
{
String csCode = selectedcusCode.toUpperCase();
String sql = "",custCode="";
StringBuffer valueXmlString = new StringBuffer("<Root>\r\n");
Connection connectionObject = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
E12GenericUtility genericUtility = new E12GenericUtility();
try
{
connectionObject = getConnection();
sql = "SELECT CUST_CODE,CUST_NAME FROM CUSTOMER WHERE CUST_NAME LIKE '"+csCode+"%' ";
pstmt = connectionObject.prepareStatement(sql);
//pstmt.setString( 1, custCode );
rs = pstmt.executeQuery();
int num = 1;
while (rs.next())
{
String cusCode = rs.getString("CUST_CODE");
String cusDescr = rs.getString("CUST_NAME");
csCode = (csCode != null) ? csCode.trim() : csCode;
cusCode = (cusCode != null) ? cusCode.trim() : cusCode;
cusDescr = (cusDescr != null) ? cusDescr.trim() : cusDescr;
if ( csCode.equals( cusCode ) )
{
valueXmlString.append("<CUSTOMER domID='" + num + "' selected = 'Y'>\r\n");
}
else
{
valueXmlString.append("<CUSTOMER domID='" + num + "' selected = 'N'>\r\n");
}
valueXmlString.append("<CUST_CODE><![CDATA[").append( cusCode ).append("]]></CUST_CODE>\r\n");
valueXmlString.append("<CUST_NAME><![CDATA[").append( cusDescr ).append("]]></CUST_NAME>\r\n");
valueXmlString.append("</CUSTOMER>\r\n");
num++;
}
}
catch (Exception e)
{
e.printStackTrace();
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
}
finally
{
try
{
if (connectionObject != null && !connectionObject.isClosed())
{
connectionObject.close();
connectionObject = null;
}
}
catch (Exception e)
{
throw new ITMException(e);
}
}
valueXmlString.append("</Root>\r\n");
return valueXmlString.toString();
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public String getPosCode( String selectedposCode) throws ITMException
{
String posCode= "";
Connection connectionObject = null;
try
{
connectionObject = getConnection();
posCode = getPOS( selectedposCode); //sales_budget_cust_wiz1_wiz_en_US_A
String xslFileName = getXSLFileName( "sales_budget_cust_pos_code_wiz_" + this.user_lang + "_" + this.user_country + ".xsl" );
posCode = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, posCode, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
}
catch (Exception e)
{
throw new ITMException(e);
}
finally
{
}
return posCode;
}
public String getPOS( String selectedposCode ) throws ITMException
{
String sql = "";
StringBuffer valueXmlString = new StringBuffer("<Root>\r\n");
Connection connectionObject = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
E12GenericUtility genericUtility = new E12GenericUtility();
try
{
connectionObject = getConnection();
sql="select pos_code,descr from org_structure where active = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString( 1, "Y" );
rs = pstmt.executeQuery();
int num = 1;
while (rs.next())
{
String posCode = rs.getString("POS_CODE");
String posDescr = rs.getString("DESCR");
selectedposCode = (selectedposCode != null) ? selectedposCode.trim() : selectedposCode;
posCode = (posCode != null) ? posCode.trim() : posCode;
posDescr = (posDescr != null) ? posDescr.trim() : posDescr;
if ( selectedposCode.equals( posCode ) )
{
valueXmlString.append("<ORG_STRUCTURE domID='" + num + "' selected = 'Y'>\r\n");
}
else
{
valueXmlString.append("<ORG_STRUCTURE domID='" + num + "' selected = 'N'>\r\n");
}
valueXmlString.append("<POS_CODE><![CDATA[").append( posCode ).append("]]></POS_CODE>\r\n");
valueXmlString.append("<DESCR><![CDATA[").append( posDescr ).append("]]></DESCR>\r\n");
valueXmlString.append("</ORG_STRUCTURE>\r\n");
num++;
}
}
catch (Exception e)
{
e.printStackTrace();
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
}
finally
{
try
{
if (connectionObject != null && !connectionObject.isClosed())
{
connectionObject.close();
connectionObject = null;
}
}
catch (Exception e)
{
throw new ITMException(e);
}
}
valueXmlString.append("</Root>\r\n");
return valueXmlString.toString();
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public String getPriceList( String selecteditemSeries) throws ITMException
{
String priceList= "";
Connection connectionObject = null;
try
{
connectionObject = getConnection();
priceList = getPricList( selecteditemSeries); //sales_budget_cust_wiz1_wiz_en_US_A
String xslFileName = getXSLFileName( "sales_budget_cust_price_list_wiz_" + this.user_lang + "_" + this.user_country + ".xsl" );
priceList = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, priceList, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
}
catch (Exception e)
{
throw new ITMException(e);
}
finally
{
}
return priceList;
}
public String getPricList( String selectedPriceList ) throws ITMException
{
String sql = "";
StringBuffer valueXmlString = new StringBuffer("<Root>\r\n");
Connection connectionObject = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
E12GenericUtility genericUtility = new E12GenericUtility();
try
{
connectionObject = getConnection();
//sql = "SELECT CODE, DESCR FROM PERIOD ";
sql = "SELECT PRICE_LIST,DESCR FROM PRICELIST_MST";
pstmt = connectionObject.prepareStatement(sql);
rs = pstmt.executeQuery();
int num = 1;
while (rs.next())
{
String prcList = rs.getString("PRICE_LIST");
String prcDescr = rs.getString("DESCR");
selectedPriceList = (selectedPriceList != null) ? selectedPriceList.trim() : selectedPriceList;
prcList = (prcList != null) ? prcList.trim() : prcList;
prcDescr = (prcDescr != null) ? prcDescr.trim() : prcDescr;
if ( selectedPriceList.equals( prcList ) )
{
valueXmlString.append("<PRICELIST_MST domID='" + num + "' selected = 'Y'>\r\n");
}
else
{
valueXmlString.append("<PRICELIST_MST domID='" + num + "' selected = 'N'>\r\n");
}
valueXmlString.append("<PRICE_LIST><![CDATA[").append( prcList ).append("]]></PRICE_LIST>\r\n");
valueXmlString.append("<DESCR><![CDATA[").append( prcDescr ).append("]]></DESCR>\r\n");
valueXmlString.append("</PRICELIST_MST>\r\n");
num++;
}
}
catch (Exception e)
{
e.printStackTrace();
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
}
finally
{
try
{
if (connectionObject != null && !connectionObject.isClosed())
{
connectionObject.close();
connectionObject = null;
}
}
catch (Exception e)
{
throw new ITMException(e);
}
}
valueXmlString.append("</Root>\r\n");
return valueXmlString.toString();
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public String getItmSeries( String selecteditemSeries) throws ITMException
{
String itmSeries= "";
Connection connectionObject = null;
try
{
connectionObject = getConnection();
itmSeries = getItemSeries( selecteditemSeries); //sales_budget_cust_wiz1_wiz_en_US_A
String xslFileName = getXSLFileName( "sales_budget_cust_item_series_wiz_" + this.user_lang + "_" + this.user_country + ".xsl" );
itmSeries = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, itmSeries, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
}
catch (Exception e)
{
throw new ITMException(e);
}
finally
{
}
return itmSeries;
}
public String getItemSeries( String selecteditemSeries ) throws ITMException
{
String sql = "";
StringBuffer valueXmlString = new StringBuffer("<Root>\r\n");
Connection connectionObject = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
E12GenericUtility genericUtility = new E12GenericUtility();
try
{
connectionObject = getConnection();
sql="SELECT ITEM_SER,DESCR FROM ITEMSER";
pstmt = connectionObject.prepareStatement(sql);
rs = pstmt.executeQuery();
int num = 1;
while (rs.next())
{
String itmSeries = rs.getString("ITEM_SER");
String itmSeriesDescr = rs.getString("DESCR");
selecteditemSeries = (selecteditemSeries != null) ? selecteditemSeries.trim() : selecteditemSeries;
itmSeries = (itmSeries != null) ? itmSeries.trim() : itmSeries;
itmSeriesDescr = (itmSeriesDescr != null) ? itmSeriesDescr.trim() : itmSeriesDescr;
if ( selecteditemSeries.equals( itmSeries ) )
{
valueXmlString.append("<ITEMSER domID='" + num + "' selected = 'Y'>\r\n");
}
else
{
valueXmlString.append("<ITEMSER domID='" + num + "' selected = 'N'>\r\n");
}
valueXmlString.append("<ITEM_SER><![CDATA[").append(itmSeries).append("]]></ITEM_SER>\r\n");
valueXmlString.append("<DESCR><![CDATA[").append(itmSeriesDescr).append("]]></DESCR>\r\n");
valueXmlString.append("</ITEMSER>\r\n");
num++;
}
}
catch (Exception e)
{
e.printStackTrace();
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
}
finally
{
try
{
if (connectionObject != null && !connectionObject.isClosed())
{
connectionObject.close();
connectionObject = null;
}
}
catch (Exception e)
{
throw new ITMException(e);
}
}
valueXmlString.append("</Root>\r\n");
return valueXmlString.toString();
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public String getAcctPrd( String selectedAcctPrd) throws ITMException
{
String acctPrd= "";
Connection connectionObject = null;
try
{
connectionObject = getConnection();
acctPrd = getActPrd( selectedAcctPrd); //sales_budget_cust_wiz1_wiz_en_US_A
String xslFileName = getXSLFileName( "sales_budget_cust_acct_prd_wiz_" + this.user_lang + "_" + this.user_country + ".xsl" );
acctPrd = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, acctPrd, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
}
catch (Exception e)
{
throw new ITMException(e);
}
finally
{
}
return acctPrd;
}
public String getActPrd( String selectedAcctPrd ) throws ITMException
{
String sql = "";
StringBuffer valueXmlString = new StringBuffer("<Root>\r\n");
Connection connectionObject = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
E12GenericUtility genericUtility = new E12GenericUtility();
try
{
connectionObject = getConnection();
//sql = "SELECT CODE, DESCR FROM PERIOD ";
sql = "SELECT CODE,DESCR FROM ACCTPRD ORDER BY CODE ASC";
pstmt = connectionObject.prepareStatement(sql);
rs = pstmt.executeQuery();
int num = 1;
while (rs.next())
{
String accCode = checkNull( rs.getString("CODE") );
String accDescr = checkNull( rs.getString("DESCR") );
//String acctFrom = checkNull(rs.getString("FR_DATE"));
//String acctTo = checkNull(rs.getString("TO_DATE"));
selectedAcctPrd = (selectedAcctPrd != null) ? selectedAcctPrd.trim() : selectedAcctPrd;
accCode = (accCode != null) ? accCode.trim() : accCode;
accDescr = (accDescr != null) ? accDescr.trim() : accDescr;
if ( selectedAcctPrd.equals( accCode ) )
{
valueXmlString.append("<ACCTPRD domID='" + num + "' selected = 'Y'>\r\n");
}
else
{
valueXmlString.append("<ACCTPRD domID='" + num + "' selected = 'N'>\r\n");
}
//acctFrom = acctFrom.substring(0, acctFrom.indexOf(" "));
//acctTo = acctTo.substring(0, acctTo.indexOf(" "));
valueXmlString.append("<CODE><![CDATA[").append( accCode ).append("]]></CODE>\r\n");
valueXmlString.append("<DESCR><![CDATA[").append( accDescr ).append("]]></DESCR>\r\n");
//valueXmlString.append("<FR_DATE><![CDATA[").append( acctFrom ).append("]]></FR_DATE>\r\n");
//valueXmlString.append("<TO_DATE><![CDATA[").append( acctTo ).append("]]></TO_DATE>\r\n");
valueXmlString.append("</ACCTPRD>\r\n");
num++;
}
}
catch (Exception e)
{
e.printStackTrace();
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
}
finally
{
try
{
if (connectionObject != null && !connectionObject.isClosed())
{
connectionObject.close();
connectionObject = null;
}
}
catch (Exception e)
{
throw new ITMException(e);
}
}
valueXmlString.append("</Root>\r\n");
return valueXmlString.toString();
}
private String getXSLFileName( String xslFileName )throws ITMException
{
String retFileName = null;
try
{
String defaultPath = null;
if( CommonConstants.APPLICATION_CONTEXT != null )
{
defaultPath = CommonConstants.APPLICATION_CONTEXT + CommonConstants.ITM_CONTEXT + File.separator;
}
else
{
defaultPath = ".." + File.separator + "webapps" + File.separator + "ibase" + File.separator + CommonConstants.ITM_CONTEXT + File.separator;
}
File xslPath = new File( defaultPath + File.separator + "xsl" + File.separator + CommonConstants.THEME + File.separator + "WIZARD");
if ( !xslPath.exists() )
{
xslPath.mkdir();
}
File xslFile = new File(xslPath , xslFileName);
if( xslFile.exists() )
{
retFileName = xslFile.getAbsolutePath();
}
else
{
throw new ITMException( new Exception( retFileName + " Wizard XSL file Not Found") );
}
}
catch (Exception e)
{
throw new ITMException(e);
}
return retFileName;
}
public String checkNull( String input )
{
if (input == null || "null".equalsIgnoreCase(input))
{
input= "";
}
return input.trim();
}
// added by rupali on 16/08/8 foe multi-tenancy related changes [start]
public Connection getConnection()
{
Connection conn = null;
ConnDriver connDriver = new ConnDriver();
try
{
if(this.userInfo != null)
{
String transDB = this.userInfo.getTransDB();
if( transDB != null && transDB.trim().length() > 0 && !"null".equalsIgnoreCase(transDB))
{
conn = connDriver.getConnectDB(transDB);
connDriver = null;
}
else
{
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
}
}
else
{
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
}
}
catch(Exception e)
{
e.printStackTrace();
}
return conn;
}
}
package ibase.webitm.ejb.fin;
import java.net.InetAddress;
import java.rmi.RemoteException;
import java.sql.*;
import java.text.DateFormat;
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import ibase.utility.UserInfoBean;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
public class SalesBudgetCustWizEJB extends ValidatorEJB
{
E12GenericUtility genericUtility = new E12GenericUtility();
public SalesBudgetCustWizEJB()
{
System.out.println("<== AMEY ==>");
}
public String wfValData() throws RemoteException,ITMException
{
return "";
}
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
System.out.println("wfValData 1 ==>]");
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = "";
try
{
System.out.println("wfValData:xmlStringaaaaaaaa ["+xmlString+"]");
System.out.println("wfValData:xmlString1bbbbbb["+xmlString1+"]");
System.out.println("wfValData:xmlString2cccccccc["+xmlString2+"]");
if(xmlString != null && xmlString.trim().length()!=0)
{
dom = parseString(xmlString);
}
else
{
System.out.println("xmlstring is null");
}
if(xmlString1 != null && xmlString1.trim().length()!=0)
{
dom1 = parseString(xmlString1);
}
else
{
System.out.println("xmlstring1 is null");
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
dom2 = parseString(xmlString2);
}
else
{
System.out.println("xmlstring2 is null");
}
System.out.println("Before call valdata");
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
}
catch(Exception e)
{
System.out.println("Exception : [ExpenseProcessItemChange][wfValData(String xmlString)] : ==>\n"+e.getMessage());
}
return (errString);
}
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
System.out.println("wfValData 2 ==>]");
E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
String errString = "";
int currentFormNo = 0;
Node parentNode = null;
Node childNode = null;
String childNodeName = "";
Connection connectionObject = null;
PreparedStatement pstmt = null;
ResultSet rSet = null ;
ITMDBAccessEJB itmDBAccessLocal = null;
StringBuffer valueXmlString = new StringBuffer();
try
{
connectionObject = getConnection();
itmDBAccessLocal = new ITMDBAccessEJB();
System.out.println("call valdata");
System.out.println("wfValData objContext ["+objContext+"]");
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
System.out.println("wfValData objContext 2 ["+objContext+"]");
switch (currentFormNo)
{
case 1:
ResultSet rs = null;
NodeList parentNodeList = null;
NodeList childNodeList = null;
int ctr = 0;
String errCode="";
System.out.println("x==> in wfvalData 2 - > case 1");
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
int childNodeLength1 = childNodeList.getLength();
valueXmlString.append("<Detail1>");
for (ctr = 0; ctr < childNodeLength1; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
System.out.println("x==> childNodeName now "+childNodeName);
if ("cust_code".equalsIgnoreCase( childNodeName ))
{
String cusCode = checkNull(genericUtility.getColumnValue("cust_code", dom)).trim();
if ( cusCode.length() == 0 || cusCode == null )
{
errCode = "VTCUSTNEX";
errString = getErrorString("cusCode", errCode, userId);
break;
}
else
{
String sql = "SELECT CUST_CODE,CUST_NAME FROM CUSTOMER WHERE CUST_CODE = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, cusCode);
rs = pstmt.executeQuery();
if(!rs.next())
{
errCode = "VTCUSTNEX ";
errString = getErrorString("cust_code", errCode, userId);
break;
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
}
else if ("pos_code".equalsIgnoreCase( childNodeName ))
{
String posCode = checkNull(genericUtility.getColumnValue("pos_code", dom)).trim();
if ( posCode.length() == 0 || posCode == null )
{
errCode = "INVPOSCODE";
errString = getErrorString("pos_code", errCode, userId);
break;
}
else
{
String sql = "select pos_code,descr from org_structure where active = ? and POS_CODE = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, "Y");
pstmt.setString(2, posCode);
rs = pstmt.executeQuery();
if(!rs.next())
{
errCode = "INVPOSCODE";
errString = getErrorString("pos_code", errCode, userId);
break;
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
}
else if ("item_ser".equalsIgnoreCase( childNodeName ))
{
String itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom)).trim();
if (itemSer.length() == 0 || itemSer == null)
{
errCode = "NULITEMSER";
errString = getErrorString("item_ser", errCode, userId);
break;
}
else
{
String sql = "SELECT ITEM_SER FROM ITEM WHERE ITEM_SER = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString( 1, itemSer );
rs = pstmt.executeQuery();
if(!rs.next())
{
errCode = "VTITEMSER1";
errString = getErrorString("item_ser", errCode, userId);
break;
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
}
else if ("price_list".equalsIgnoreCase( childNodeName ))
{
String priceList = checkNull(genericUtility.getColumnValue("price_list", dom)).trim();
if (priceList.length() == 0 || priceList == null)
{
errCode = "VTINVPLIST";
errString = getErrorString("price_list", errCode, userId);
break;
}
else
{
String sql = "SELECT PRICE_LIST FROM PRICELIST_MST WHERE PRICE_LIST = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString( 1, priceList );
rs = pstmt.executeQuery();
if(!rs.next())
{
errCode = "VTINVPLIST";
errString = getErrorString("price_list", errCode, userId);
break;
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
}
else if ("acct_prd".equalsIgnoreCase( childNodeName ))
{
String acctPrd = checkNull(genericUtility.getColumnValue("acct_prd", dom)).trim();
if (acctPrd.length() == 0 || acctPrd == null)
{
errCode = "VTNULLPRD ";
errString = getErrorString("acct_prd", errCode, userId);
break;
}
else
{
String sql = "SELECT CODE FROM PERIOD WHERE ACCT_PRD = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString( 1, acctPrd );
rs = pstmt.executeQuery();
if(!rs.next())
{
errCode = "VTITXPRC03";
errString = getErrorString("acct_prd", errCode, userId);
break;
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
}
}
valueXmlString.append("</Detail1>");
break;
case 2:
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
int childNodeLength = childNodeList.getLength();
String quantity="";
int qty=0;
valueXmlString.append("<Detail2>");
for (ctr = 0; ctr < childNodeLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if ( childNodeName.equalsIgnoreCase("quantity") )
{
quantity = checkNull(genericUtility.getColumnValue("quantity", dom)).trim();
if( quantity.length() == 0 || quantity == null || quantity == "")
{
errString = getErrorString("quantity", "BLNKQUAN", userId);
break;
}
else
{
qty = Integer.valueOf(quantity);
if( qty < 0 )
{
errString = getErrorString("quantity", "VTTOTQTNG", userId);
break;
}
}
}
}
valueXmlString.append("</Detail2>");
System.out.println("x==> in wfvalData 2 - > case 2 //END");
break;
}
}
catch(Exception e)
{
System.out.println("wfValdata::Exception:" + getClass().getSimpleName() + ":::" + e.getMessage());
e.printStackTrace();
/*e.printStackTrace();
errString = "";
errString = genericUtility.createErrorString( e ) ;
String messageValue="",message = "";
if( errString.indexOf("<Errors>")!=-1 )
{
if( errString.length() > 0 )
{
String msgDescr = errString.substring(errString.indexOf("<description>")+("<description>").length(),errString.indexOf("</description>"));
messageValue = msgDescr.substring(msgDescr.indexOf("<![CDATA[")+("<![CDATA[").length(),msgDescr.indexOf("]"));
String messageDescr = errString.substring(errString.indexOf("<message>")+("<message>").length(),errString.indexOf("</message>"));
message = messageDescr.substring(messageDescr.indexOf("<![CDATA[")+("<![CDATA[").length(),messageDescr.indexOf("]"));
System.out.println("errorMessage==>"+messageValue);
StringBuffer valueXmlErrorString = new StringBuffer( "<?xmlversion=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<Errors>\r\n" );
valueXmlErrorString.append("<error id=\"INVDATA\" type=\"E\" column_name=\"\">");
valueXmlErrorString.append("<message><![CDATA[").append(message).append("]]></message>\r\n");
valueXmlErrorString.append("<description><![CDATA[").append(messageValue).append("]]></description>\r\n");
valueXmlErrorString.append("<type>E</type>\r\n");
valueXmlErrorString.append("<option></option>\r\n");
valueXmlErrorString.append("<time></time>\r\n");
valueXmlErrorString.append("<alarm></alarm>\r\n");
valueXmlErrorString.append("<source></source>\r\n");
valueXmlErrorString.append("<trace>Error : NO DATA</trace>\r\n");
valueXmlErrorString.append("<redirect>1</redirect>\r\n");
valueXmlErrorString.append("</error>\r\n");
valueXmlErrorString.append("</Errors>\r\n");
valueXmlErrorString.append("</Header>\r\n");
valueXmlErrorString.append( "</Root>\r\n" );
System.out.println( "\n****valueXmlErrorString :" + valueXmlErrorString.toString() + ":********" );
errString =valueXmlErrorString.toString();
}
}*/
/*Ended By Dipak*/
}
finally
{
try
{
if (rSet != null)
{
rSet.close();
rSet = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if( connectionObject != null && ! connectionObject.isClosed() )
{
connectionObject.close();
connectionObject = null;
}
}
catch (Exception e)
{
System.out.println("Exception in EJB["
+ getClass().getSimpleName() + "]::wfValData::finally catch ["
+ e.getMessage() + "]");
}
/*catch(Exception e)
{
System.out.println( "Exception :defaultDataWiz :==>\n"+e.getMessage());
errString = "";
errString = genericUtility.createErrorString( e ) ;
System.out.println( "errString ::" +errString + ":" );
String messageValue="",message = "";
if( errString.indexOf("<Errors>")!=-1 )
{
if( errString.length() > 0 )
{
String msgDescr = errString.substring(errString.indexOf("<description>")+("<description>").length(),errString.indexOf("</description>"));
messageValue = msgDescr.substring(msgDescr.indexOf("<![CDATA[")+("<![CDATA[").length(),msgDescr.indexOf("]"));
String messageDescr = errString.substring(errString.indexOf("<message>")+("<message>").length(),errString.indexOf("</message>"));
message = messageDescr.substring(messageDescr.indexOf("<![CDATA[")+("<![CDATA[").length(),messageDescr.indexOf("]"));
System.out.println("errorMessage==>"+messageValue);
StringBuffer valueXmlErrorString = new StringBuffer( "<?xmlversion=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<Errors>\r\n" );
valueXmlErrorString.append("<error id=\"INVDATA\" type=\"E\" column_name=\"\">");
valueXmlErrorString.append("<message><![CDATA[").append(message).append("]]></message>\r\n");
valueXmlErrorString.append("<description><![CDATA[").append(messageValue).append("]]></description>\r\n");
valueXmlErrorString.append("<type>E</type>\r\n");
valueXmlErrorString.append("<option></option>\r\n");
valueXmlErrorString.append("<time></time>\r\n");
valueXmlErrorString.append("<alarm></alarm>\r\n");
valueXmlErrorString.append("<source></source>\r\n");
valueXmlErrorString.append("<trace>Error : NO DATA</trace>\r\n");
valueXmlErrorString.append("<redirect>1</redirect>\r\n");
valueXmlErrorString.append("</error>\r\n");
valueXmlErrorString.append("</Errors>\r\n");
valueXmlErrorString.append("</Header>\r\n");
valueXmlErrorString.append( "</Root>\r\n" );
System.out.println( "\n****valueXmlErrorString :" + valueXmlErrorString.toString() + ":********" );
errString =valueXmlErrorString.toString();
}
}
}*/
}
System.out.println("errString ["+errString+"]");
return errString;
}
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 errString = null;
E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
try
{
System.out.println ( "xmlString :" + xmlString);
System.out.println ( "xmlString1 :" + xmlString1);
System.out.println ( "xmlString2 :" + xmlString2);
if (xmlString != null && xmlString.trim().length()!=0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length()!=0)
{
dom2 = genericUtility.parseString(xmlString2);
}
errString = itemChanged( dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams );
System.out.println ( "ErrString :" + errString);
}
catch (Exception e)
{
String errString1 = "";
StringBuffer errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
System.out.println( "Exception :WsfaZuviusDsrWizEJB :defaultDataWiz(String,String):" + e.getMessage() + ":" );
errString1 = genericUtility.createErrorString( e ) ;
System.out.println( "errString :Exception :WsfaZuviusDsrWizEJB :defaultDataWiz(String,String)::" +errString1 + ":" );
if ( errString.length() > 0)
{
String bifurErrString = errString.substring( errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>"));
//bifurErrString =bifurErrString;//+"<trace>"+errMsg+"</trace>";
bifurErrString =bifurErrString+errString.substring( errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
System.out.println("errStringXml .........."+errStringXml);
errString1 = "";
}
errStringXml.append("</Errors></Root>\r\n");
errString = errStringXml.toString();
System.out.println("retString ...DIPAK......."+errString);
}
System.out.println ( "returning from WsfaZuviusDsrWizEJB defaultDataWiz" );
return errString;
}
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
System.out.println("x==> itemChanged called");
System.out.println("x==> DOM "+dom);
System.out.println("x==> DOM1 "+dom1);
System.out.println("x==> DOM2 "+dom2);
System.out.println("x==> objContext "+objContext);
System.out.println("x==> currentColumn "+currentColumn);
int currentFormNo= 0;
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
PreparedStatement pstmt2 = null;
ResultSet rs2 = null;
StringBuffer valueXmlString = new StringBuffer();
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = null,custCode="",posCode="",custName="",posD="",posDescr="",itmDes="",priceDesc="";
int childNodeListLength=0;
int ctr=0,count=1;
String chgTerm="",siteCode="",currDate="",userId="",itemCode="",itemUnit="",rate="",nullVar="";
ArrayList<String> acctPrdlist=new ArrayList<String>();
try
{
//returnStr = defaultDataWiz(dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams);
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("Driver");
InetAddress ownIP=InetAddress.getLocalHost();
chgTerm = ownIP.getHostAddress();
//connectionObject = getConnection();
UserInfoBean userInfo = getUserInfo();
siteCode = userInfo.getSiteCode();
userId = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" );
DateFormat dtFormat = new SimpleDateFormat(getApplDateFormat());
java.util.Date date = Calendar.getInstance().getTime();
currDate = dtFormat.format( date );
Calendar cal = Calendar.getInstance();
cal.add(Calendar.MONTH, -1);
Date result = cal.getTime();
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
String prevPrd = String.valueOf(sdf.format(result));
String curPrd = String.valueOf(sdf.format(date));
prevPrd = prevPrd.substring(0,prevPrd.length()-2);
curPrd = curPrd.substring(0,curPrd.length()-2);
if ((objContext != null) && (objContext.trim().length() > 0))
{
currentFormNo = Integer.parseInt(objContext);
}
System.out.println("[" + getClass().getSimpleName()+ "AMEY NOW currentFormNo:" + currentFormNo);
System.out.println("AMM x==> IC currentColumn:::::" + currentColumn);
valueXmlString = new StringBuffer("<?xml version=\"1.0\" encoding=''?><Root><header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></header>");
switch (currentFormNo)
{
case 1:
System.out.println("AMM x==> current column"+currentColumn);
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
valueXmlString.append("<Detail1>");
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equals(currentColumn))
{
childNode.getFirstChild();
}
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
System.out.println("AMM x==> IC CURRENT COLUMN 111 " + currentColumn + "]");
//valueXmlString.append("<Detail1>\r\n");
if ("itm_default".equalsIgnoreCase( currentColumn ))
{
valueXmlString.append( "<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\"/>\r\n");
valueXmlString.append( "<tran_date><![CDATA[").append( currDate ).append( "]]></tran_date>\r\n" );
valueXmlString.append( "<chg_date><![CDATA[" ).append( currDate ).append( "]]></chg_date>\r\n" );
valueXmlString.append( "<chg_user><![CDATA[" ).append( userId ).append( "]]></chg_user>\r\n" );
valueXmlString.append( "<chg_term><![CDATA[" ).append( chgTerm ).append( "]]></chg_term>\r\n" );
valueXmlString.append( "<site_code><![CDATA[" ).append( siteCode ).append( "]]></site_code>\r\n" );
}
else if (currentColumn.trim().equalsIgnoreCase("cust_code"))
{
custCode = checkNull(genericUtility.getColumnValue("cust_code", dom)).trim();
if( custCode != null && custCode.trim().length()!=0 )
{
//String sql="SELECT POS_CODE FROM ORG_STRUCTURE_CUST WHERE CUST_CODE = ? and rownum = 1";
String sql="SELECT cust.*,org.descr FROM ORG_STRUCTURE_CUST cust left outer join org_structure org on org.pos_code = cust.pos_code WHERE CUST_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, custCode);
rs = pstmt.executeQuery();
if( rs.next() )
{
posCode = checkNull(rs.getString("POS_CODE"));
posD = checkNull(rs.getString("DESCR"));
}
String sql2= "SELECT CUST_NAME FROM CUSTOMER WHERE CUST_CODE = ?";
pstmt2 = conn.prepareStatement(sql2);
pstmt2.setString(1, custCode);
rs2 = pstmt2.executeQuery();
if( rs2.next() )
{
custName = checkNull(rs2.getString("CUST_NAME"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
rs2.close();
rs2 = null;
pstmt2.close();
pstmt2 = null;
}
valueXmlString.append("<pos_code><![CDATA[" + posCode + "]]></pos_code>");
valueXmlString.append("<pos_descr><![CDATA[" + posD + "]]></pos_descr>");
valueXmlString.append("<cus_descr><![CDATA[" + custName + "]]></cus_descr>");
}
else if(currentColumn.trim().equalsIgnoreCase("pos_code"))
{
String posCode2 = checkNull(genericUtility.getColumnValue("pos_code", dom)).trim();
if( posCode2 != null && posCode2.trim().length()!=0 )
{
String sql3="select descr from org_structure where pos_code=? and active = ?";
pstmt = conn.prepareStatement(sql3);
pstmt.setString(1, posCode2);
pstmt.setString(2, "Y");
rs = pstmt.executeQuery();
if( rs.next() )
{
posDescr = checkNull(rs.getString("DESCR"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
valueXmlString.append("<pos_descr><![CDATA[" + posDescr + "]]></pos_descr>");
}
else if(currentColumn.trim().equalsIgnoreCase("item_ser")) //itm_descr
{
String itmSer2 = checkNull(genericUtility.getColumnValue("item_ser", dom)).trim();
if( itmSer2 != null && itmSer2.trim().length()!=0 )
{
String sql3="SELECT DESCR FROM ITEMSER WHERE ITEM_SER = ?";
pstmt = conn.prepareStatement(sql3);
pstmt.setString(1, itmSer2);
rs = pstmt.executeQuery();
if( rs.next() )
{
itmDes = checkNull(rs.getString("DESCR"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
valueXmlString.append("<itm_descr><![CDATA[" + itmDes + "]]></itm_descr>");
}
else if(currentColumn.trim().equalsIgnoreCase("price_list"))
{
String prcList2 = checkNull(genericUtility.getColumnValue("price_list", dom)).trim();
if( prcList2 != null && prcList2.trim().length()!=0 )
{
String sql3="SELECT DESCR FROM PRICELIST_MST WHERE PRICE_LIST = ?";
pstmt = conn.prepareStatement(sql3);
pstmt.setString(1, prcList2);
rs = pstmt.executeQuery();
if( rs.next() )
{
priceDesc = checkNull(rs.getString("DESCR"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
valueXmlString.append("<prc_descr><![CDATA[" + priceDesc + "]]></prc_descr>");
}
valueXmlString.append("</Detail1>");
break;
case 2:
System.out.println("IC switch case 2");
String sql="";
String priclist="";
String itemSer="",acctPrd="";
System.out.println("itemChanged:currentFormNo:" + currentFormNo);
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
//valueXmlString.append("<Detail2>");
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equals(currentColumn))
{
childNode.getFirstChild();
}
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
System.out.println("IC CURRENT COLUMN 333 " + currentColumn + "]");
if ("itm_default".equalsIgnoreCase( currentColumn ))
{
if( currentColumn.equalsIgnoreCase("itm_default") )
{
priclist = checkNull(genericUtility.getColumnValue("price_list", dom1));
itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom1));
acctPrd = checkNull(genericUtility.getColumnValue("acct_prd", dom1));
//String lineNo = genericUtility.getColumnValue("line_no", dom);
//Period Code
String sql3 = "SELECT CODE FROM PERIOD WHERE ACCT_PRD = ? ORDER BY CODE";
pstmt = conn.prepareStatement(sql3);
pstmt.setString(1, acctPrd);
rs = pstmt.executeQuery();
while (rs.next())
{
acctPrdlist.add( rs.getString(1) );
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//Item
String sql2 = "SELECT ITEM_CODE, UNIT FROM ITEM WHERE ITEM_SER = ?";
pstmt = conn.prepareStatement( sql2 );
pstmt.setString(1, itemSer);
rs = pstmt.executeQuery();
while (rs.next())
{
itemCode = rs.getString("ITEM_CODE");
itemUnit = rs.getString("UNIT");
String sql5 = "SELECT RATE FROM PRICELIST WHERE ITEM_CODE = ?";
pstmt2 = conn.prepareStatement( sql5 );
pstmt2.setString(1, itemCode);
rs2 = pstmt2.executeQuery();
while (rs2.next())
{
rate = rs2.getString("RATE");
}
rs2.close();
rs2 = null;
pstmt2.close();
pstmt2 = null;
for( int i=0; i < acctPrdlist.size(); i++ )
{
valueXmlString.append("<Detail2 domID='" + count + "' objContext = '"+currentFormNo+"' selected=\"Y\" >\r\n");
valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\"/>\r\n");
valueXmlString.append("<prd_code><![CDATA[" + acctPrdlist.get(i) + "]]></prd_code>");
valueXmlString.append("<item_code><![CDATA[" + itemCode + "]]></item_code>");
valueXmlString.append("<item_ser><![CDATA[" + itemSer + "]]></item_ser>");
valueXmlString.append("<unit><![CDATA[" + itemUnit + "]]></unit>");
valueXmlString.append("<line_no><![CDATA[" + count + "]]></line_no>");
valueXmlString.append("<rate><![CDATA[" + rate + "]]></rate>");
valueXmlString.append("<net_amt><![CDATA[" + nullVar + "]]></net_amt>");
valueXmlString.append("</Detail2>");
count ++;
}
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
}
break;
}
valueXmlString.append("</Root>");
}
catch(Exception e){
e.printStackTrace();
}
return valueXmlString.toString();
//return returnStr;
}
private String checkNull(String input) {
return input == null ? "" : input.trim();
}
}
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="/ibase/webitm/js/ITMWizard.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/SalesBudgetCustWiz.js"></script>
<!--<script type="text/javascript" src="/ibase/webitm/js/ITMWizardCalendar.js"></script>-->
<!--<script type="text/javascript" src="/ibase/webitm/js/SavexWizardCalendar.js"></script>-->
</head>
<body style="font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background-color: #f7f8fa; text-align : left; font-size: 14px;">
<script>
</script>
<!--Changed by Rahul Barve on 27-10-14 [Start] -->
<LINK HREF="/ibase/webitm/css/theme/galaxy-theme.css" TYPE="text/css" REL="stylesheet"></LINK>
<!--Changed by Rahul Barve on 27-10-14 [End] -->
<style type="text/css">
.header_class
{border:inset 0;font-family: 'MuseoLight-300', sans-serif; color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.input_editablecenter
{border:solid 0; font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.tableClass_rep
{margin-left:0px}
.td_leftAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:left;
}
.input_editable
{border:solid 1px;font-family: 'MuseoLight-300', sans-serif; border-color: #ccc;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.td_rightAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:right;
}
.editDisplayheder
{readOnly:true; TEXT-ALIGN:left; color:#000; padding:5px 5px 10px 5px; font-size:16px; }
.editDisplayColumnClass
{readOnly:true; margin-left:2px; BACKGROUND:#fff; TEXT-ALIGN:LEFT; margin-bottom:10px; border-top: #6cf 3px solid; border-bottom:solid 1px #ebebeb; border-right:solid 1px #ebebeb; border-left:solid 1px #ebebeb;}
.editDisplayColumnClass td
{ padding:5px; border-bottom: none; font-size:14px;}
.button{
border: 1px solid #E7E7E7;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
color: #333;
height: 22px;
font-family: 'MuseoLight-300', sans-serif;
font-size: 12px;
background-color: #e7e7e7;
cursor: pointer;
margin-left:10px;
}
.button:hover
{
border: 1px solid #E7E7E7 !important;
background-color: #e7e7e7 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
text-shadow: none;
}
.button:active
{
text-shadow: none;
background-color: #d6d6d6 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
border: 1px solid #E7E7E7 !important;
}
.divclass
{
border : solid 1px lightgray;
line-height : 23px;
width:99.5%
}
.button.disabled {
background: #EBEBEB !important;
color:gray !IMPORTANT;
pointer-events:none !IMPORTANT;
}
.button.enabled {
color:#333 !IMPORTANT;
pointer-events:auto !IMPORTANT;
}
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name = "Wizard_activity" METHOD="POST" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;" onSubmit="javascript:disableButtons(1);">
<!-- changed by rahul barve on 6-apr-2015 [Start]-->
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Salses Budget Wizard
</TD>
</TR>
</TABLE>
<table id="errorActivityTable" width="100%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="1" cellspacing="0" cellpadding="0">
<!--Changed by Dhiraj 30/09/10 [WS01SUN007] .end-->
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="100%" cellPadding="5">
<xsl:for-each select="//Detail1">
<xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable>
<xsl:variable name="cust_code"><xsl:value-of select="cust_code"/></xsl:variable>
<xsl:variable name="pos_code"><xsl:value-of select="pos_code"/></xsl:variable>
<xsl:variable name="acct_prd"><xsl:value-of select="acct_prd"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="net_amt"><xsl:value-of select="net_amt"/></xsl:variable>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
<xsl:variable name="chg_date"><xsl:value-of select="chg_date"/></xsl:variable>
<xsl:variable name="chg_user"><xsl:value-of select="chg_user"/></xsl:variable>
<xsl:variable name="chg_term"><xsl:value-of select="chg_term"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<tr width ="100%" style="display:none;">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>Tran Date: </strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" value="{$tran_date}" class="input_editable" name="Detail1.{normalize-space($dbID)}.tran_date" id="Detail1.{normalize-space($dbID)}.tran_date" ISCHANGED="false" readonly="true" />
</td>
</tr>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>Customer code: </strong>
</td>
<td class="td_leftAlign" >
<input type="text" value="{$cust_code}" class="input_editable" name="Detail1.{normalize-space($dbID)}.cust_code" id="Detail1.{normalize-space($dbID)}.cust_code" maxlength="10" onchange="callItemChange('{normalize-space($dbID)}', 'cust_code');" ISCHANGED="false"/>
<a href="javascript:callCustCode( '{normalize-space($dbID)}','{normalize-space($cust_code)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.cus_descr" id="Detail1.{normalize-space($dbID)}.cus_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td>
</tr>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%" >
<strong>POS code*: </strong>
</td>
<td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$pos_code}" name="Detail1.{normalize-space($dbID)}.pos_code" id="Detail1.{normalize-space($dbID)}.pos_code" placeholder="Enter POS code" maxlength="10" onchange="callItemChange('{normalize-space($dbID)}', 'pos_code');" ISCHANGED="false"/>
<a href="javascript:callPosCode( '{normalize-space($dbID)}','{normalize-space($pos_code)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.pos_descr" id="Detail1.{normalize-space($dbID)}.pos_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td>
</tr>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%" >
<strong>Item series*: </strong>
</td>
<td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$item_ser}" name="Detail1.{normalize-space($dbID)}.item_ser" id="Detail1.{normalize-space($dbID)}.item_ser" placeholder="Enter Item series" maxlength="5" onchange="callItemChange('{normalize-space($dbID)}', 'item_ser');" ISCHANGED="false"/>
<a href="javascript:callItemSeries( '{normalize-space($dbID)}','{normalize-space($item_ser)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.itm_descr" id="Detail1.{normalize-space($dbID)}.itm_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td>
</tr>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%" >
<strong>Price List*: </strong>
</td>
<td class="td_leftAlign" >
<input type="text" value="{$price_list}" class="input_editable" name="Detail1.{normalize-space($dbID)}.price_list" id="Detail1.{normalize-space($dbID)}.price_list" placeholder="Enter Price List" maxlength="200" onchange="callItemChange('{normalize-space($dbID)}', 'price_list');" ISCHANGED="false" />
<a href="javascript:callPriceList( '{normalize-space($dbID)}','{normalize-space($price_list)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.prc_descr" id="Detail1.{normalize-space($dbID)}.prc_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td>
</tr>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%" >
<strong>Account Period*:</strong>
</td>
<td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$acct_prd}" name="Detail1.{normalize-space($dbID)}.acct_prd" id="Detail1.{normalize-space($dbID)}.acct_prd" placeholder="Enter Period" maxlength="6" ISCHANGED="false"/>
<a href="javascript:callAcctPrd( '{normalize-space($dbID)}','{normalize-space($acct_prd)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
</td>
</tr>
<!-- <tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>From Period: </strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" class="input_editable" name="Detail1.{normalize-space($dbID)}.acct_from_date" id="Detail1.{normalize-space($dbID)}.acct_from_date" ISCHANGED="false" readonly="true" />
</td>
</tr>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>To Period: </strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" class="input_editable" name="Detail1.{normalize-space($dbID)}.acct_to_date" id="Detail1.{normalize-space($dbID)}.acct_to_date" ISCHANGED="false" readonly="true" />
</td>
</tr>-->
<!--<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>Net Amount: </strong>
</td>
<td class="td_leftAlign" >
<input type="text" value="{$net_amt}" class="input_editable" name="Detail1.{normalize-space($dbID)}.net_amt" id="Detail1.{normalize-space($dbID)}.net_amt" ISCHANGED="false" readonly="true" />
</td>
</tr>-->
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>Remarks: </strong>
</td>
<td class="td_leftAlign" >
<input type="text" value="{$remarks}" class="input_editable" name="Detail1.{normalize-space($dbID)}.remarks" id="Detail1.{normalize-space($dbID)}.remarks" maxlength="200" style="width:450px" ISCHANGED="false" />
</td>
</tr>
<input type="hidden" class="input_editable" size="10" value="{$tran_id}" name="Detail1.{normalize-space($dbID)}.tran_id" id="Detail1.{normalize-space($dbID)}.tran_id" maxlength="8" ISCHANGED="false" readonly="true"/>
<input type="hidden" class="input_editable" size="10" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code" id="Detail1.{normalize-space($dbID)}.site_code" maxlength="8" ISCHANGED="false" readonly="true"/>
<!--<input type="hidden" class="input_editable" size="10" value="{$chg_date}" name="Detail1.{normalize-space($dbID)}.chg_date" id="Detail1.{normalize-space($dbID)}.chg_date" maxlength="8" ISCHANGED="false" readonly="true"/>
<input type="hidden" class="input_editable" size="10" value="{$chg_user}" name="Detail1.{normalize-space($dbID)}.chg_user" id="Detail1.{normalize-space($dbID)}.chg_user" maxlength="8" ISCHANGED="false" readonly="true"/>
<input type="hidden" class="input_editable" size="10" value="{$chg_term}" name="Detail1.{normalize-space($dbID)}.chg_term" id="Detail1.{normalize-space($dbID)}.chg_term" maxlength="8" ISCHANGED="false" readonly="true"/>-->
</xsl:for-each>
</table>
<table>
<tr width ="100%">
<td colspan="2">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="sales_budget_cust_wiz" id="OBJ_NAME" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="submit" style="cursor:hand" CLASS="button" value="Next" name = "ActNext" id = "ActNext" title='' onclick="return validateFirstFormData('next')"/>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:key name="item_code" match="//Detail2/item_code/text()" use="." />
<xsl:template match="/">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="/ibase/webitm/js/ITMWizard.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/SalesBudgetCustWiz.js"></script>
<!--<script type="text/javascript" src="/ibase/webitm/js/ITMWizardCalendar.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/BrandReportingWizard.js"></script>-->
<!--<script type="text/javascript" src="/ibase/webitm/js/SavexWizardCalendar.js"></script>-->
</head>
<body style="font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background-color: #f7f8fa; text-align : left; font-size: 14px;">
<script>
</script>
<!--Changed by Rahul Barve on 27-10-14 [Start] -->
<LINK HREF="/ibase/webitm/css/theme/galaxy-theme.css" TYPE="text/css" REL="stylesheet"></LINK>
<!--Changed by Rahul Barve on 27-10-14 [End] -->
<style type="text/css">
.header_class
{border:inset 0;font-family: 'MuseoLight-300', sans-serif; color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.input_editablecenter
{border:solid 0; font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.tableClass_rep
{margin-left:0px}
.td_leftAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:left;
}
.input_editable
{border:solid 1px;font-family: 'MuseoLight-300', sans-serif; border-color: #ccc;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.td_rightAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:right;
}
.editDisplayheder
{readOnly:true; TEXT-ALIGN:left; color:#000; padding:5px 5px 10px 5px; font-size:16px; }
.editDisplayColumnClass
{readOnly:true; margin-left:2px; BACKGROUND:#fff; TEXT-ALIGN:LEFT; margin-bottom:10px; border-top: #6cf 3px solid; border-bottom:solid 1px #ebebeb; border-right:solid 1px #ebebeb; border-left:solid 1px #ebebeb;}
.editDisplayColumnClass td
{ padding:5px; border-bottom: none; font-size:14px;}
.button{
border: 1px solid #E7E7E7;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
color: #333;
height: 22px;
font-family: 'MuseoLight-300', sans-serif;
font-size: 12px;
background-color: #e7e7e7;
cursor: pointer;
margin-left:10px;
}
.button:hover
{
border: 1px solid #E7E7E7 !important;
background-color: #e7e7e7 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
text-shadow: none;
}
.button:active
{
text-shadow: none;
background-color: #d6d6d6 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
border: 1px solid #E7E7E7 !important;
}
.divclass
{
border : solid 1px lightgray;
line-height : 23px;
width:99.5%
}
.button.disabled {
background: #EBEBEB !important;
color:gray !IMPORTANT;
pointer-events:none !IMPORTANT;
}
.button.enabled {
color:#333 !IMPORTANT;
pointer-events:auto !IMPORTANT;
}
.Divheight
{
}
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name = "Wizard_activity" METHOD="POST" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;" onSubmit="javascript:disableButtons(1);">
<!-- changed by rahul barve on 6-apr-2015 [Start]-->
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Salses Budget Wizard Detail
</TD>
</TR>
</TABLE>
<table id="errorActivityTable" width="100%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="1" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
<table id="activityTable" Class="editDisplayColumnClass" cellSpacing="0" width="100%" cellPadding="5">
<tr width ="100%">
<td class="td_leftAlign" nowrap="true" width = "1%">
<strong>Item Code</strong>
</td>
<!-- <xsl:for-each select="/items/item/products/product/text()[generate-id() = generate-id(key('product',.)[1])]"> -->
<xsl:for-each select="//Detail2/item_code/text()[generate-id()= generate-id(key('item_code',.)[1])]">
<xsl:variable name="parent_item_code"><xsl:value-of select="."/></xsl:variable>
<xsl:variable name="position" select="position() - 1"/>
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable>
<xsl:variable name="line_no"><xsl:value-of select="line_no"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="unit"><xsl:value-of select="unit"/></xsl:variable>
<xsl:variable name="prd_code"><xsl:value-of select="prd_code"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="net_amt"><xsl:value-of select="net_amt"/></xsl:variable>
<xsl:if test="$parent_item_code = $item_code and $position = 1">
<td class="td_leftAlign" style="text-align:center" >
<xsl:value-of select="prd_code"/>
</td>
</xsl:if>
</xsl:for-each>
</xsl:for-each>
</tr>
<xsl:for-each select="//Detail2/item_code/text()[generate-id()= generate-id(key('item_code',.)[1])]">
<xsl:variable name="parent_item_code"><xsl:value-of select="."/></xsl:variable>
<tr width ="100%">
<td class="td_leftAlign" nowrap="true" style="width:100px">
<strong><xsl:value-of select="$parent_item_code"/></strong>
</td>
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable>
<xsl:variable name="line_no"><xsl:value-of select="line_no"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="unit"><xsl:value-of select="unit"/></xsl:variable>
<xsl:variable name="prd_code"><xsl:value-of select="prd_code"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="rate"><xsl:value-of select="rate"/></xsl:variable>
<xsl:variable name="net_amt"><xsl:value-of select="net_amt"/></xsl:variable>
<xsl:if test="$parent_item_code = $item_code">
<td class="td_leftAlign" style="width:70px;text-align:center" >
<input type="checkbox" name="Detail2.{normalize-space($dbID)}.selectbox" id="Detail2.{normalize-space($dbID)}.selectbox" checked = 'Y' value="true" style="display:none;" />
<input type="number" value="{$quantity}" class="input_editable" name="Detail2.{normalize-space($dbID)}.quantity" id="Detail2.{normalize-space($dbID)}.quantity" style="width:60px;text-align:right" ISCHANGED="false" onchange="setNetAmount( '{normalize-space($dbID)}' );" />
<input type="hidden" value="{$unit}" name="Detail2.{normalize-space($dbID)}.unit" id="Detail2.{normalize-space($dbID)}.unit" ISCHANGED="false"/>
<input type="hidden" value="{$rate}" name="Detail2.{normalize-space($dbID)}.rate" id="Detail2.{normalize-space($dbID)}.rate" ISCHANGED="false" readonly="true" />
<input type="hidden" value="{$net_amt}" name="Detail2.{normalize-space($dbID)}.net_amt" id="Detail2.{normalize-space($dbID)}.net_amt" ISCHANGED="false" readonly="true" />
<!--<input type="hidden" value="{$tran_id}" name="Detail2.{normalize-space($dbID)}.tran_id" id="Detail2.{normalize-space($dbID)}.tran_id" ISCHANGED="false"/>-->
<input type="hidden" value="{$prd_code}" name="Detail2.{normalize-space($dbID)}.prd_code" id="Detail2.{normalize-space($dbID)}.prd_code" ISCHANGED="false"/>
<input type="hidden" value="{$item_code}" name="Detail2.{normalize-space($dbID)}.item_code" id="Detail2.{normalize-space($dbID)}.item_code" ISCHANGED="false"/>
<input type="hidden" value="{$item_ser}" name="Detail2.{normalize-space($dbID)}.item_ser" id="Detail2.{normalize-space($dbID)}.item_ser" ISCHANGED="false"/>
<input type="hidden" value="{$line_no}" name="Detail2.{normalize-space($dbID)}.line_no" id="Detail2.{normalize-space($dbID)}.line_no" ISCHANGED="false"/>
</td>
</xsl:if>
</xsl:for-each>
</tr>
</xsl:for-each>
<!-- <xsl:for-each select="/Detail2/prd_code/text()[generate-id()= generate-id(key('prd_code',.)[1])]">
<li>
<xsl:variable name="compare1"><xsl:value-of select="."/></xsl:variable>
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable>
<xsl:variable name="line_no"><xsl:value-of select="line_no"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="unit"><xsl:value-of select="unit"/></xsl:variable>
<xsl:variable name="prd_code"><xsl:value-of select="prd_code"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<tr width ="100%">
<td class="td_leftAlign" >
<input type="text" value="{$compare1}" class="input_editable" name="Detail2.{normalize-space($dbID)}.compare1" id="Detail2.{normalize-space($dbID)}.compare1" ISCHANGED="false" readonly="true" />
</td>
</tr>
</li>
</xsl:for-each> -->
<!--<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable>
<xsl:variable name="line_no"><xsl:value-of select="line_no"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="unit"><xsl:value-of select="unit"/></xsl:variable>
<xsl:variable name="prd_code"><xsl:value-of select="prd_code"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:choose>
<xsl:when test="$item_code = $compare1">
Equal...
</xsl:when>
<xsl:otherwise>
<tr width ="100%">
<td class="td_leftAlign" >
<input type="text" value="{$item_code}" class="input_editable" name="Detail2.{normalize-space($dbID)}.item_code" id="Detail2.{normalize-space($dbID)}.item_code" ISCHANGED="false" readonly="true" />
</td>
</tr>
<xsl:variable name="compare1" select="item_code"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:for-each select="//prd_code">
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong> Account Period </strong>
</td>
<td class="td_leftAlign" >
<input type="text" value="{$prd_code}" class="input_editable" name="Detail2.{normalize-space($dbID)}.prd_code" id="Detail2.{normalize-space($dbID)}.prd_code" ISCHANGED="false" readonly="true" />
</td>
</tr> -->
<!--<tr width ="100%">
<td class="td_leftAlign" >
<input type="text" value="{$prd_code}" class="input_editable" name="Detail2.{normalize-space($dbID)}.prd_code" id="Detail2.{normalize-space($dbID)}.prd_code" ISCHANGED="false" readonly="true" />
</td>
</tr>
<tr width ="100%">
<td class="td_leftAlign" >
<input type="text" value="{$item_code}" class="input_editable" name="Detail2.{normalize-space($dbID)}.item_code" id="Detail2.{normalize-space($dbID)}.item_code" ISCHANGED="false" readonly="true" />
</td>
<td class="td_leftAlign" >
<input type="text" value="{$prd_code}" class="input_editable" name="Detail2.{normalize-space($dbID)}.prd_code" id="Detail2.{normalize-space($dbID)}.prd_code" ISCHANGED="false" readonly="true" />
</td>
</tr>
</xsl:for-each>-->
</table>
<table>
<tr width ="100%">
<td colspan="2">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="sales_budget_cust_wiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="button" style="cursor:hand" CLASS="button" value="Cancel" name = "ActNext" id = "ActNext" title='' onclick="window.location.href='/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=sales_budget_cust_wiz&amp;FORM_NO=1'"/>
<input type="submit" style="cursor:hand" CLASS="button" value="Finish" name = "ActNext" id = "ActNext" title='' onclick="setActionVal('finish')"/>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<script language="JavaScript" type="text/javascript">
<![CDATA[
var maxId = 0;
function gotBlur(obj)
{
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
}
}
function gotFocus( column )
{
objCur=column.name;
oldVal=column.value;
}
function setActivity()
{
var teamCode = "";
var teamDescr = "";
var seldbID ="";
var actType = "";
var prdCode = "";
var prdDescr = "";
var prdFrom = "";
var prdTo = "";
for( dbID = 1; dbID <= maxId; dbID++)
{
if( document.getElementById("DetailActCode."+dbID+".selectbox").value == 'true'|| document.getElementById("DetailActCode."+dbID+".selectbox").checked == 'true' )
{
seldbID = dbID;
prdCode = document.getElementById("Detail1."+dbID+".CODE").value;
prdDescr = document.getElementById("Detail1."+dbID+".DESCR").value;
}
}
if( prdDescr == "" )
{
alert("No Selection Made ! \nPlease Select Activity !");
}
else
{
window.opener.displayPrdActivity( prdCode, prdDescr );
window.close();
}
}
function setChecked( obj )
{
for( dbID = 1; dbID <= maxId; dbID++)
{
objCurr = document.getElementById("DetailActCode."+dbID+".selectbox");
if( objCurr.value == 'true' )
{
objCurr.value ='false';
objCurr.checked = false;
}
}
if( obj.value == 'false' )
{
obj.value ='true';
obj.checked = true;
}
else
{
obj.value = 'false';
obj.checked = false;
}
}
]]>
</script>
<body>
<style type="text/css">
<!-- .tableClass
{margin-left:0px;margin-top:0px}
.header_td
{border:inset 0;background:#FFCCCC;font-family:verdana;font-size:9pt}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
.td_leftAlign
{background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.td_rightAlign
{background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
-->
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name="Wizard_Activity">
<div style="height: 85%;overflow:-moz-scrollbars-vertical;" class="galaxyTable">
<table class="headertableClass" border="0" cellspacing="1" cellpadding="1" >
<!-- <THEAD class="table-head"> -->
<tr>
<th class="tHeader" nowrap="true" valign="bottom" width="5%">
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="75%" style="text-align : left;">
<strong><font color="black" >Account Period</font></strong>
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="20%" style="text-align : left;">
<strong><font color="black" >Description</font></strong>
</th>
</tr>
<!-- </THEAD> -->
<!-- <TBODY class="table-body"> -->
<xsl:for-each select="//ACCTPRD">
<xsl:variable name="CODE"><xsl:value-of select="CODE"/></xsl:variable>
<xsl:variable name="DESCR"><xsl:value-of select="DESCR"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<SCRIPT>
<![CDATA[ var qtyR ; qtyR ="]]> <xsl:value-of select="$dbID"/>
<![CDATA[";maxId= qtyR; ]]>
</SCRIPT>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<tr class='trClass'>
<td class="td_leftAlign">
<xsl:choose>
<xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" value="false" onClick="setChecked(this)"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_leftAlign">
<xsl:value-of select="CODE"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.CODE" id = "Detail1.{normalize-space($dbID)}.CODE" value="{normalize-space($CODE)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="DESCR"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.DESCR" id = "Detail1.{normalize-space($dbID)}.DESCR" value="{normalize-space($DESCR)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
</tr>
</xsl:for-each>
<!-- </TBODY> -->
</table>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<script language="JavaScript" type="text/javascript">
<![CDATA[
var maxId = 0;
function gotBlur(obj)
{
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
}
}
function gotFocus( column )
{
objCur=column.name;
oldVal=column.value;
}
function setActivity()
{
var teamCode = "";
var teamDescr = "";
var seldbID ="";
var actType = "";
var custCode = "";
var custLength = "";
var custDescr = "";
for( dbID = 1; dbID <= maxId; dbID++)
{
if( document.getElementById("DetailActCode."+dbID+".selectbox").value == 'true'|| document.getElementById("DetailActCode."+dbID+".selectbox").checked == 'true' )
{
seldbID = dbID;
custCode = document.getElementById("Detail1."+dbID+".CUST_CODE").value;
custDescr = document.getElementById("Detail1."+dbID+".CUST_NAME").value;
}
}
if( custDescr == "" )
{
alert("No Selection Made ! \nPlease Select Activity !");
}
else
{
window.opener.displayCustActivity( custCode, custDescr );
window.close();
}
}
function setChecked( obj )
{
for( dbID = 1; dbID <= maxId; dbID++)
{
objCurr = document.getElementById("DetailActCode."+dbID+".selectbox");
if( objCurr.value == 'true' )
{
objCurr.value ='false';
objCurr.checked = false;
}
}
if( obj.value == 'false' )
{
obj.value ='true';
obj.checked = true;
}
else
{
obj.value = 'false';
obj.checked = false;
}
}
]]>
</script>
<body>
<style type="text/css">
<!-- .tableClass
{margin-left:0px;margin-top:0px}
.header_td
{border:inset 0;background:#FFCCCC;font-family:verdana;font-size:9pt}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
.td_leftAlign
{background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.td_rightAlign
{background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
-->
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name="Wizard_Activity">
<div style="height: 85%;overflow:-moz-scrollbars-vertical;" class="galaxyTable">
<table class="headertableClass" border="0" cellspacing="1" cellpadding="1" >
<!-- <THEAD class="table-head"> -->
<tr>
<th class="tHeader" nowrap="true" valign="bottom" width="5%">
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="75%" style="text-align : left;">
<strong><font color="black" >Customer Code</font></strong>
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="20%" style="text-align : left;">
<strong><font color="black" >Customer Name</font></strong>
</th>
</tr>
<!-- </THEAD> -->
<!-- <TBODY class="table-body"> -->
<xsl:for-each select="//CUSTOMER">
<xsl:variable name="CUST_CODE"><xsl:value-of select="CUST_CODE"/></xsl:variable>
<xsl:variable name="CUST_NAME"><xsl:value-of select="CUST_NAME"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<SCRIPT>
<![CDATA[ var qtyR ; qtyR ="]]> <xsl:value-of select="$dbID"/>
<![CDATA[";maxId= qtyR; ]]>
</SCRIPT>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<tr class='trClass'>
<td class="td_leftAlign">
<xsl:choose>
<xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" value="false" onClick="setChecked(this)"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_leftAlign">
<xsl:value-of select="CUST_CODE"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.CUST_CODE" id = "Detail1.{normalize-space($dbID)}.CUST_CODE" value="{normalize-space($CUST_CODE)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="CUST_NAME"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.CUST_NAME" id = "Detail1.{normalize-space($dbID)}.CUST_NAME" value="{normalize-space($CUST_NAME)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
</tr>
</xsl:for-each>
<!-- </TBODY> -->
</table>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<script language="JavaScript" type="text/javascript">
<![CDATA[
var maxId = 0;
function gotBlur(obj)
{
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
}
}
function gotFocus( column )
{
objCur=column.name;
oldVal=column.value;
}
function setActivity()
{
var teamCode = "";
var teamDescr = "";
var seldbID ="";
var actType = "";
var itmCode = "";
var itmDescr = "";
for( dbID = 1; dbID <= maxId; dbID++)
{
if( document.getElementById("DetailActCode."+dbID+".selectbox").value == 'true'|| document.getElementById("DetailActCode."+dbID+".selectbox").checked == 'true' )
{
seldbID = dbID;
itmCode = document.getElementById("Detail1."+dbID+".ITEM_SER").value;
itmDescr = document.getElementById("Detail1."+dbID+".DESCR").value;
}
}
if( itmDescr == "" )
{
alert("No Selection Made ! \nPlease Select Activity !");
}
else
{
window.opener.displayItemActivity( itmCode, itmDescr );
window.close();
}
}
function setChecked( obj )
{
for( dbID = 1; dbID <= maxId; dbID++)
{
objCurr = document.getElementById("DetailActCode."+dbID+".selectbox");
if( objCurr.value == 'true' )
{
objCurr.value ='false';
objCurr.checked = false;
}
}
if( obj.value == 'false' )
{
obj.value ='true';
obj.checked = true;
}
else
{
obj.value = 'false';
obj.checked = false;
}
}
]]>
</script>
<body>
<style type="text/css">
<!-- .tableClass
{margin-left:0px;margin-top:0px}
.header_td
{border:inset 0;background:#FFCCCC;font-family:verdana;font-size:9pt}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
.td_leftAlign
{background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.td_rightAlign
{background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
-->
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name="Wizard_Activity">
<div style="height: 85%;overflow:-moz-scrollbars-vertical;" class="galaxyTable">
<table class="headertableClass" border="0" cellspacing="1" cellpadding="1" >
<!-- <THEAD class="table-head"> -->
<tr>
<th class="tHeader" nowrap="true" valign="bottom" width="5%">
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="75%" style="text-align : left;">
<strong><font color="black" >Item Series</font></strong>
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="20%" style="text-align : left;">
<strong><font color="black" >Description</font></strong>
</th>
</tr>
<!-- </THEAD> -->
<!-- <TBODY class="table-body"> -->
<xsl:for-each select="//ITEMSER">
<xsl:variable name="ITEM_SER"><xsl:value-of select="ITEM_SER"/></xsl:variable>
<xsl:variable name="DESCR"><xsl:value-of select="DESCR"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<SCRIPT>
<![CDATA[ var qtyR ; qtyR ="]]> <xsl:value-of select="$dbID"/>
<![CDATA[";maxId= qtyR; ]]>
</SCRIPT>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<tr class='trClass'>
<td class="td_leftAlign">
<xsl:choose>
<xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" value="false" onClick="setChecked(this)"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_leftAlign">
<xsl:value-of select="ITEM_SER"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.ITEM_SER" id = "Detail1.{normalize-space($dbID)}.ITEM_SER" value="{normalize-space($ITEM_SER)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="DESCR"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.DESCR" id = "Detail1.{normalize-space($dbID)}.DESCR" value="{normalize-space($DESCR)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
</tr>
</xsl:for-each>
<!-- </TBODY> -->
</table>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<script language="JavaScript" type="text/javascript">
<![CDATA[
var maxId = 0;
function gotBlur(obj)
{
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
}
}
function gotFocus( column )
{
objCur=column.name;
oldVal=column.value;
}
function setActivity()
{
var teamCode = "";
var teamDescr = "";
var seldbID ="";
var actType = "";
var posCode = "";
var posDescr = "";
for( dbID = 1; dbID <= maxId; dbID++)
{
if( document.getElementById("DetailActCode."+dbID+".selectbox").value == 'true'|| document.getElementById("DetailActCode."+dbID+".selectbox").checked == 'true' )
{
seldbID = dbID;
posCode = document.getElementById("Detail1."+dbID+".POS_CODE").value;
posDescr = document.getElementById("Detail1."+dbID+".DESCR").value;
}
}
if( posDescr == "" )
{
alert("No Selection Made ! \nPlease Select Activity !");
}
else
{
window.opener.displayPosActivity( posCode, posDescr );
window.close();
}
}
function setChecked( obj )
{
for( dbID = 1; dbID <= maxId; dbID++)
{
objCurr = document.getElementById("DetailActCode."+dbID+".selectbox");
if( objCurr.value == 'true' )
{
objCurr.value ='false';
objCurr.checked = false;
}
}
if( obj.value == 'false' )
{
obj.value ='true';
obj.checked = true;
}
else
{
obj.value = 'false';
obj.checked = false;
}
}
]]>
</script>
<body>
<style type="text/css">
<!-- .tableClass
{margin-left:0px;margin-top:0px}
.header_td
{border:inset 0;background:#FFCCCC;font-family:verdana;font-size:9pt}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
.td_leftAlign
{background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.td_rightAlign
{background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
-->
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name="Wizard_Activity">
<div style="height: 85%;overflow:-moz-scrollbars-vertical;" class="galaxyTable">
<table class="headertableClass" border="0" cellspacing="1" cellpadding="1" >
<!-- <THEAD class="table-head"> -->
<tr>
<th class="tHeader" nowrap="true" valign="bottom" width="5%">
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="75%" style="text-align : left;">
<strong><font color="black" >POS Code</font></strong>
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="20%" style="text-align : left;">
<strong><font color="black" >Description</font></strong>
</th>
</tr>
<!-- </THEAD> -->
<!-- <TBODY class="table-body"> -->
<xsl:for-each select="//ORG_STRUCTURE">
<xsl:variable name="POS_CODE"><xsl:value-of select="POS_CODE"/></xsl:variable>
<xsl:variable name="DESCR"><xsl:value-of select="DESCR"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<SCRIPT>
<![CDATA[ var qtyR ; qtyR ="]]> <xsl:value-of select="$dbID"/>
<![CDATA[";maxId= qtyR; ]]>
</SCRIPT>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<tr class='trClass'>
<td class="td_leftAlign">
<xsl:choose>
<xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" value="false" onClick="setChecked(this)"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_leftAlign">
<xsl:value-of select="POS_CODE"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.POS_CODE" id = "Detail1.{normalize-space($dbID)}.POS_CODE" value="{normalize-space($POS_CODE)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="DESCR"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.DESCR" id = "Detail1.{normalize-space($dbID)}.DESCR" value="{normalize-space($DESCR)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
</tr>
</xsl:for-each>
<!-- </TBODY> -->
</table>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<script language="JavaScript" type="text/javascript">
<![CDATA[
var maxId = 0;
function gotBlur(obj)
{
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
}
}
function gotFocus( column )
{
objCur=column.name;
oldVal=column.value;
}
function setActivity()
{
var teamCode = "";
var teamDescr = "";
var seldbID ="";
var actType = "";
var prcList = "";
var prcDescr = "";
for( dbID = 1; dbID <= maxId; dbID++)
{
if( document.getElementById("DetailActCode."+dbID+".selectbox").value == 'true'|| document.getElementById("DetailActCode."+dbID+".selectbox").checked == 'true' )
{
seldbID = dbID;
prcList = document.getElementById("Detail1."+dbID+".PRICE_LIST").value;
prcDescr = document.getElementById("Detail1."+dbID+".DESCR").value;
}
}
if( prcDescr == "" )
{
alert("No Selection Made ! \nPlease Select Activity !");
}
else
{
window.opener.displayPriceActivity( prcList, prcDescr );
window.close();
}
}
function setChecked( obj )
{
for( dbID = 1; dbID <= maxId; dbID++)
{
objCurr = document.getElementById("DetailActCode."+dbID+".selectbox");
if( objCurr.value == 'true' )
{
objCurr.value ='false';
objCurr.checked = false;
}
}
if( obj.value == 'false' )
{
obj.value ='true';
obj.checked = true;
}
else
{
obj.value = 'false';
obj.checked = false;
}
}
]]>
</script>
<body>
<style type="text/css">
<!-- .tableClass
{margin-left:0px;margin-top:0px}
.header_td
{border:inset 0;background:#FFCCCC;font-family:verdana;font-size:9pt}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
.td_leftAlign
{background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.td_rightAlign
{background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
-->
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name="Wizard_Activity">
<div style="height: 85%;overflow:-moz-scrollbars-vertical;" class="galaxyTable">
<table class="headertableClass" border="0" cellspacing="1" cellpadding="1" >
<!-- <THEAD class="table-head"> -->
<tr>
<th class="tHeader" nowrap="true" valign="bottom" width="5%">
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="75%" style="text-align : left;">
<strong><font color="black" >Price List</font></strong>
</th>
<th class="tHeader" nowrap="true" valign="bottom" width="20%" style="text-align : left;">
<strong><font color="black" >Description</font></strong>
</th>
</tr>
<!-- </THEAD> -->
<!-- <TBODY class="table-body"> -->
<xsl:for-each select="//PRICELIST_MST">
<xsl:variable name="PRICE_LIST"><xsl:value-of select="PRICE_LIST"/></xsl:variable>
<xsl:variable name="DESCR"><xsl:value-of select="DESCR"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<SCRIPT>
<![CDATA[ var qtyR ; qtyR ="]]> <xsl:value-of select="$dbID"/>
<![CDATA[";maxId= qtyR; ]]>
</SCRIPT>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<tr class='trClass'>
<td class="td_leftAlign">
<xsl:choose>
<xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" name="DetailActCode.{normalize-space($dbID)}.selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" value="false" onClick="setChecked(this)"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_leftAlign">
<xsl:value-of select="PRICE_LIST"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.PRICE_LIST" id = "Detail1.{normalize-space($dbID)}.PRICE_LIST" value="{normalize-space($PRICE_LIST)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="DESCR"/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.DESCR" id = "Detail1.{normalize-space($dbID)}.DESCR" value="{normalize-space($DESCR)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
</tr>
</xsl:for-each>
<!-- </TBODY> -->
</table>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
var httpRequest;
var xmlHTTPResponse;
var isServerBusy = false;
var local_dom_id = "1";
var local_edit_mode = "";
var global_forced_save = "false";
function callCustCode( dbID, custCode )
{
var selectedCustCode = document.getElementById("Detail1."+dbID+".cust_code").value;
var url = '/ibase/webitm/jsp/SalesBudgetCustWiz.jsp?DBID='+dbID+'&SELECTED_CUST_CODE='+selectedCustCode+'&FIELD_NAME=CUST_CODE';
var win = window.open( url, 'CustCode', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=406' );
}
function callItemSeries( dbID, itmSeries )
{
var selectedItmSeries = document.getElementById("Detail1."+dbID+".item_ser").value;
var url = '/ibase/webitm/jsp/SalesBudgetCustWiz.jsp?DBID='+dbID+'&SELECTED_ITM_SERIES='+selectedItmSeries+'&FIELD_NAME=ITEM_SER';
var win = window.open( url, 'ItemSeries', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=406' );
}
function callPosCode( dbID, psCode )
{
var selectedPosCode = document.getElementById("Detail1."+dbID+".pos_code").value;
var url = '/ibase/webitm/jsp/SalesBudgetCustWiz.jsp?DBID='+dbID+'&SELECTED_POS_CODE='+selectedPosCode+'&FIELD_NAME=POS_CODE';
var win = window.open( url, 'POSCode', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=406' );
}
function callAcctPrd( dbID, acctPrd )
{
var selectedAcctPrd = document.getElementById("Detail1."+dbID+".acct_prd").value;
var url = '/ibase/webitm/jsp/SalesBudgetCustWiz.jsp?DBID='+dbID+'&SELECTED_ACCT_PRD='+selectedAcctPrd+'&FIELD_NAME=ACCT_PRD';
var win = window.open( url, 'PeriodCode', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=406' );
}
function callPriceList( dbID, prcList )
{
var selectedPriceList = document.getElementById("Detail1."+dbID+".price_list").value;
var url = '/ibase/webitm/jsp/SalesBudgetCustWiz.jsp?DBID='+dbID+'&SELECTED_PRICE_LIST='+selectedPriceList+'&FIELD_NAME=PRICE_LIST';
var win = window.open( url, 'PriceList', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=100,top=50,width=500,height=406' );
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////// DISPLAY DESCRIPTION ////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function displayCustActivity( cusCode, cusDescr )
{
if (document.getElementById("Detail1..cust_code") != null)
{
document.getElementById("Detail1..cust_code").value = cusCode;
document.getElementById("Detail1..cus_descr").value = cusDescr;
}
else if(document.getElementById("Detail1.1.cust_code") != null)
{
document.getElementById("Detail1.1.cust_code").value = cusCode;
document.getElementById("Detail1.1.cus_descr").value = cusDescr;
}
}
function displayPosActivity( posCode, posDescr )
{
if (document.getElementById("Detail1..pos_code") != null)
{
document.getElementById("Detail1..pos_code").value = posCode;
document.getElementById("Detail1..pos_descr").value = posDescr;
}
else if(document.getElementById("Detail1.1.pos_code") != null)
{
document.getElementById("Detail1.1.pos_code").value = posCode;
document.getElementById("Detail1.1.pos_descr").value = posDescr;
}
}
function displayItemActivity( itmCode, itmDescr )
{
if (document.getElementById("Detail1..item_ser") != null)
{
document.getElementById("Detail1..item_ser").value = itmCode;
document.getElementById("Detail1..itm_descr").value = itmDescr;
}
else if(document.getElementById("Detail1.1.item_ser") != null)
{
document.getElementById("Detail1.1.item_ser").value = itmCode;
document.getElementById("Detail1.1.itm_descr").value = itmDescr;
}
}
function displayPriceActivity( prcList, prcDescr )
{
if (document.getElementById("Detail1..price_list") != null)
{
document.getElementById("Detail1..price_list").value = prcList;
document.getElementById("Detail1..prc_descr").value = prcDescr;
}
else if(document.getElementById("Detail1.1.price_list") != null)
{
document.getElementById("Detail1.1.price_list").value = prcList;
document.getElementById("Detail1.1.prc_descr").value = prcDescr;
}
}
function displayPrdActivity( prdCode, prdDescr )
{
if (document.getElementById("Detail1..acct_prd") != null)
{
document.getElementById("Detail1..acct_prd").value = prdCode;
//document.getElementById("Detail1..acct_from_date").value = prdDescr;
}
else if(document.getElementById("Detail1.1.acct_prd") != null)
{
document.getElementById("Detail1.1.acct_prd").value = prdCode;
//document.getElementById("Detail1.1.acct_from_date").value = prdFrom;
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////// NET AMOUNT ////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function validateFirstFormData( value )
{
console.log('In setActionVal validation.validateFirstFormData..');
var csCode = document.getElementById("Detail1..cust_code").value;
var psCode = document.getElementById("Detail1..pos_code").value;
var iteSer = document.getElementById("Detail1..item_ser").value;
var prcList = document.getElementById("Detail1..price_list").value;
var actPrd = document.getElementById("Detail1..acct_prd").value
if ( csCode == null || csCode == "" )
{
alert("Please enter the value for Customer code");
return false;
}
else if ( psCode == null || psCode == "" )
{
alert("Please enter the value for Position code");
return false;
}
else if ( iteSer == null || iteSer == "" )
{
alert("Please enter the value for Item Series");
return false;
}
else if ( prcList == null || prcList == "" )
{
alert("Please enter the value for Price List");
return false;
}
else if ( actPrd == null || actPrd == "" )
{
alert("Please enter the Account Period");
return false;
}
else
{
console.log('Successfull in else 1');
setActionVal( value );
}
}
function validateSecondFormData( value )
{
console.log('In setActionVal validation.validateSecondFormData..');
//var qnty = document.getElementById("Detail2.1.quantity").value;
var qnty = document.getElementById("Detail2."+dbId+".quantity").value;
console.log('qnty= '+qnty);
if ( qnty == null || qnty == "" )
{
alert("Please enter the Quantity");
return false;
}
if( qnty < 0 )
{
alert("Quantity can't be Negative! Please enter valid Quantity");
return false;
}
else
{
console.log('Successfull in else 2');
setActionVal( value );
}
}
function setActionVal( value )
{
console.log('Successfull in setActionVal');
document.getElementById("action").value = value;
return true;
}
function doHideMsg(str)
{
document.getElementById(str).style.display = 'none';
}
function disableButtons(formNo)
{
if (formNo == 1)
{
//console.log("disable button form 1 called");
document.Wizard_activity.ActNext.disabled = true;
}
else if (formNo == 2)
{
//console.log("disable button form 1 called");
document.Wizard_Travel.Cancel.disabled = true;
document.Wizard_Travel.Finish.disabled = true;
}
}
function setNetAmount( dbId )
{
qty = document.getElementById("Detail2."+dbId+".quantity").value;
console.log('qty= '+qty);
if ( qty == null || qty == "" )
{
alert("Please enter the Quantity");
}
if( qty < 0 )
{
alert("Quantity can't be Negative! Please enter valid Quantity");
}
obj1 = document.getElementById("Detail2."+dbId+".rate");
var rate = trims(obj1.value);
var amt = qty * rate ;
if(document.getElementById("Detail2."+dbId+".net_amt") != null)
{
document.getElementById("Detail2."+dbId+".net_amt").value = amt;
}
}
function trims(sVal)
{
sTrimmed = "";
bFoundNonBlank = false;
for (i =0; i<sVal.length; i++)
{
if (sVal.charAt(i) != " "
&& sVal.charAt(i) != "\f"
&& sVal.charAt(i) != "\n"
&& sVal.charAt(i) != "\r"
&& sVal.charAt(i) != "\t")
{
sTrimmed = sTrimmed + sVal.charAt(i);
bFoundNonBlank = true;
}
}
return sTrimmed;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////// ITEM CHANGE ////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var wizard_obj_name = "";
function buildDataString( colName )
{
var objCtx = colName.substring("Detail".length, colName.indexOf( "." ) );
local_dom_id = colName.substring(colName.indexOf( "." )+1, colName.lastIndexOf( "." ) );
colName = (colName.indexOf( "." ) != -1 ) ? colName.substring( colName.lastIndexOf( "." )+1 , colName.length ) : colName;
var dataString = "<?xml version='1.0' encoding='UTF-8'?>"
+"<DocumentRoot>"
+"<description>Datawindow Root</description>"
+"<group0>"
+"<description>Group0 description</description>"
+"<Header0>"
+"<description>Header0 members</description>";
var currEditForm = document.forms[0];
if ( currEditForm != undefined )
{
for( formCtr = 1; formCtr <= parseInt(objCtx); formCtr++ )
{
var prev_dom_id = -1;//Gulzar on 21/03/15
var dataElements = "";
for( ctr = 0; ctr < currEditForm.elements.length; ctr++ )
{
var obj = currEditForm.elements[ctr];
var columnName = obj.name;
var objectCtx = columnName.substring("Detail".length, columnName.indexOf( "." ) );
if(parseInt(objectCtx) == formCtr)
{
var curr_dom_id = columnName.substring(columnName.indexOf( "." )+1, columnName.lastIndexOf( "." ) );
if( curr_dom_id != prev_dom_id)
{
if(prev_dom_id != -1)
{
dataString += "</Detail" + formCtr + ">";
}
dataString += "<Detail" + objectCtx + " id='2' dbID='' domID='" + curr_dom_id + "' "
+ "objName='" + wizard_obj_name + "' objContext='" + objectCtx + "'>"
+ "<attribute pkNames='' status='O' updateFlag='N' selected='N'/>";
}
if( obj.name != undefined && obj.name.indexOf( "Detail" ) == 0 && obj.value != undefined )
{
currObjDomId = (obj.name).substring((obj.name).indexOf( "." )+1, (obj.name).lastIndexOf( "." ) );
//if ( currObjDomId == local_dom_id )//Gulzar on 29/12/14
{
var colName = (obj.name.indexOf( "." ) != -1 ) ? obj.name.substring( obj.name.lastIndexOf( "." )+1 , obj.name.length ) : obj.name ;
dataString += "<" + colName + "><![CDATA[" +escape(obj.value) +"]]></" + colName + ">";
}
}
prev_dom_id = curr_dom_id;
}
}//for( ctr = 0; ctr < currEditForm.elements.length; ctr++ )
if(dataString.indexOf("<Detail" + formCtr) != -1 )
{
dataString += "</Detail" + formCtr + ">";
}
}
}
dataString += "</Header0>"
+ "</group0>"
+ "</DocumentRoot>";
return dataString;
}
function getSaveString( colName )
{
var objCtx = colName.substring("Detail".length, colName.indexOf( "." ) );
local_dom_id = colName.substring(colName.indexOf( "." )+1, colName.lastIndexOf( "." ) );
global_obj_context = objCtx;
var saveString = "";
var isChange = false;
var changeColString = "";
if(colName == undefined)
{
colName = "";
}
if(arguments[1] == undefined)
{
arguments[1] = colName;
}
var ctr1 = 0;
var currEditForm = document.forms[0];
if ( currEditForm != undefined )
{
if(typeof headerObj === 'undefined')
{
changeColString += "<Detail id ='"+local_dom_id+"'>";
}
else
{
changeColString += "<Detail id ='"+local_dom_id+"' dbID ='"+headerObj.refId+"' domID ='"+local_dom_id+"'>";
}
var oldObj = "";
var str = "";
for( ctr = 0; ctr < currEditForm.elements.length; ctr++ )
{
var obj = currEditForm.elements[ctr];
if ( ctr == 0 )
{
oldObj = obj.name;
}
str += "["+obj.name+"="+obj.value+"="+obj.ISCHANGED+"]\n";
if( obj.name != undefined && obj.ISCHANGED != undefined && obj.value != undefined && ( colName == obj.name ) )
{
if( obj.ISCHANGED == "true" )
{
isChange = true;
var colName = obj.name;
if( colName.indexOf( "." ) != -1 )
{
isDotNotation = true;
dotNotation = colName.substring(0,colName.lastIndexOf( "." )+1);
colName = ( colName.indexOf( "." ) != -1 ) ? colName.substring( colName.lastIndexOf( "." )+1 , colName.length ) : colName ;
}
currObjDomId = (obj.name).substring((obj.name).indexOf( "." )+1, (obj.name).lastIndexOf( "." ) );
if ( currObjDomId == local_dom_id )
{
changeColString += "<" + colName + "><![CDATA[" +obj.value +"]]></" + colName + ">";
}
}
if ( obj.name == oldObj )
{
break;
}
}
}
changeColString += "</Detail>";
}
saveString = "<?xml version='1.0' encoding='utf-8'?>"
+ "<Root>"
+ getHeaderString( colName, objCtx, local_dom_id );
if(isChange)
{
saveString += changeColString;
}
saveString += "</Root>";
return saveString;
}
function getHeaderString( colName, objCtx, local_dom_id )
{
var obj_name = "sales_budget_cust_wiz";
colName = (colName.indexOf( "." ) != -1 ) ? colName.substring( colName.lastIndexOf( "." )+1 , colName.length ) : colName ;
return "<header>"
+ "<objName><![CDATA["+obj_name+"]]></objName>"
+ "<pageContext><![CDATA[2]]></pageContext>"
+ "<objContext><![CDATA["+objCtx+"]]></objContext>"
+ "<editFlag><![CDATA["+local_edit_mode+"]]></editFlag>"
+ "<focusedColumn><![CDATA[" + colName + "]]></focusedColumn>"
+ "<elementName><![CDATA[" + arguments[1] + "]]></elementName>"
+ "<keyValue><![CDATA[" + ( local_dom_id ) + "]]></keyValue>"
+ "<taxKeyValue><![CDATA[" + ( ( global_obj_context == "1" ) ? "1" : local_dom_id ) + "]]></taxKeyValue>"
+ "<saveLevel><![CDATA[0]]></saveLevel>"
+ "<forcedSave><![CDATA[" + global_forced_save + "]]></forcedSave>"
+ "<taxInFocus><![CDATA[false]]></taxInFocus>"
+ "</header>";
}
function callItemChange( dbId, fieldName )
{
var obj = document.getElementById("OBJ_NAME");
var objName = obj.value;
wizard_obj_name = objName;
var action = "post_item_change";
var detailFieldName = document.getElementById("Detail1."+dbId+"."+fieldName).name;
var saveString = getSaveString( detailFieldName );
console.log(saveString);
var dataString = buildDataString( detailFieldName );
console.log(dataString);
local_dom_id = ( detailFieldName ).substring( ( detailFieldName ).indexOf( "." )+1, ( detailFieldName ).lastIndexOf( "." ) );
console.log(local_dom_id);
if( saveString != "" )
{
var url = "/ibase/WebITMStatelessItemChangeServlet?OBJ_NAME="+objName+"&ACTION=post_item_change&TRANS_DOM="+encodeURIComponent(saveString)+"&DETAIL_DOM="+encodeURIComponent(dataString)+"&DOM_ID="+local_dom_id;
makeRequestWizard( url, fieldName);
}
}
function setPosCodeVal(xmldoc)
{
console.log("amey "+xmldoc);
if (window.DOMParser)
{
parser=new DOMParser();
try
{
if(xmldoc != null && xmldoc.trim().length > 0)
{
xmldoc = parser.parseFromString(xmldoc,"text/xml");
}
}
catch(ex)
{
alert("Exception occurs while parsing xml data");
}
}
else
{
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async=false;
xmldoc.loadXML(txt);
}
if(xmldoc != null )
{
//if(objFormName === 'doctor')
//{
var detailElement = xmldoc.getElementsByTagName("Detail1");
for (var i = 0; i < detailElement.length; i++)
{
var detail = detailElement[i];
var posCod="";
var posDes = "";
var custName="";
var strgType="";
var placeRequired="";
if( detail.getElementsByTagName("pos_code")[0] != null && detail.getElementsByTagName("pos_code")[0].childNodes[0] != null )
{
posCod = detail.getElementsByTagName("pos_code")[0].childNodes[0].nodeValue;
//document.getElementById("Detail1..pos_code").value = posCod;
if (document.getElementById("Detail1..pos_code") != null)
{
document.getElementById("Detail1..pos_code").value = posCod;
}
else if(document.getElementById("Detail1.1.pos_code") != null)
{
document.getElementById("Detail1.1.pos_code").value = posCod;
}
}
if( detail.getElementsByTagName("pos_descr")[0] != null && detail.getElementsByTagName("pos_descr")[0].childNodes[0] != null )
{
posDes = detail.getElementsByTagName("pos_descr")[0].childNodes[0].nodeValue;
//document.getElementById("Detail1..pos_descr").value = posDes;
if (document.getElementById("Detail1..pos_descr") != null)
{
document.getElementById("Detail1..pos_descr").value = posDes;
}
else if(document.getElementById("Detail1.1.pos_descr") != null)
{
document.getElementById("Detail1.1.pos_descr").value = posDes;
}
}
if( detail.getElementsByTagName("cus_descr")[0] != null && detail.getElementsByTagName("cus_descr")[0].childNodes[0] != null )
{
custName = detail.getElementsByTagName("cus_descr")[0].childNodes[0].nodeValue;
//document.getElementById("Detail1..cus_descr").value = custName;
if (document.getElementById("Detail1..cus_descr") != null)
{
document.getElementById("Detail1..cus_descr").value = custName;
}
else if(document.getElementById("Detail1.1.cus_descr") != null)
{
document.getElementById("Detail1.1.cus_descr").value = custName;
}
}
}
//}
}
}
function setPosDescrVal(xmldoc)
{
console.log("amey "+xmldoc);
if (window.DOMParser)
{
parser=new DOMParser();
try
{
if(xmldoc != null && xmldoc.trim().length > 0)
{
xmldoc = parser.parseFromString(xmldoc,"text/xml");
}
}
catch(ex)
{
alert("Exception occurs while parsing xml data");
}
}
else
{
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async=false;
xmldoc.loadXML(txt);
}
if(xmldoc != null )
{
var detailElement = xmldoc.getElementsByTagName("Detail1");
for (var i = 0; i < detailElement.length; i++)
{
var detail = detailElement[i];
var posdescr="";
var custName="";
var strgType="";
var placeRequired="";
if( detail.getElementsByTagName("pos_descr")[0] != null && detail.getElementsByTagName("pos_descr")[0].childNodes[0] != null )
{
posdescr = detail.getElementsByTagName("pos_descr")[0].childNodes[0].nodeValue;
//document.getElementById("Detail1..pos_descr").value = posdescr;
if (document.getElementById("Detail1..pos_descr") != null)
{
document.getElementById("Detail1..pos_descr").value = posdescr;
}
else if(document.getElementById("Detail1.1.pos_descr") != null)
{
document.getElementById("Detail1.1.pos_descr").value = posdescr;
}
}
}
}
}
function setItmDescrVal(xmldoc)
{
console.log("amey "+xmldoc);
if (window.DOMParser)
{
parser=new DOMParser();
try
{
if(xmldoc != null && xmldoc.trim().length > 0)
{
xmldoc = parser.parseFromString(xmldoc,"text/xml");
}
}
catch(ex)
{
alert("Exception occurs while parsing xml data");
}
}
else
{
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async=false;
xmldoc.loadXML(txt);
}
if(xmldoc != null )
{
var detailElement = xmldoc.getElementsByTagName("Detail1");
for (var i = 0; i < detailElement.length; i++)
{
var detail = detailElement[i];
var itmdescr="";
var custName="";
var strgType="";
var placeRequired="";
if( detail.getElementsByTagName("itm_descr")[0] != null && detail.getElementsByTagName("itm_descr")[0].childNodes[0] != null )
{
itmdescr = detail.getElementsByTagName("itm_descr")[0].childNodes[0].nodeValue;
//document.getElementById("Detail1..itm_descr").value = itmdescr;
if (document.getElementById("Detail1..itm_descr") != null)
{
document.getElementById("Detail1..itm_descr").value = itmdescr;
}
else if(document.getElementById("Detail1.1.itm_descr") != null)
{
document.getElementById("Detail1.1.itm_descr").value = itmdescr;
}
}
}
}
}
function setPrcDescrVal(xmldoc)
{
console.log("amey "+xmldoc);
if (window.DOMParser)
{
parser=new DOMParser();
try
{
if(xmldoc != null && xmldoc.trim().length > 0)
{
xmldoc = parser.parseFromString(xmldoc,"text/xml");
}
}
catch(ex)
{
alert("Exception occurs while parsing xml data");
}
}
else
{
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async=false;
xmldoc.loadXML(txt);
}
if(xmldoc != null )
{
var detailElement = xmldoc.getElementsByTagName("Detail1");
for (var i = 0; i < detailElement.length; i++)
{
var detail = detailElement[i];
var prcdescr="";
var custName="";
var strgType="";
var placeRequired="";
if( detail.getElementsByTagName("prc_descr")[0] != null && detail.getElementsByTagName("prc_descr")[0].childNodes[0] != null )
{
prcdescr = detail.getElementsByTagName("prc_descr")[0].childNodes[0].nodeValue;
//document.getElementById("Detail1..prc_descr").value = prcdescr;
if (document.getElementById("Detail1..prc_descr") != null)
{
document.getElementById("Detail1..prc_descr").value = prcdescr;
}
else if(document.getElementById("Detail1.1.prc_descr") != null)
{
document.getElementById("Detail1.1.prc_descr").value = prcdescr;
}
}
}
}
}
if (window.ActiveXObject) /*code for IE6, IE5*/
{
httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) /*code for IE7+, Firefox, Chrome, Opera, Safari*/
{
httpRequest = new XMLHttpRequest();
}
function makeRequestWizard( url, setColumnValuesWizard )
{
var sURL = unescape(window.location);
if( ! isServerBusy )
{
isServerBusy = true;
httpRequest.open("POST", url, false);
httpRequest.onreadystatechange = function()
{
receiveResponseWizard( setColumnValuesWizard );
};
httpRequest.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8" );
httpRequest.send( null );
}
}
function receiveResponseWizard( setColumnValuesWizard )
{
if (httpRequest.readyState == 4)
{
if(httpRequest.status == 200)
{
processResponseWizard( setColumnValuesWizard );
}
else
{
alert("Error loading page\n"+ httpRequest.status +":"+ httpRequest.statusText);
}
}
}
function processResponseWizard( setColumnValuesWizard )
{
var returnStr = null;
isProcessOn = false;
if ( window.ActiveXObject )
{
xmldoc = httpRequest.responseText;
xmlHTTPResponse = xmldoc;
}
else
{
try
{
var parser = new DOMParser();
xmldoc = httpRequest.responseText;
}
catch(e)
{
alert("inside catch:"+e.message);
}
}
//if( ! checkForError( xmldoc ) )
//{
// setColumnValuesWizard( xmldoc );
// isServerBusy = false;
//}
console.log('setColumnValuesWizard.['+setColumnValuesWizard+']');
if( ! checkForError( xmldoc ) )
{
if ( setColumnValuesWizard == "cust_code" )
{
console.log('vicky 1.......'+xmldoc);
setPosCodeVal(xmldoc);
}
else if( setColumnValuesWizard == "pos_code" )
{
console.log('vicky 2.......'+xmldoc);
setPosDescrVal(xmldoc);
}
else if( setColumnValuesWizard == "item_ser" )
{
console.log('vicky 3.......'+xmldoc);
setItmDescrVal(xmldoc);
}
else if( setColumnValuesWizard == "price_list" )
{
console.log('vicky 4.......'+xmldoc);
setPrcDescrVal(xmldoc);
}
else
{
setColumnValuesWizard(xmldoc);
}
}
isServerBusy = false;
}
function loadXMLString(txt)
{
if (window.DOMParser)
{
parser=new DOMParser();
xmlDoc=parser.parseFromString(txt,"text/xml");
}
else /* code for IE*/
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.loadXML(txt);
}
return xmlDoc;
}
function setColumnValuesWizard( retVal )
{
var xmldoc = null;
if (window.ActiveXObject)
{
xmldoc = new ActiveXObject( "microsoft.XMLDOM" );
xmldoc.loadXMLString( retVal );
}
else
{
var parser = new DOMParser();
xmldoc = parser.parseFromString(retVal,"text/xml" );
xmldoc=httpRequest.responseXML;
}
if( xmldoc.nodeType != 9 )
{
return true;
}
var rootNodeList = xmldoc.getElementsByTagName( "Root" );
if( rootNodeList.length == 1 )
{
var rootNode = rootNodeList.item(0);
//no of details
var childNodeList = rootNode.childNodes;
var noOfTopLevelChilds = childNodeList.length;
for(ctr = 0; ctr < noOfTopLevelChilds; ctr++)
{
if( childNodeList.item(ctr).nodeName == "Detail" + global_obj_context )
{
var detailNode = childNodeList.item(ctr);
var colNodeList = detailNode.childNodes;
var colCount = colNodeList.length;
for(fieldCtr = 0; fieldCtr < colCount; fieldCtr++)
{
var colNode = colNodeList.item(fieldCtr);
var colNewValue = "";
var colProtectValue = null;
if (colNode.firstChild != null || colNode.firstChild != undefined)
{
colNewValue = colNode.firstChild.nodeValue;
var colProtect = colNode.attributes.getNamedItem("protect");
if (colProtect != null || colProtect != undefined)
{
colProtectValue = colProtect.value;
}
}//if (colNode.firstChild != null || colNode.firstChild != undefined)
colNewValue = ( colNewValue == "null" ) ? "" : colNewValue;
var obj = undefined;
if( isDotNotation )
{
//write logic to rebuild colName = colName.formNo.
var currDomObj = dotNotation + colNode.nodeName ;
if( document.getElementById( currDomObj ) != undefined )
{
obj = document.getElementById( currDomObj );
}
}
else
{
var currDomID = detailNode.attributes.getNamedItem("domID").value;
if( document.getElementById( colNode.nodeName + currDomID ) != undefined )
{
obj = document.getElementById( colNode.nodeName + currDomID );
}
}
if( obj != undefined )
{
if( obj.value != undefined )
{
obj.value = colNewValue;
}
else
{
str = "<Font>"+colNewValue+"</Font>";
obj.innerHTML = str;
}
obj.ISCHANGED = "true";
if ( colProtectValue != null && ( colProtectValue == "1" || obj.TABORDER =="0" ) )
{
obj.disabled="true";
}
}//if( obj != undefined )
}//for (fieldCtr = 0; fieldCtr < colCount; fieldCtr++)
}//if( childNodeList.item(ctr).nodeName == "Detail" + global_obj_context )
}//for(ctr = 0; ctr < noOfTopLevelChilds; ctr++)
}
else
{
alert("Invalid XML");
}
}
function checkForError( retVal, argArr )
{
console.log("WizardItemchange.js >> checkForError....");
try
{
//toggleButtonStatus( false );
}
catch(err){}
if ( retVal.indexOf("<html>") != -1 || retVal.indexOf("<HTML>") != -1 )
{
return false;
}
var xmldoc = null;
if (window.ActiveXObject)
{
xmldoc = new ActiveXObject( "microsoft.XMLDOM" );
xmldoc.loadXML(retVal);
}
else
{
var parser = new DOMParser();
xmldoc = parser.parseFromString(retVal,"text/xml" );
if(xmldoc == null || xmldoc == "null" || xmldoc == "")
xmldoc=httpRequest.responseXML;
}
if( xmldoc.nodeType != 9 )
{
return true;;
}
var errorsNode = xmldoc.getElementsByTagName( "Errors" );
var column_name = "";
if( errorsNode.length != 0 )
{
var msg = "";
var toSave = false;
outer:
for(j = 0; j < errorsNode.length; j++) //Errors Node
{
inner:
for(i = 0; i < errorsNode.item(j).childNodes.length; i++) //error node
{
var errorNode = errorsNode.item(j).childNodes.item(i);
var id ;
var type ;
var column_nameNode;
var column_name;
if(errorNode.attributes != null || column_nameNode != undefined)
{
id = errorNode.attributes.getNamedItem("id").value;
type = errorNode.attributes.getNamedItem("type").value;
column_nameNode = errorNode.attributes.getNamedItem("column_name");
if(column_nameNode != null || column_nameNode != undefined)
{
column_name = column_nameNode.value;
}
}
var noOfErrorChilds = errorNode.childNodes.length;
var tagName = new Array();
var tagValue = new Array();
var mesCtr = 0;
var descrCtr = 1;
var traceCtr = 2;
var redirCtr = 3;
for(ctr = 0 ; ctr < noOfErrorChilds; ctr++)
{
var errorChild = errorNode.childNodes.item(ctr);
tagName[ctr] = errorChild.NodeName;
if(errorChild.firstChild != null || errorChild.firstChild != undefined)
{
tagValue[ctr] = errorChild.firstChild.nodeValue;
}
else
{
tagValue[ctr] = "";
}
}
if (type=="E" || type=="X")
{
alert("Exception \nMessage : " + tagValue[mesCtr] + "\nDescription : " + tagValue[descrCtr] + "\nTrace : " + tagValue[traceCtr] + "\nRedirect : " + tagValue[redirCtr]);
global_save_level = "0";
toSave = false;
global_forced_save = "false";
break outer;
}
else if (type=="P")
{
alert("Prompt \nMessage : " + tagValue[mesCtr] + "\nDescription : " + tagValue[descrCtr] + "\nTrace : " + tagValue[traceCtr] + "\nRedirect : " + tagValue[redirCtr]);
toSave = true;
break outer;
}
else if (type=="W")
{
var Yes_or_No = confirm( "Warning \nMessage : " + tagValue[mesCtr] + "\nDescription : " + tagValue[descrCtr] + "\nTrace : " + tagValue[traceCtr] + "\nRedirect : " + tagValue[redirCtr]);
if ( Yes_or_No == 1 )
{
global_forced_save = "true";
toSave = true;
continue;
}
else
{
global_save_level = "0";
toSave = false;
global_forced_save = "false";
break outer;
}
}//else if (type=="W")
}// for inner:
}//for outer:
if (toSave)
{
if( argArr != null && argArr != undefined && argArr.length > 0 )
{
if( argArr[0] == "itemChange" )
{
setColumnValuesWizard( xmldoc );
}
else if( argArr[0] == "valData" )
{
isFormDirty = false;
}
else if( argArr[0] == "save2DB" )
{
save2DB();
}
else if( argArr[0] == "delete" )
{
isFormDirty = false;
}
else
{
return true;
}
}
}
else
{
var obj;
if (column_name.length > 0)
{
obj = document.getElementById(column_name);
if (obj != undefined)
{
obj.focus();
}
else
{
obj = document.getElementById("Detail1."+DB_ID+"."+column_name);
if (obj != undefined)
{
obj.focus();
}
}
}
return true;
}
var obj;
if (column_name.length > 0)
{
obj = document.getElementById(column_name);
if (obj != undefined)
{
obj.focus();
}
}
}//if(errorsNode.length != 0)
else
{
//Changed by Shravan on 25/12/2006 added if condition
if( argArr != null && argArr != undefined && argArr.length > 0 )
{
if( argArr[0] == "itemChange" )
{
setColumnValuesWizard( xmldoc );
}
else if( argArr[0] == "valData" )
{
isFormDirty = false;
}
else if( argArr[0] == "save2DB" )
{
isTransactionDirty = false;
isFormDirty = false;
document.location.href = "blank.jsp";
}
else if( argArr[0] == "delete" )
{
isFormDirty = false;
}
}
}
}
<%@page import = "java.lang.*,java.util.*"%>
<%@page import = "ibase.webitm.ejb.fin.SalesBudgetCustWizBean"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String itmSeries = "",posCode = "", priceList = "", acctprd = "",custCode = "",htmlData = "", fld_name = "";
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp @@@@@@@@@@@@@@@@");
SalesBudgetCustWizBean salesBudgetCustWizBean = new SalesBudgetCustWizBean();
fld_name = ( String ) request.getParameter("FIELD_NAME");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp FIELD_NAME =" +fld_name);
custCode = ( String ) request.getParameter("SELECTED_CUST_CODE");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp custCode =" +custCode);
itmSeries = ( String ) request.getParameter("SELECTED_ITM_SERIES");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp itmSeries =" +itmSeries);
posCode = ( String ) request.getParameter("SELECTED_POS_CODE");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp posCode =" +posCode);
priceList = ( String ) request.getParameter("SELECTED_PRICE_LIST");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp priceList =" +priceList);
acctprd = ( String ) request.getParameter("SELECTED_ACCT_PRD");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp acctprd =" +acctprd);
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )session.getAttribute( "USER_INFO" );
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp userInfo ::"+userInfo.toString());
if( userInfo != null )
{
salesBudgetCustWizBean.setUserInfo( userInfo );
}
if ( fld_name.equalsIgnoreCase("CUST_CODE") && custCode != null )
{
htmlData = salesBudgetCustWizBean.getCustCode( custCode );
}
else if ( fld_name.equalsIgnoreCase("POS_CODE") && posCode != null )
{
htmlData = salesBudgetCustWizBean.getPosCode( posCode );
}
else if ( fld_name.equalsIgnoreCase("ITEM_SER") && itmSeries != null )
{
htmlData = salesBudgetCustWizBean.getItmSeries( itmSeries );
}
else if ( fld_name.equalsIgnoreCase("PRICE_LIST") && priceList != null )
{
htmlData = salesBudgetCustWizBean.getPriceList( priceList );
}
else if ( fld_name.equalsIgnoreCase("ACCT_PRD") && acctprd != null )
{
htmlData = salesBudgetCustWizBean.getAcctPrd( acctprd );
}
else
{
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp ERROR- NOT ANY POPHELP");
}
%>
<script language="JavaScript" type="text/javascript">
function displayText()
{
var str = "Done";
var localized = str.toLocaleString();
document.getElementById("addButton").value = localized;
str = "Cancel";
localized = str.toLocaleString();
document.getElementById("cancelButton").value = localized;
document.getElementById("pophelpDiv").style.height = (window.innerHeight - 40 ) + "px";
}
</script>
<body onLoad="displayText();" onresize="displayText();">
<!-- <div style="width=60%;position:absolute;height=20%;left=2%;top=90%;overflow=auto;" > -->
<div style="width=60%;position:absolute;height=30px;left=2%;" >
<div id="pophelpDiv" style="overflow: auto;">
<%=htmlData%>
</div>
<table class="tableClass" border="0" cellspacing="1" width="50%" cellpadding="1">
<tr>
<td>
<%-- <input type="hidden" value="4" name="FORM_NO" />
<input type="hidden" value="savex_wiz_item" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<nobr> --%>
<input type ="button" class="button" id="addButton" value="Done" title='' onclick="setActivity();"/> <!--Changed by Shravan on [20/05/2015] ..End -->
<input type ="button" class="button" id="cancelButton" value="Cancel" title='' onclick="self.close()"/><!--Changed by Shravan on [20/05/2015] ..End -->
<%-- </nobr> --%>
</td>
</tr>
</table>
</div>
</body>
-- 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,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) values ('SCN',1,3,0,0,0,'/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=sales_budget_cust_wiz&amp;FORM_NO=1','Sales Budget Wizard','Sales Budget Wizard','SCN.1.3.0.0.0',null,null,null,'I',null,null,null,null,null,null,null,'0 ');
-- 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,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL) values ('w_sales_budget_cust_wiz','2','2','A','seq10',null,null,null,null,null,'N',to_date('04-03-19','DD-MM-RR'),'BASE ','base-241 ','0',null,null,'N','N',null,null,null,'N',null,'TRAN_ID',null,'0',null,null,null,null,null,null,null,null,null,null,'sales_budget_cust',null,null,null,null,null,null,null,null,null,'B-PLAN','F',null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,null,null,null,null,null,null,'M',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,null,null,null,null,null,null,'compact',null,null,null,null,null,null,null);
-- OBJ_FORMS
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_sales_budget_cust_wiz','Sales Budget Wizard',null,null,null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_sales_budget_cust_wiz','Detail',null,null,null,null,null,null,'2','T',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
-- 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,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM) values ('sales_budget_cust_wiz',1,'ibase/resource/objaction/copyTransaction.svg','Copying Transaction','a','a','A','Copy Transaction','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'1',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM) values ('sales_budget_cust_wiz',2,'ibase/resource/objaction/finish.svg','Finish',null,null,'S','Finish','2',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'2',null);
-- 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,COMM_FORMAT) values ('sales_budget_cust_wiz','default_data_wiz','1','itm_default_salesBudgetWiz',null,'0',to_date('04-03-19','DD-MM-RR'),'BASE ','BASE ','2','JB','ibase.webitm.ejb.fin.SalesBudgetCustWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('sales_budget_cust_wiz','post_item_change','1','poic_salesBudgetCustWiz',null,'0',to_date('04-03-19','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.fin.SalesBudgetCustWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('sales_budget_cust_wiz','post_save','1','pos_salesBudgetCustWiz',null,'0',to_date('04-03-19','DD-MM-RR'),'Amey ','Amey','2','JB','ibase.webitm.ejb.fin.SalesBudgetCustPosWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('sales_budget_cust_wiz','pre_navigate','1','prv_salesBudgetCustWiz',null,'0',to_date('04-03-19','DD-MM-RR'),'BASE ','BASE ','2','JB','ibase.webitm.ejb.fin.SalesBudgetCustWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('sales_budget_cust_wiz','pre_validate','1','prv_salesBudgetCustWiz',null,'0',to_date('04-03-19','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.fin.SalesBudgetCustWizEJB',null);
-- 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,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('itm_default_salesBudgetWiz','SalesBudgetWiz','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('poic_salesBudgetCustWiz','SalesBudgetWiz','http://localhost:9090/axis/services/ValidatorService','base','itemChanged','String','S',null,null,to_date('04-03-19','DD-MM-RR'),'PRAUT ','System',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('pos_salesBudgetCustWiz','SalesBudgetWiz','http://localhost:9090/axis/services/ValidatorService','BASE','postSave','String','S',null,null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prv_salesBudgetCustWiz','SalesBudgetWiz','http://localhost:9090/axis/services/ValidatorService','base','wfValData','String','S',null,null,to_date('04-03-19','DD-MM-RR'),'PRAUT ','System',null,null,null);
-- 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 ('itm_default_salesBudgetWiz',1,'COMPONENT_TYPE','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey','JB');
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 ('itm_default_salesBudgetWiz',2,'COMPONENT_NAME','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey','ibase.webitm.ejb.fin.SalesBudgetCustWizEJB');
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 ('itm_default_salesBudgetWiz',3,'XML_DATA__ALL','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('itm_default_salesBudgetWiz',4,'XML_DATA_1','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('itm_default_salesBudgetWiz',5,'XML_DATA_ALL','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('itm_default_salesBudgetWiz',6,'OBJ_CONTEXT','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('itm_default_salesBudgetWiz',7,'FOCUSED_COLUMN','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('itm_default_salesBudgetWiz',8,'EDIT_FLAG','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('itm_default_salesBudgetWiz',9,'XTRA_PARAMS','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_salesBudgetCustWiz',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE','JB');
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_salesBudgetCustWiz',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE','ibase.webitm.ejb.fin.SalesBudgetCustWizEJB');
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_salesBudgetCustWiz',3,'XML_DATA','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_salesBudgetCustWiz',4,'XML_DATA_1','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_salesBudgetCustWiz',5,'XML_DATA_2','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_salesBudgetCustWiz',6,'OBJ_CONTEXT','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_salesBudgetCustWiz',7,'FOCUSED_COLUMN','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_salesBudgetCustWiz',8,'EDIT_FLAG ','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_salesBudgetCustWiz',9,'XTRA_PARAMS ','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('pos_salesBudgetCustWiz',1,'COMPONENT_TYPE','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey','JB');
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 ('pos_salesBudgetCustWiz',2,'COMPONENT_NAME','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey','ibase.webitm.ejb.fin.SalesBudgetCustPosWizEJB');
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 ('pos_salesBudgetCustWiz',3,'XML_DATA_ALL','I','XML_DATA_ALL','S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('pos_salesBudgetCustWiz',4,'<tran_id>','I',null,'B.String',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('pos_salesBudgetCustWiz',5,'EDIT_FLAG','I','EDIT_FLAG','S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('pos_salesBudgetCustWiz',6,'XTRA_PARAMS','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('pos_salesBudgetCustWiz',7,'DB_CONN','I',null,'S.Connection',null,to_date('04-03-19','DD-MM-RR'),'Amey ','Amey',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE','ibase.webitm.ejb.fin.SalesBudgetCustWizEJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',3,'XML_DATA','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',4,'XML_DATA_1','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',5,'XML_DATA_ALL','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',6,'OBJ_CONTEXT','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',7,'EDIT_FLAG','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_salesBudgetCustWiz',8,'XTRA_PARAMS','I',null,'S',null,to_date('04-03-19','DD-MM-RR'),'Amey ','BASE',null);
<?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>23</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sales_budget_cust.tran_id</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>sales_budget_cust.site_code</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_type</name>
<dbname>sales_budget_cust.tran_type</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_prd</name>
<dbname>sales_budget_cust.acct_prd</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>sales_budget_cust.item_ser</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>price_list</name>
<dbname>sales_budget_cust.price_list</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bud_cat</name>
<dbname>sales_budget_cust.bud_cat</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>sales_budget_cust.confirmed</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>sales_budget_cust.conf_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>sales_budget_cust.emp_code__aprv</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>add_date</name>
<dbname>sales_budget_cust.add_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>add_user</name>
<dbname>sales_budget_cust.add_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>add_term</name>
<dbname>sales_budget_cust.add_term</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>sales_budget_cust.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>sales_budget_cust.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>sales_budget_cust.chg_term</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>sales_budget_cust.tran_date</dbname>
</table_column>
<table_column>
<type size="200">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>sales_budget_cust.remarks</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code</name>
<dbname>sales_budget_cust.cust_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pos_code</name>
<dbname>sales_budget_cust.pos_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>net_amt</name>
<dbname>sales_budget_cust.net_amt</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_budget_cust&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;sales_budget_cust.tran_id&quot;) COLUMN(NAME=&quot;sales_budget_cust.site_code&quot;) COLUMN(NAME=&quot;sales_budget_cust.tran_type&quot;) COLUMN(NAME=&quot;sales_budget_cust.acct_prd&quot;) COLUMN(NAME=&quot;sales_budget_cust.item_ser&quot;) COLUMN(NAME=&quot;sales_budget_cust.price_list&quot;) COLUMN(NAME=&quot;sales_budget_cust.bud_cat&quot;) COLUMN(NAME=&quot;sales_budget_cust.confirmed&quot;) COLUMN(NAME=&quot;sales_budget_cust.conf_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.emp_code__aprv&quot;) COLUMN(NAME=&quot;sales_budget_cust.add_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.add_user&quot;) COLUMN(NAME=&quot;sales_budget_cust.add_term&quot;) COLUMN(NAME=&quot;sales_budget_cust.chg_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.chg_user&quot;) COLUMN(NAME=&quot;sales_budget_cust.chg_term&quot;) COLUMN(NAME=&quot;sales_budget_cust.tran_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.remarks&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;sales_budget_cust.cust_code&quot;) COLUMN(NAME=&quot;sales_budget_cust.pos_code&quot;) COLUMN(NAME=&quot;sales_budget_cust.net_amt&quot;) JOIN (LEFT=&quot;sales_budget_cust.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;sales_budget_cust.emp_code__aprv&quot; )) </retrieve>
<update>SALES_BUDGET_CUST</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Id</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>1</y>
<height>19</height>
<width>66</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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code</text>
<border>6</border>
<color>33554432</color>
<x>70</x>
<y>2</y>
<height>19</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Date</text>
<border>6</border>
<color>33554432</color>
<x>145</x>
<y>2</y>
<height>19</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Type</text>
<border>6</border>
<color>33554432</color>
<x>215</x>
<y>2</y>
<height>19</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Acct Prd</text>
<border>6</border>
<color>33554432</color>
<x>289</x>
<y>2</y>
<height>19</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_prd_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Ser</text>
<border>6</border>
<color>33554432</color>
<x>357</x>
<y>2</y>
<height>19</height>
<width>74</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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Price List</text>
<border>6</border>
<color>33554432</color>
<x>433</x>
<y>2</y>
<height>19</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>price_list_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Budget Category</text>
<border>6</border>
<color>33554432</color>
<x>515</x>
<y>2</y>
<height>19</height>
<width>116</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bud_cat_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Confirmed</text>
<border>6</border>
<color>33554432</color>
<x>633</x>
<y>2</y>
<height>19</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Conf Date</text>
<border>6</border>
<color>33554432</color>
<x>695</x>
<y>2</y>
<height>19</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Emp Code Aprv</text>
<border>6</border>
<color>33554432</color>
<x>971</x>
<y>2</y>
<height>19</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Remarks</text>
<border>6</border>
<color>33554432</color>
<x>829</x>
<y>2</y>
<height>19</height>
<width>140</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Add Date</text>
<border>6</border>
<color>33554432</color>
<x>1337</x>
<y>2</y>
<height>19</height>
<width>105</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Add User</text>
<border>6</border>
<color>33554432</color>
<x>1444</x>
<y>2</y>
<height>19</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_user_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Add Term</text>
<border>6</border>
<color>33554432</color>
<x>1512</x>
<y>2</y>
<height>19</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_term_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Date</text>
<border>6</border>
<color>33554432</color>
<x>1610</x>
<y>2</y>
<height>19</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg User</text>
<border>6</border>
<color>33554432</color>
<x>1744</x>
<y>2</y>
<height>19</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Term</text>
<border>6</border>
<color>33554432</color>
<x>1812</x>
<y>2</y>
<height>19</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Emp Fname</text>
<border>6</border>
<color>134217734</color>
<x>1067</x>
<y>1</y>
<height>19</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Emp Mname</text>
<border>6</border>
<color>134217734</color>
<x>1157</x>
<y>1</y>
<height>19</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Emp Lname</text>
<border>6</border>
<color>134217734</color>
<x>1247</x>
<y>1</y>
<height>19</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cust Code</text>
<border>0</border>
<color>33554432</color>
<x>1910</x>
<y>1</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Pos Code</text>
<border>0</border>
<color>33554432</color>
<x>1990</x>
<y>1</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_code_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Net Amt</text>
<border>0</border>
<color>33554432</color>
<x>2070</x>
<y>1</y>
<height>16</height>
<width>342</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>70</x>
<y>2</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>145</x>
<y>2</y>
<height>16</height>
<width>68</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>215</x>
<y>2</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>289</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>357</x>
<y>2</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>433</x>
<y>2</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>price_list</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>515</x>
<y>2</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bud_cat</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>633</x>
<y>2</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>695</x>
<y>2</y>
<height>16</height>
<width>132</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>829</x>
<y>2</y>
<height>16</height>
<width>140</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>200</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>971</x>
<y>2</y>
<height>16</height>
<width>94</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1067</x>
<y>1</y>
<height>15</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1157</x>
<y>1</y>
<height>15</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1247</x>
<y>1</y>
<height>15</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1337</x>
<y>2</y>
<height>16</height>
<width>105</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1444</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1512</x>
<y>2</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1610</x>
<y>2</y>
<height>16</height>
<width>132</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1744</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1812</x>
<y>2</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1910</x>
<y>1</y>
<height>15</height>
<width>78</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>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>1990</x>
<y>1</y>
<height>15</height>
<width>78</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>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>2070</x>
<y>1</y>
<height>15</height>
<width>342</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</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>24</height>
<color>536870912</color>
</Header>
<Summary>
<height>4</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>27</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sales_budget_cust_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>sales_budget_cust_det.line_no</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code</name>
<dbname>sales_budget_cust_det.prd_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>sales_budget_cust_det.item_code</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit</name>
<dbname>sales_budget_cust_det.unit</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>sales_budget_cust_det.quantity</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate</name>
<dbname>sales_budget_cust_det.rate</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>net_amt</name>
<dbname>sales_budget_cust_det.net_amt</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="200">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>sales_budget_cust_det.remarks</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>uom_descr</name>
<dbname>uom.descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_budget_cust_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;uom&quot; ) COLUMN(NAME=&quot;sales_budget_cust_det.tran_id&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.line_no&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.prd_code&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.item_code&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.unit&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.quantity&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.rate&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.net_amt&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.remarks&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;uom.descr&quot;) JOIN (LEFT=&quot;sales_budget_cust_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;sales_budget_cust_det.item_code&quot; ) JOIN (LEFT=&quot;sales_budget_cust_det.unit&quot; OP =&quot;=&quot;RIGHT=&quot;uom.unit&quot; OUTER1 =&quot;sales_budget_cust_det.unit&quot; )WHERE( EXP1 =&quot;~&quot;SALES_BUDGET_CUST_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve>
<update>SALES_BUDGET_CUST_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>number</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Net Amt</text>
<border>6</border>
<color>0</color>
<x>521</x>
<y>6</y>
<height>18</height>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tran Id</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>7</y>
<height>19</height>
<width>65</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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No</text>
<border>6</border>
<color>0</color>
<x>69</x>
<y>7</y>
<height>19</height>
<width>61</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Prd Code</text>
<border>6</border>
<color>0</color>
<x>132</x>
<y>6</y>
<height>19</height>
<width>73</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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>6</border>
<color>0</color>
<x>207</x>
<y>6</y>
<height>19</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Unit</text>
<border>6</border>
<color>0</color>
<x>278</x>
<y>6</y>
<height>19</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Quantity</text>
<border>6</border>
<color>0</color>
<x>346</x>
<y>6</y>
<height>19</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Rate</text>
<border>6</border>
<color>0</color>
<x>449</x>
<y>6</y>
<height>19</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Remarks</text>
<border>6</border>
<color>0</color>
<x>627</x>
<y>5</y>
<height>19</height>
<width>130</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Descr</text>
<border>6</border>
<color>33554432</color>
<x>759</x>
<y>5</y>
<height>16</height>
<width>142</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Uom Descr</text>
<border>6</border>
<color>33554432</color>
<x>903</x>
<y>5</y>
<height>16</height>
<width>165</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>uom_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>627</x>
<y>1</y>
<height>16</height>
<width>130</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>521</x>
<y>1</y>
<height>16</height>
<width>104</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>449</x>
<y>1</y>
<height>16</height>
<width>70</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>346</x>
<y>1</y>
<height>16</height>
<width>101</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>278</x>
<y>1</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>207</x>
<y>1</y>
<height>16</height>
<width>69</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>1</y>
<height>16</height>
<width>73</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>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>69</x>
<y>1</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>65</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>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>759</x>
<y>1</y>
<height>15</height>
<width>142</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>903</x>
<y>1</y>
<height>15</height>
<width>165</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>uom_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>649</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sales_budget_cust.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>sales_budget_cust.tran_date</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_type</name>
<dbname>sales_budget_cust.tran_type</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_prd</name>
<dbname>sales_budget_cust.acct_prd</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>sales_budget_cust.item_ser</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bud_cat</name>
<dbname>sales_budget_cust.bud_cat</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>price_list</name>
<dbname>sales_budget_cust.price_list</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>sales_budget_cust.confirmed</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>sales_budget_cust.conf_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>sales_budget_cust.emp_code__aprv</dbname>
</table_column>
<table_column>
<type size="200">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>sales_budget_cust.remarks</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>add_date</name>
<dbname>sales_budget_cust.add_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>add_term</name>
<dbname>sales_budget_cust.add_term</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>add_user</name>
<dbname>sales_budget_cust.add_user</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>sales_budget_cust.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>sales_budget_cust.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>sales_budget_cust.chg_term</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_descr</name>
<dbname>site.descr</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>sales_budget_cust.site_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>itemser_descr</name>
<dbname>itemser.descr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pricelist_mst_descr</name>
<dbname>pricelist_mst.descr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_site_type</name>
<dbname>site.site_type</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code</name>
<dbname>sales_budget_cust.cust_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pos_code</name>
<dbname>sales_budget_cust.pos_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>net_amt</name>
<dbname>sales_budget_cust.net_amt</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_budget_cust&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;itemser&quot; ) TABLE(NAME=&quot;pricelist_mst&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;sales_budget_cust.tran_id&quot;) COLUMN(NAME=&quot;sales_budget_cust.tran_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.tran_type&quot;) COLUMN(NAME=&quot;sales_budget_cust.acct_prd&quot;) COLUMN(NAME=&quot;sales_budget_cust.item_ser&quot;) COLUMN(NAME=&quot;sales_budget_cust.bud_cat&quot;) COLUMN(NAME=&quot;sales_budget_cust.price_list&quot;) COLUMN(NAME=&quot;sales_budget_cust.confirmed&quot;) COLUMN(NAME=&quot;sales_budget_cust.conf_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.emp_code__aprv&quot;) COLUMN(NAME=&quot;sales_budget_cust.remarks&quot;) COLUMN(NAME=&quot;sales_budget_cust.add_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.add_term&quot;) COLUMN(NAME=&quot;sales_budget_cust.add_user&quot;) COLUMN(NAME=&quot;sales_budget_cust.chg_date&quot;) COLUMN(NAME=&quot;sales_budget_cust.chg_user&quot;) COLUMN(NAME=&quot;sales_budget_cust.chg_term&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;sales_budget_cust.site_code&quot;) COLUMN(NAME=&quot;itemser.descr&quot;) COLUMN(NAME=&quot;pricelist_mst.descr&quot;) COLUMN(NAME=&quot;site.site_type&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;sales_budget_cust.cust_code&quot;) COLUMN(NAME=&quot;sales_budget_cust.pos_code&quot;) COLUMN(NAME=&quot;sales_budget_cust.net_amt&quot;) JOIN (LEFT=&quot;sales_budget_cust.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;sales_budget_cust.emp_code__aprv&quot; ) JOIN (LEFT=&quot;sales_budget_cust.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; ) JOIN (LEFT=&quot;sales_budget_cust.item_ser&quot; OP =&quot;=&quot;RIGHT=&quot;itemser.item_ser&quot; ) JOIN (LEFT=&quot;sales_budget_cust.price_list&quot; OP =&quot;=&quot;RIGHT=&quot;pricelist_mst.price_list&quot; )WHERE( EXP1 =&quot;~&quot;SALES_BUDGET_CUST~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve>
<update>SALES_BUDGET_CUST</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>number</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>4</x>
<y>13</y>
<height>201</height>
<width>561</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>127</x>
<y>32</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>32</y>
<height>16</height>
<width>107</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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Date :</text>
<border>0</border>
<color>33554432</color>
<x>399</x>
<y>32</y>
<height>16</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>474</x>
<y>32</y>
<height>16</height>
<width>72</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Cutomer code:</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>54</y>
<height>15</height>
<width>107</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>
<ColumnObject>
<band>Detail</band>
<id>26</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>0</border>
<color>33554432</color>
<x>127</x>
<y>54</y>
<height>15</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>POS code :</text>
<border>0</border>
<color>33554432</color>
<x>386</x>
<y>54</y>
<height>15</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>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>0</border>
<color>33554432</color>
<x>467</x>
<y>54</y>
<height>15</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pos_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<required>yes</required>
<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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Type :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>73</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>127</x>
<y>73</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Acct Period :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>113</y>
<height>15</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_prd_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>127</x>
<y>113</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Series :</text>
<border>0</border>
<color>33554432</color>
<x>206</x>
<y>113</y>
<height>16</height>
<width>95</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>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>305</x>
<y>113</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>382</x>
<y>113</y>
<height>16</height>
<width>164</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>itemser_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Price List :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>133</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>price_list_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>127</x>
<y>133</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>price_list</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Remarks :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>155</y>
<height>15</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>33554432</color>
<x>127</x>
<y>155</y>
<height>38</height>
<width>420</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>200</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Net Amount :</text>
<border>0</border>
<color>33554432</color>
<x>259</x>
<y>133</y>
<height>15</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_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>28</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>353</x>
<y>133</y>
<height>15</height>
<width>195</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<GroupBox>
<band>Detail</band>
<text>Status</text>
<border>2</border>
<color>33554432</color>
<x>4</x>
<y>223</y>
<height>80</height>
<width>560</width>
<name>gb_3</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>4</x>
<y>320</y>
<height>97</height>
<width>558</width>
<name>gb_2</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>553648127</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approved By :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>248</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>127</x>
<y>248</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>199</x>
<y>248</y>
<height>16</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>304</x>
<y>248</y>
<height>16</height>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>418</x>
<y>248</y>
<height>16</height>
<width>128</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>270</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>127</x>
<y>270</y>
<height>16</height>
<width>72</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed Date :</text>
<border>0</border>
<color>33554432</color>
<x>202</x>
<y>270</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_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>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>304</x>
<y>270</y>
<height>16</height>
<width>72</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Budget Category :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>93</y>
<height>15</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bud_cat_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>127</x>
<y>93</y>
<height>16</height>
<width>230</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bud_cat</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>127</x>
<y>346</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>205</x>
<y>346</y>
<height>16</height>
<width>343</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>346</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add Date :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>366</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>127</x>
<y>366</y>
<height>16</height>
<width>72</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add User :</text>
<border>0</border>
<color>33554432</color>
<x>209</x>
<y>366</y>
<height>15</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_user_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>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>296</x>
<y>366</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add Term :</text>
<border>0</border>
<color>33554432</color>
<x>382</x>
<y>366</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>471</x>
<y>366</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>389</y>
<height>15</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>127</x>
<y>389</y>
<height>16</height>
<width>72</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User :</text>
<border>0</border>
<color>33554432</color>
<x>209</x>
<y>389</y>
<height>15</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_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>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>296</x>
<y>389</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Term :</text>
<border>0</border>
<color>33554432</color>
<x>381</x>
<y>389</y>
<height>15</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_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>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>471</x>
<y>389</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>5</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>748</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sales_budget_cust_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>sales_budget_cust_det.line_no</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code</name>
<dbname>sales_budget_cust_det.prd_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>sales_budget_cust_det.item_code</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit</name>
<dbname>sales_budget_cust_det.unit</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>sales_budget_cust_det.quantity</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>net_amt</name>
<dbname>sales_budget_cust_det.net_amt</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate</name>
<dbname>sales_budget_cust_det.rate</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="200">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>sales_budget_cust_det.remarks</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>uom_descr</name>
<dbname>uom.descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_budget_cust_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;uom&quot; ) COLUMN(NAME=&quot;sales_budget_cust_det.tran_id&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.line_no&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.prd_code&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.item_code&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.unit&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.quantity&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.net_amt&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.rate&quot;) COLUMN(NAME=&quot;sales_budget_cust_det.remarks&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;uom.descr&quot;) JOIN (LEFT=&quot;sales_budget_cust_det.unit&quot; OP =&quot;=&quot;RIGHT=&quot;uom.unit&quot; OUTER1 =&quot;sales_budget_cust_det.unit&quot; ) JOIN (LEFT=&quot;sales_budget_cust_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;sales_budget_cust_det.item_code&quot; )WHERE( EXP1 =&quot;~&quot;SALES_BUDGET_CUST_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve>
<update>SALES_BUDGET_CUST_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>number</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>26</x>
<y>247</y>
<height>49</height>
<width>554</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>35</x>
<y>268</y>
<height>17</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>121</x>
<y>268</y>
<height>17</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id:</text>
<border>0</border>
<color>33554432</color>
<x>362</x>
<y>268</y>
<height>17</height>
<width>82</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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>448</x>
<y>268</y>
<height>17</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>26</x>
<y>12</y>
<height>209</height>
<width>552</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Rate:</text>
<border>0</border>
<color>33554432</color>
<x>228</x>
<y>122</y>
<height>17</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>301</x>
<y>122</y>
<height>17</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>218</x>
<y>60</y>
<height>17</height>
<width>322</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>134217857</color>
<x>218</x>
<y>81</y>
<height>17</height>
<width>322</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>uom_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Net Amt:</text>
<border>0</border>
<color>33554432</color>
<x>394</x>
<y>122</y>
<height>17</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>466</x>
<y>122</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt</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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>121</x>
<y>61</y>
<height>17</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>121</x>
<y>82</y>
<height>15</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>121</x>
<y>101</y>
<height>17</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>121</x>
<y>122</y>
<height>17</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>121</x>
<y>144</y>
<height>47</height>
<width>418</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>200</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code:</text>
<border>0</border>
<color>33554432</color>
<x>35</x>
<y>61</y>
<height>17</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Unit:</text>
<border>0</border>
<color>33554432</color>
<x>35</x>
<y>81</y>
<height>17</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Prd Code:</text>
<border>0</border>
<color>33554432</color>
<x>35</x>
<y>101</y>
<height>17</height>
<width>82</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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>35</x>
<y>122</y>
<height>17</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Remarks:</text>
<border>0</border>
<color>33554432</color>
<x>35</x>
<y>144</y>
<height>17</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<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>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_sales_budget_cust22</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_sales_budget_cust22&gt;&lt;d_sales_budget_cust22_row __pbband=&quot;detail&quot;&gt;&lt;tran_id/&gt;&lt;line_no/&gt;&lt;prd_code&gt;prd_code&lt;/prd_code&gt;&lt;item_code/&gt;&lt;unit&gt;unit&lt;/unit&gt;&lt;quantity&gt;quantity&lt;/quantity&gt;&lt;net_amt&gt;net_amt&lt;/net_amt&gt;&lt;rate&gt;rate&lt;/rate&gt;&lt;remarks&gt;remarks&lt;/remarks&gt;&lt;item_descr&gt;item_descr&lt;/item_descr&gt;&lt;uom_descr&gt;uom_descr&lt;/uom_descr&gt;&lt;/d_sales_budget_cust22_row&gt;&lt;/d_sales_budget_cust22&gt;</xml>
</Template>
</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>
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