Commit 1808df78 authored by ppatro's avatar ppatro

PO Wizard D14IKAT004


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@35419 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c64aca53
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.bean.wms;
import java.io.File;
import ibase.system.config.AppConnectParm;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.wms.DDPorderWizEJBRemote;
import ibase.webitm.utility.ITMException;
import javax.naming.InitialContext;
import javax.servlet.http.HttpSession;
public class PorderDetailBean
{
private ibase.utility.UserInfoBean userInfo = null;
private HttpSession sessionCtx = null;
private String objName = "";
private String user_lang ="en";
private String user_country = "US";
public String getList(String field,String extra) throws ITMException
{
String itemTypeList = "";
DDPorderWizEJBRemote ddPorderWizRemote = null;
try
{
InitialContext ctx = new InitialContext( new AppConnectParm().getProperty() );
ddPorderWizRemote = (ibase.webitm.ejb.wms.DDPorderWizEJBRemote) ctx.lookup("ibase/DDPorderWizEJB/remote");
itemTypeList = ddPorderWizRemote.getList(field,extra);
String xslFileName = getXSLFileName( "porderWiz_ItemDetails_wiz_" + this.user_lang + "_" + this.user_country + ".xsl" );
itemTypeList = (ibase.webitm.utility.GenericUtility.getInstance()).transformToString( xslFileName, itemTypeList, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
}
catch (Exception e)
{
throw new ITMException(e);
}
finally
{
if ( ddPorderWizRemote != null )
{
ddPorderWizRemote = null;
}
}
return itemTypeList;
}
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();
}
System.out.println( " xslPath [" + xslPath +"] xslFileName ["+xslFileName +"]");
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 nextForm( String formNo, String xmlData ) throws ITMException
{
String retHtmlData = null;
try
{
System.out.println("*******In Method : [nextForm]************");
System.out.println("xmlString : ["+ xmlData +"]");
//InitialContext ctx = new InitialContext( new AppConnectParm().getProperty() );
//DDPorderWizEJBRemote ddPorderWizRemote = null;
//ddPorderWizRemote = (ibase.webitm.ejb.wms.DDPorderWizEJBRemote) ctx.lookup("ibase/DDPorderWizEJB/remote");
//details = ddPorderWizRemote.getPorderDetails(xmlData);
String xslFileName = getXSLFileName( "porderWiz1_wiz_" + this.user_lang + "_" + this.user_country + "_" + "A" + ".xsl" );
retHtmlData = (ibase.webitm.utility.GenericUtility.getInstance()).transformToString( xslFileName, xmlData, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
}
catch (Exception e)
{
throw new ITMException(e);
}
finally
{
}
return retHtmlData;
}
}
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.ejb.wms;
import java.io.IOException;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import javax.ejb.Stateless;
import javax.servlet.ServletException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@Stateless
public class DDPorderWizEJB extends ValidatorEJB implements DDPorderWizEJBRemote, DDPorderWizEJBLocal
{
GenericUtility genericUtility = GenericUtility.getInstance();
@Override
public String wfValData(String xmlString, String xmlString1,
String xmlString2, String objContext, String editFlag,
String xtraParams) throws RemoteException, ITMException
{
String errString = "";
Document dom = null;
Document dom1 = null;
Document dom2 = null;
try
{
System.out.println("xmlString:::"+xmlString);
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 = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
}
catch(Exception e)
{
System.out.println("Exception : Cpp : wfValData(String xmlString) : ==>\n"+e.getMessage());
}
return(errString);
}
@Override
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException
{
Connection conn = null;
ConnDriver connDriver = new ConnDriver();
ResultSet rs = null;
PreparedStatement pstmt = null ;
String userId = "";
int currentFormNo = 0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int childNodeListLength;
int ctr = 0;
long cnt = 0;
String childNodeName = null;
String errCode = "";
String errorType = "";
String errString = "";
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
/* try
{
conn = connDriver.getConnectDB("DriverITM");
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
if(objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
switch(currentFormNo)
{
case 1:
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr=0;ctr<childNodeListLength;ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equalsIgnoreCase("ord_date"))
{
int paramName = 0;
String ord_date = genericUtility.getColumnValue("ord_date", dom);
String countSerSql = "SELECT COUNT(1) AS COUNT FROM PORDER WHERE TRIM(ORD_DATE) = ?";
PreparedStatement pstmtParamName = conn.prepareStatement(countSerSql);
pstmtParamName.setString(1, ord_date);
ResultSet rsCnt = pstmtParamName.executeQuery();
System.out.println("countSerSql" + countSerSql);
if (rsCnt.next())
{
paramName = rsCnt.getInt("COUNT");
}
if (paramName != 0)
{
errCode = "VTQDTNV";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
else if (childNodeName.equalsIgnoreCase("ind_no"))
{
int paramName = 0;
String ind_no = genericUtility.getColumnValue("ind_no", dom);
String countSerSql = "SELECT COUNT(1) AS COUNT FROM PORDER WHERE TRIM(IND_NO) = ?";
PreparedStatement pstmtParamName = conn.prepareStatement(countSerSql);
pstmtParamName.setString(1, ind_no);
ResultSet rsCnt = pstmtParamName.executeQuery();
System.out.println("countSerSql" + countSerSql);
if (rsCnt.next())
{
paramName = rsCnt.getInt("COUNT");
}
if (paramName != 0)
{
errCode = "DUPITEMCD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
else if (childNodeName.equalsIgnoreCase("item_ser"))
{
int paramName = 0;
String item_ser = genericUtility.getColumnValue("item_ser", dom);
String countSerSql = "SELECT COUNT(1) AS COUNT FROM PORDER WHERE TRIM(ITEM_SER) = ?";
PreparedStatement pstmtParamName = conn.prepareStatement(countSerSql);
pstmtParamName.setString(1, item_ser);
ResultSet rsCnt = pstmtParamName.executeQuery();
System.out.println("countSerSql" + countSerSql);
if (rsCnt.next())
{
paramName = rsCnt.getInt("COUNT");
}
if (paramName != 0)
{
errCode = "DUPITEMCD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
else if (childNodeName.equalsIgnoreCase("cr_term"))
{
int paramName = 0;
String cr_term = genericUtility.getColumnValue("cr_term", dom);
String countSerSql = "SELECT COUNT(1) AS COUNT FROM PORDER WHERE TRIM(CR_TERM) = ?";
PreparedStatement pstmtParamName = conn.prepareStatement(countSerSql);
pstmtParamName.setString(1, cr_term);
ResultSet rsCnt = pstmtParamName.executeQuery();
System.out.println("countSerSql" + countSerSql);
if (rsCnt.next())
{
paramName = rsCnt.getInt("COUNT");
}
if (paramName != 0)
{
errCode = "DUPITEMCD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
break;
case 2:
parentNodeList = dom.getElementsByTagName("Detail2");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
}
for(ctr=0;ctr<childNodeListLength;ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equalsIgnoreCase("item_code"))
{
int paramName = 0;
String item_code = genericUtility.getColumnValue("item_code", dom);
String countSerSql = "SELECT COUNT(1) AS COUNT FROM PORDER WHERE TRIM(ITEM_CODE) = ?";
PreparedStatement pstmtParamName = conn.prepareStatement(countSerSql);
pstmtParamName.setString(1, item_code);
ResultSet rsCnt = pstmtParamName.executeQuery();
System.out.println("countSerSql" + countSerSql);
if (rsCnt.next())
{
paramName = rsCnt.getInt("COUNT");
}
if (paramName != 0)
{
errCode = "DUPITEMCD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
else if (childNodeName.equalsIgnoreCase("rate"))
{
int paramName = 0;
String rate = genericUtility.getColumnValue("rate", dom);
String countSerSql = "SELECT COUNT(1) AS COUNT FROM PORDER WHERE TRIM(RATE) = ?";
PreparedStatement pstmtParamName = conn.prepareStatement(countSerSql);
pstmtParamName.setString(1, rate);
ResultSet rsCnt = pstmtParamName.executeQuery();
System.out.println("countSerSql" + countSerSql);
if (rsCnt.next())
{
paramName = rsCnt.getInt("COUNT");
}
if (paramName != 0)
{
errCode = "DUPITEMCD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
else if (childNodeName.equalsIgnoreCase("quantity"))
{
int paramName = 0;
String quantity = genericUtility.getColumnValue("quantity", dom);
String countSerSql = "SELECT COUNT(1) AS COUNT FROM PORDER WHERE TRIM(QUANTITY) = ?";
PreparedStatement pstmtParamName = conn.prepareStatement(countSerSql);
pstmtParamName.setString(1, quantity);
ResultSet rsCnt = pstmtParamName.executeQuery();
System.out.println("countSerSql" + countSerSql);
if (rsCnt.next())
{
paramName = rsCnt.getInt("COUNT");
}
if (paramName != 0)
{
errCode = "DUPITEMCD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
}
int errListSize = errList.size();
cnt = 0;
String errFldName = null;
if(errList != null && errListSize > 0)
{
for(cnt = 0; cnt < errListSize; cnt ++)
{
errCode = errList.get((int) cnt);
errFldName = errFields.get((int) cnt);
errString = getErrorString(errFldName, errCode, userId);
errorType = errorType(conn , errCode);
if(errString.length() > 0)
{
String bifurErrString = errString.substring(errString.indexOf("<Errors>") + 8, errString.indexOf("<trace>"));
bifurErrString = bifurErrString + errString.substring(errString.indexOf("</trace>") + 8, errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
errString = "";
}
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors> </Root> \r\n");
}
else
{
errStringXml = new StringBuffer("");
}
}//end of try
catch(Exception e)
{
e.printStackTrace();
}
finally
{
try
{
connDriver = null;
if(conn != null)
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
}
conn = null;
}
catch(Exception d)
{
d.printStackTrace();
throw new ITMException(d);
}
}
*/
errString = errStringXml.toString();
return errString;
}
@Override
public String itemChanged(String xmlString, String xmlString1,
String xmlString2, String objContext, String currentColumn,
String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document dom1 = null;
Document dom = null;
Document dom2 = null;
String valueXmlString = "";
String errString="";
try
{
System.out.println("xmlString["+xmlString+"]");
System.out.println("xmlString1["+xmlString1+"]");
System.out.println("xmlString2["+xmlString2+"]");
if(xmlString != null && xmlString.trim().length()!=0)
{
System.out.println("xmlString["+xmlString+"]");
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);
}
valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :DDProductWizEJB:itemChanged(String,String,String,String,String,String):" + e.getMessage() + ":");
valueXmlString = genericUtility.createErrorString(e);
e.printStackTrace();
}
return valueXmlString;
}
@Override
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag,String xtraParams) throws RemoteException, ITMException
{
String errString="";
Connection conn = null;
ConnDriver connDriver = new ConnDriver();
int currentFormNo = 0;
StringBuffer valueXmlString = new StringBuffer();
String userId = "";
String currDate = "";
ResultSet rs = null;
PreparedStatement pstmt = null ;
try
{
conn = connDriver.getConnectDB("DriverITM");
if(objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
valueXmlString = new StringBuffer("<?xml version = \"1.0\"?>\r\n<Root>\r\n<header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n");
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
currDate = sdf.format(new java.util.Date());
userId = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" );
String chgTerm = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "chgTerm" );
String siteCode = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginSiteCode" );
String empCode = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginEmpCode" );
System.out.println("EMPCODE="+empCode);
System.out.println("currentColumn["+currentColumn+"]");
System.out.println("objContext["+objContext+"]");
switch(currentFormNo)
{
case 1:
{
valueXmlString.append("<Detail1 domID='1' selected = 'N'>\r\n");
if( currentColumn.trim().equalsIgnoreCase( "itm_default" ))
{
valueXmlString.append("<tran_date>").append("<![CDATA["+currDate+"]]>").append("</tran_date>\r\n");
valueXmlString.append("<purc_order>").append("<![CDATA[]]>").append("</purc_order>\r\n");
valueXmlString.append("<ord_date>").append("<![CDATA["+currDate+"]]>").append("</ord_date>\r\n");
valueXmlString.append("<ind_no>").append("<![CDATA[]]>").append("</ind_no>\r\n");
valueXmlString.append("<item_ser>").append("<![CDATA[]]>").append("</item_ser>\r\n");
valueXmlString.append("<supp_code>").append("<![CDATA[]]>").append("</supp_code>\r\n");
valueXmlString.append("<supp_name>").append("<![CDATA[]]>").append("</supp_name>\r\n");
valueXmlString.append("<cr_term>").append("<![CDATA[]]>").append("</cr_term>\r\n");
valueXmlString.append("<crterm_descr>").append("<![CDATA[]]>").append("</crterm_descr>\r\n");
valueXmlString.append("<remarks>").append("<![CDATA[]]>").append("</remarks>\r\n");
valueXmlString.append("<confirmed>").append("<![CDATA[N]]>").append("</confirmed>\r\n");
valueXmlString.append("<dlv_term>").append("<![CDATA[]]>").append("</dlv_term>\r\n");
valueXmlString.append("<tran_code>").append("<![CDATA[]]>").append("</tran_code>\r\n");
valueXmlString.append("<tran_name>").append("<![CDATA[]]>").append("</tran_name>\r\n");
valueXmlString.append("<price_list>").append("<![CDATA[]]>").append("</price_list>\r\n");
valueXmlString.append("<conf_date>").append("<![CDATA["+currDate+"]]>").append("</conf_date>\r\n");
valueXmlString.append("<exch_rate>").append("<![CDATA[]]>").append("</exch_rate>\r\n");
valueXmlString.append("<dept_code>").append("<![CDATA[]]>").append("</dept_code>\r\n");
valueXmlString.append("<department_descr>").append("<![CDATA[]]>").append("</department_descr>\r\n");
valueXmlString.append("<trans_mode>").append("<![CDATA[]]>").append("</trans_mode>\r\n");
valueXmlString.append("<item_code>").append("<![CDATA[]]>").append("</item_code>\r\n");
valueXmlString.append("<site_code__dlv>").append("<![CDATA["+siteCode+"]]>").append("</site_code__dlv>\r\n");
valueXmlString.append("<pord_type>").append("<![CDATA[]]>").append("</pord_type>\r\n");
valueXmlString.append("<site_add1>").append("<![CDATA[]]>").append("</site_add1>\r\n");
valueXmlString.append("<emp_code>").append("<![CDATA["+empCode+"]]>").append("</emp_code>\r\n");
}
valueXmlString.append("</Detail1>\r\n");
break;
}
case 2:
{
String purc_order = genericUtility.getColumnValue("purc_order", dom1,"1");
String ord_date = genericUtility.getColumnValue("ord_date",dom1,"1");
String ind_no = genericUtility.getColumnValue("ind_no",dom1,"1");
String item_ser = genericUtility.getColumnValue("item_ser", dom1,"1");
String supp_code = genericUtility.getColumnValue("supp_code",dom1,"1");
String suppName = genericUtility.getColumnValue("supp_name",dom1,"1");
String cr_term = genericUtility.getColumnValue("cr_term",dom1,"1");
String crDescr = genericUtility.getColumnValue("crterm_descr",dom1,"1");
String remarks = genericUtility.getColumnValue("remarks", dom1,"1");
String confirmed = genericUtility.getColumnValue("confirmed", dom1,"1");
String dlv_term = genericUtility.getColumnValue("dlv_term", dom1,"1");
String tran_code = genericUtility.getColumnValue("tran_code", dom1,"1");
String tranName = genericUtility.getColumnValue("tran_name", dom1,"1");
String price_list = genericUtility.getColumnValue("price_list", dom1,"1");
String conf_date = genericUtility.getColumnValue("conf_date", dom1,"1");
String exch_rate = genericUtility.getColumnValue("exch_rate", dom1,"1");
String dept_code = genericUtility.getColumnValue("dept_code", dom1,"1");
String deptDescr = genericUtility.getColumnValue("department_descr", dom1,"1");
String trans_mode = genericUtility.getColumnValue("trans_mode", dom1,"1");
String item_code = genericUtility.getColumnValue("item_code", dom1,"1");
String tran_date = genericUtility.getColumnValue("tran_date", dom1,"1");
String pordType = genericUtility.getColumnValue("pord_type", dom1,"1");
String sitecode = genericUtility.getColumnValue("site_code__dlv", dom1,"1");
String siteAdd = genericUtility.getColumnValue("site_add1", dom1,"1");
String itemParent = "",itemDescr = "";
valueXmlString.append("<Detail2 domID='"+1+"' selected = 'N'>\r\n");
if("itm_default".equalsIgnoreCase(currentColumn))
{
valueXmlString.append("<purc_order>").append("<![CDATA["+ checkNullAndTrim(purc_order) +"]]>").append("</purc_order>\r\n");
valueXmlString.append("<tran_date>").append("<![CDATA["+ checkNullAndTrim(tran_date) +"]]>").append("</tran_date>\r\n");
valueXmlString.append("<ord_date>").append("<![CDATA["+ord_date+"]]>").append("</ord_date>\r\n");
valueXmlString.append("<ind_no>").append("<![CDATA["+ checkNullAndTrim(ind_no) +"]]>").append("</ind_no>\r\n");
valueXmlString.append("<item_ser>").append("<![CDATA["+ checkNullAndTrim(item_ser) +"]]>").append("</item_ser>\r\n");
valueXmlString.append("<supp_code>").append("<![CDATA["+supp_code+"]]>").append("</supp_code>\r\n");
valueXmlString.append("<supp_name>").append("<![CDATA["+suppName+"]]>").append("</supp_name>\r\n");
valueXmlString.append("<cr_term>").append("<![CDATA["+ checkNullAndTrim(cr_term) +"]]>").append("</cr_term>\r\n");
valueXmlString.append("<crterm_descr>").append("<![CDATA["+ checkNullAndTrim(crDescr) +"]]>").append("</crterm_descr>\r\n");
valueXmlString.append("<remarks>").append("<![CDATA["+ checkNullAndTrim(remarks) +"]]>").append("</remarks>\r\n");
valueXmlString.append("<confirmed>").append("<![CDATA["+ checkNullAndTrim(confirmed) +"]]>").append("</confirmed>\r\n");
valueXmlString.append("<dlv_term>").append("<![CDATA["+ checkNullAndTrim(dlv_term) +"]]>").append("</dlv_term>\r\n");
valueXmlString.append("<tran_code>").append("<![CDATA["+ checkNullAndTrim(tran_code) +"]]>").append("</tran_code>\r\n");
valueXmlString.append("<tran_name>").append("<![CDATA["+ checkNullAndTrim(tranName) +"]]>").append("</tran_name>\r\n");
valueXmlString.append("<price_list>").append("<![CDATA["+ checkNullAndTrim(price_list) +"]]>").append("</price_list>\r\n");
valueXmlString.append("<conf_date>").append("<![CDATA["+ checkNullAndTrim(conf_date) +"]]>").append("</conf_date>\r\n");
valueXmlString.append("<exch_rate>").append("<![CDATA["+ checkNullAndTrim(exch_rate) +"]]>").append("</exch_rate>\r\n");
valueXmlString.append("<dept_code>").append("<![CDATA["+ checkNullAndTrim(dept_code) +"]]>").append("</dept_code>\r\n");
valueXmlString.append("<department_descr>").append("<![CDATA["+ checkNullAndTrim(deptDescr) +"]]>").append("</department_descr>\r\n");
valueXmlString.append("<trans_mode>").append("<![CDATA["+ checkNullAndTrim(trans_mode) +"]]>").append("</trans_mode>\r\n");
valueXmlString.append("<dlv_date>").append("<![CDATA["+ checkNullAndTrim(currDate) +"]]>").append("</dlv_date>\r\n");
valueXmlString.append("<pord_type>").append("<![CDATA["+ checkNullAndTrim(pordType) +"]]>").append("</pord_type>\r\n");
valueXmlString.append("<site_code__dlv>").append("<![CDATA["+ checkNullAndTrim(siteCode) +"]]>").append("</site_code__dlv>\r\n");
valueXmlString.append("<site_add1>").append("<![CDATA["+ checkNullAndTrim(siteAdd) +"]]>").append("</site_add1>\r\n");
valueXmlString.append("<emp_code>").append("<![CDATA["+ checkNullAndTrim(empCode) +"]]>").append("</emp_code>\r\n");
}
valueXmlString.append("</Detail2>\r\n");
break;
}
case 3:
{
System.out.println("*****Case 3*****");
String itemCode = "",quantity = "",detail3Str = "", dlvDate = "";
NodeList detail2NodeList = dom2.getElementsByTagName("Detail2");
int detail2NodeListlen = detail2NodeList.getLength();
if("itm_default".equalsIgnoreCase(currentColumn))
{
for(int ctr = 0 ;ctr < detail2NodeListlen;ctr++)
{
Node childNode = detail2NodeList.item(ctr);
if(childNode != null && childNode.getNodeType() != childNode.ELEMENT_NODE)
{
continue;
}
NodeList childList = childNode.getChildNodes();
for(int ctrCh = 0; ctrCh < childList.getLength(); ctrCh++)
{
Node itmNode = childList.item(ctrCh);
System.out.println("Current Node Name ["+itmNode.getNodeName()+"]");
if(itmNode !=null && ("item_code").equalsIgnoreCase(itmNode.getNodeName()))
{
itemCode = itmNode.getFirstChild().getNodeValue();
}
else if(itmNode !=null && ("quantity").equalsIgnoreCase(itmNode.getNodeName()))
{
quantity = itmNode.getFirstChild().getNodeValue();
}
else if(itmNode !=null && ("dlv_date").equalsIgnoreCase(itmNode.getNodeName()))
{
dlvDate = itmNode.getFirstChild().getNodeValue();
}
}
System.out.println("ItemCode ["+itemCode+"]quantity["+quantity+"]dlv_date["+dlvDate+"]");
if(itemCode != null && itemCode.length() > 0)
{
detail3Str = getPorderDetails(dom1, dom2, itemCode, quantity, dlvDate, ctr + 1, conn);
System.out.println("detail3Str["+detail3Str+"]");
valueXmlString.append(detail3Str+"\r\n");
}
}
}
break;
}
}
}
catch(Exception e)
{
e.printStackTrace();
}
finally
{
try
{
connDriver = null;
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
if(conn != null)
{
conn.close();
conn = null;
}
}
catch(Exception d)
{
d.printStackTrace();
throw new ITMException(d);
}
}
valueXmlString.append( "</Root>\r\n" );
System.out.println( "\n****ValueXmlString :" + valueXmlString.toString() + ":********" );
return valueXmlString.toString();
}
public String getList(String field,String extra) throws RemoteException, ITMException
{
String sql = "",sql2 = "";
StringBuffer valueXmlString = new StringBuffer("<Root>\r\n");
Connection conn = null, conn2 = null;
PreparedStatement pstmt = null, pstmt2 = null;
ResultSet rs = null, rs2 = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
if (field.equals("tran_code"))
{
//sql = "SELECT TRAN_CODE, TRAN_NAME FROM TRANSPORTER";
sql="SELECT transporter.tran_code, transporter.tran_name,transporter_mode.trans_mode FROM transporter INNER JOIN transporter_mode ON transporter.tran_code=transporter_mode.tran_code";
}
else if (field.equals("supp_code"))
{
sql = "SELECT SUPP_CODE,SUPP_NAME,CR_TERM,PRICE_LIST,DLV_TERM FROM SUPPLIER";
}
else if (field.equals("item_ser"))
{
sql = "SELECT ITEM_SER,DESCR FROM ITEMSER";
}
else if (field.equals("cr_term"))
{
sql = "SELECT CR_TERM,DESCR FROM CRTERM";
}
else if (field.equals("dept_code"))
{
sql = "SELECT DEPT_CODE,DESCR FROM DEPARTMENT";
}
else if (field.equals("price_list"))
{
sql = "SELECT PRICE_LIST,RATE FROM PRICELIST";
}
else if (field.equals("item_code"))
{
//sql = "SELECT ITEM_CODE,DESCR FROM ITEM WHERE ITEM_PARNT IS NULL";
sql =" select item_code,descr from item where item_code"
+" in (select distinct item_parnt from item where item_code in "
+" (select item_code from supplieritem where supp_code = ? )) ";
}
else if (field.equals("type"))
{
sql ="SELECT RTRIM(FLD_VALUE),DESCR FROM GENCODES WHERE UPPER(RTRIM(FLD_NAME)) = "
+ "'PORD_TYPE' AND MOD_NAME= 'W_PORDER' AND ACTIVE= 'Y' ";
}
else if (field.equals("site_code_dlv"))
{
sql =" SELECT SITE_CODE, DESCR FROM SITE ";
}
pstmt = conn.prepareStatement(sql);
if(field.equals("item_code"))
{
pstmt.setString(1,extra);
}
rs = pstmt.executeQuery();
String otherField = "";
String otherField1 = "";
String otherField2 = "";
String otherField3 = "";
String descr1 = "";
String fieldId = "";
String fieldValue = "";
int num = 1;
while (rs.next())
{
fieldId = checkNullAndTrim(rs.getString(1));
fieldValue = checkNullAndTrim(rs.getString(2));
if (field.equals("tran_code"))
{
otherField = checkNullAndTrim(rs.getString(3));
}
else if(field.equals("supp_code"))
{
otherField1 = checkNullAndTrim(rs.getString(3));
conn2 = connDriver.getConnectDB("DriverITM");
sql2 = " SELECT DESCR FROM CRTERM WHERE CR_TERM = ? ";
pstmt2 = conn2.prepareStatement(sql2);
pstmt2.setString(1,otherField1);
rs2 = pstmt2.executeQuery();
while (rs2.next())
{
descr1 = checkNullAndTrim(rs2.getString("DESCR"));
}
if (rs2 != null)
{
rs2.close();
rs2 = null;
}
if (pstmt2 != null )
{
pstmt2.close();
pstmt2 = null;
}
if (conn2 != null && !conn2.isClosed())
{
conn2.close();
conn2 = null;
}
otherField2 = checkNullAndTrim(rs.getString(4));
otherField3 = checkNullAndTrim(rs.getString(5));
}
valueXmlString.append("<supp_code domID='" + num + "'>\r\n");
valueXmlString.append("<fieldId><![CDATA[").append(fieldId).append("]]></fieldId>\r\n");
valueXmlString.append("<fieldValue><![CDATA[").append(fieldValue).append("]]></fieldValue>\r\n");
valueXmlString.append("<otherField><![CDATA[").append(otherField).append("]]></otherField>\r\n");
valueXmlString.append("<otherField1><![CDATA[").append(otherField1).append("]]></otherField1>\r\n");
valueXmlString.append("<otherField2><![CDATA[").append(otherField2).append("]]></otherField2>\r\n");
valueXmlString.append("<otherField3><![CDATA[").append(otherField3).append("]]></otherField3>\r\n");
valueXmlString.append("<descr1><![CDATA[").append(descr1).append("]]></descr1>\r\n");
valueXmlString.append("</supp_code>\r\n");
num++;
}
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("Exception :ITMWizardStatefulEJB :getList(String):" + e.getMessage() + ":");
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
if (conn != null && !conn.isClosed())
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception :ITMWizardStatefulEJB :getProdTypeList(String) :==>\n"+ e.getMessage());
throw new ITMException(e);
}
}
valueXmlString.append("</Root>\r\n");
System.out.println("\n****ValueXmlString :" + valueXmlString.toString() + ":********");
return valueXmlString.toString();
}
private static String checkNullAndTrim(String input)
{
if (input==null)
{
input="";
}
return input.trim();
}
/**
*
* @param arr
* @param targetValue
* @return
*/
public static String useLoop(String[] arr, String targetValue)
{
for(String s: arr)
{
String str = checkNullAndTrim(s);
if(str.equals(targetValue))
return "Y";
}
return "N";
}
@Override
public String getPorderDetails(Document dom1,Document dom2,String itemCode,String quantity,String dlvDate, int ctr ,Connection conn)
{
System.out.println("********Inside Porder Details***********");
GenericUtility genericUtility = GenericUtility.getInstance();
Document dom=null;
NodeList parentNodeList = null;
NodeList childNodeList = null;
NodeList childNodeList2 = null;
Node parentNode = null;
Node childNode = null;
Node childNode2 = null;
int childNodeListLength;
String childNodeName = null;
PreparedStatement pstmt = null, pstmt1 = null,pstmtItemLotPack = null,pstmtUpdate = null;
ResultSet rs = null, rs1=null, rsItemLotPack = null;
String sql="", sql1="";
StringBuffer valueXmlString = new StringBuffer("");
String suppCode = "";
String ordDate = "";
String deptCode = "";
String rate1 = "";
String empCode = "";
String pOrder = "";
int lineNo = 0;
String unit = "";
String locCode = "";
String packCode = "";
int purLeadTime = 0;
Date dueDate = null;
Date currDate = null;
String itemAcctDetr = "";
String itemSer = "";
String acctCodeDr = "";
String cctrCodeDr = "";
String cctrCodeCr = "";
String invAcctVal = "";
String invAcctQcVal = "";
String acctCodeCr = "";
String acctCodeAp = "";
String cctrCodeAp = "";
String indNo = "";
String crTerm = "";
String remarks = "";
String itemDescr = "";
double rate = 0d;
String priceList = "";
String pricelistClg="";
String priceListStd = "";
DistCommon distComm = new DistCommon();
String sysDateStr = "";
String postType = "";
double rateStd = 0d;
double rateClg = 0d;
double shipperSize = 0d, grossWeight = 0d, netWeight = 0d, tareWeight = 0d;
String lotNo = "";
int noArt = 0;
String lineNoOrd = "";
String siteCode = "";
SimpleDateFormat simpleDateFormat1 = null;
FinCommon finCommon = null;
String detailDomStr = "";
double amount;
double quan=Double.parseDouble(quantity);
try
{
finCommon = new FinCommon();
ordDate = genericUtility.getColumnValue("ord_date", dom1,"1");
indNo = genericUtility.getColumnValue("ind_no", dom1,"1");
itemSer = genericUtility.getColumnValue("item_ser", dom1,"1");
suppCode = genericUtility.getColumnValue("supp_code", dom1,"1");
crTerm = genericUtility.getColumnValue("cr_term", dom1,"1");
remarks = genericUtility.getColumnValue("remarks", dom1,"1");
deptCode = genericUtility.getColumnValue("dept_code", dom1,"1");
siteCode = genericUtility.getColumnValue("site_code__dlv", dom1,"1");
pOrder = genericUtility.getColumnValue("pord_type", dom1,"1");
priceList = genericUtility.getColumnValue("price_list", dom1,"1");
empCode = genericUtility.getColumnValue("emp_code", dom1,"1");
/******************************/
sql = " select rate from pricelist where item_code = ? "
+"and price_list in (select price_list from supplier where supp_code = ? )";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itemCode);
pstmt.setString(2, suppCode);
rs = pstmt.executeQuery();
if ( rs.next() )
{
rate = Double.parseDouble(checkNullAndTrim(rs.getString("rate")));
}
rs.close();rs = null;
pstmt.close();pstmt = null;
System.out.println("Rate="+rate);
/*****************************/
sql = "SELECT ACCT_CODE__AP, CCTR_CODE__AP FROM SUPPLIER WHERE SUPP_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, suppCode);
rs = pstmt.executeQuery();
if ( rs.next() )
{
acctCodeAp = checkNullAndTrim(rs.getString("ACCT_CODE__AP"));
cctrCodeAp = checkNullAndTrim(rs.getString("CCTR_CODE__AP"));
}
rs.close();rs = null;
pstmt.close();pstmt = null;
valueXmlString.append("<Detail3 domID='"+ctr+"' selected = 'Y'>\r\n");
sql = "SELECT I.UNIT,I.DESCR, I.LOC_CODE, I.ITEM_SER, I.PACK_CODE,I.GROSS_WEIGHT,I.NET_WEIGHT "
+ " FROM ITEM I WHERE I.ITEM_CODE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itemCode);
rs = pstmt.executeQuery();
int domID = 0;
if( rs.next())
{
domID++;
lineNo = domID;
unit = rs.getString("UNIT");
locCode = rs.getString("LOC_CODE");
itemDescr = checkNullAndTrim("DESCR");
shipperSize = 0;//Will be taken from user as it is not defined.
grossWeight = rs.getDouble("GROSS_WEIGHT");
grossWeight = grossWeight * Double.parseDouble(quantity);
netWeight = rs.getDouble("NET_WEIGHT");
netWeight = netWeight * Double.parseDouble(quantity);
tareWeight = grossWeight - netWeight;
packCode = checkNullAndTrim(rs.getString("PACK_CODE"));
sql1 = " SELECT PUR_LEAD_TIME FROM ITEM WHERE ITEM_CODE = ?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, itemCode);
rs1 = pstmt1.executeQuery();
if( rs1.next() )
{
purLeadTime = rs1.getInt( "PUR_LEAD_TIME" );
System.out.println("PUR_LEAD_TIME ="+purLeadTime);
}
rs1.close();
pstmt1.close();
pstmt1 = null;
rs1 = null;
dueDate = addDays(currDate, purLeadTime) ;
System.out.println("dueDate="+dueDate);
itemAcctDetr = finCommon.getFromAcctDetr(itemCode, itemSer, "IN", conn);
String tokens [] = itemAcctDetr.split(",");
if ( tokens.length >= 2)
{
acctCodeDr = tokens[0];
cctrCodeDr = tokens[1];
}
else
{
acctCodeDr = itemAcctDetr.substring(0,itemAcctDetr.indexOf(",") -1);
cctrCodeDr = itemAcctDetr.substring(itemAcctDetr.indexOf(",") + 1);
}
tokens = null;
invAcctVal = finCommon.getFinparams("999999", "INV_ACCT_PORCP", conn);
if ( "NULLFOUND".equals(invAcctVal.trim()) || invAcctVal.trim().length() == 0 )
{
invAcctVal = "N";
}
invAcctQcVal = finCommon.getFinparams("999999", "INV_ACCT_QCORDER", conn);
if ( "NULLFOUND".equals(invAcctQcVal.trim()) || invAcctQcVal.trim().length() == 0 )
{
invAcctQcVal = "N";
}
if ( "Y".equals(invAcctVal) && !"Y".equals(invAcctQcVal) )
{
itemAcctDetr = finCommon.getFromAcctDetr(itemCode, itemSer, "PO", conn);
}
else
{
itemAcctDetr = finCommon.getFromAcctDetr(itemCode, itemSer, "PORCP", conn);
}
tokens = itemAcctDetr.split(",");
if ( tokens.length >= 2)
{
acctCodeCr = tokens[0];
cctrCodeCr = tokens[1];
}
else
{
acctCodeCr = itemAcctDetr.substring(0,itemAcctDetr.indexOf(",") -1+ 1);
cctrCodeCr = itemAcctDetr.substring(itemAcctDetr.indexOf(",") + 1);
}
if ( acctCodeCr == null || acctCodeCr.trim().length() == 0 )
{
acctCodeCr = acctCodeAp;
cctrCodeCr = cctrCodeAp;
}
//rate = distComm.pickRate( priceList, sysDateStr, itemCode, " ", "L", conn );
//System.out.println("Rate="+rate);
if (cctrCodeCr == null || "null".equals(cctrCodeCr) || cctrCodeCr.trim().length() == 0)
{
cctrCodeCr = " ";
}
if (cctrCodeDr == null || "null".equals(cctrCodeDr) || cctrCodeDr.trim().length() == 0)
{
cctrCodeDr = " ";
}
priceListStd = "";
if("S".equalsIgnoreCase(postType.trim()))
{
priceListStd = checkNullAndTrim(distComm.getDisparams("999999", "STD_PO_PL", conn));
if( priceListStd.trim().length() > 0 )
{
rateStd = distComm.pickRate( priceListStd, sysDateStr, itemCode, " ", "L", conn );
}
}
if ( rateStd == 0 )
{
rateStd = rate;
}
if( pricelistClg.trim().length() > 0 )
{
rateClg = distComm.pickRate( pricelistClg, sysDateStr, itemCode, " ", "L", conn );
}
if ( rateClg == 0 )
{
rateClg = rate;
}
amount= quan * rate;
lineNoOrd = " " + ctr;
lineNoOrd = lineNoOrd.substring( lineNoOrd.length()-3 );
valueXmlString.append("<item_code><![CDATA[").append(itemCode).append("]]></item_code>\r\n");
valueXmlString.append("<descr><![CDATA[").append(itemDescr).append("]]></descr>\r\n");
valueXmlString.append("<quantity><![CDATA[").append(quantity).append("]]></quantity>\r\n");
valueXmlString.append("<dlv_date><![CDATA[").append(dlvDate).append("]]></dlv_date>\r\n");
valueXmlString.append("<supp_code><![CDATA[").append(suppCode).append("]]></supp_code>\r\n");
valueXmlString.append("<ord_date><![CDATA[").append(ordDate).append("]]></ord_date>\r\n");
valueXmlString.append("<dept_code><![CDATA[").append( checkNullAndTrim(deptCode) ).append("]]></dept_code>\r\n");
valueXmlString.append("<item_ser><![CDATA[").append( checkNullAndTrim(itemSer) ).append("]]></item_ser>\r\n");
valueXmlString.append("<line_no><![CDATA[").append(lineNoOrd).append("]]></line_no>");
valueXmlString.append("<status><![CDATA[").append("O").append("]]></status>");
valueXmlString.append("<status_date><![CDATA[").append(sysDateStr).append("]]></status_date>");
valueXmlString.append("<quantity__stduom><![CDATA[").append(quantity).append("]]></quantity__stduom>");
valueXmlString.append("<unit><![CDATA[").append(unit).append("]]></unit>");
valueXmlString.append("<unit__std><![CDATA[").append(unit).append("]]></unit__std>");
valueXmlString.append("<unit__rate><![CDATA[").append(unit).append("]]></unit__rate>");
valueXmlString.append("<rate><![CDATA[").append( rate ).append("]]></rate>");
valueXmlString.append("<discount><![CDATA[0]]></discount>");
valueXmlString.append("<tax_amt><![CDATA[0]]></tax_amt>");
valueXmlString.append("<dlv_qty><![CDATA[0]]></dlv_qty>");
if(dueDate != null)
{
valueXmlString.append("<dlv_date><![CDATA["+simpleDateFormat1.format(dueDate)+"]]></dlv_date>");
}
valueXmlString.append("<rate__stduom><![CDATA[").append(rate).append("]]></rate__stduom>");
valueXmlString.append("<pack_code><![CDATA[").append(packCode).append("]]></pack_code>");
valueXmlString.append("<rate__clg><![CDATA[").append(rateClg).append("]]></rate__clg>");
valueXmlString.append("<std_rate><![CDATA[").append( rateStd ).append("]]></std_rate>");
valueXmlString.append("<conv__qty_stduom><![CDATA[").append("1").append("]]></conv__qty_stduom>");
valueXmlString.append("<conv__rtuom_stduom><![CDATA[").append("1").append("]]></conv__rtuom_stduom>");
valueXmlString.append("<req_date><![CDATA[").append(sysDateStr).append("]]></req_date>");
valueXmlString.append("<loc_code><![CDATA[").append(locCode).append("]]></loc_code>");
valueXmlString.append("<acct_code__dr><![CDATA[").append(acctCodeDr).append("]]></acct_code__dr>");
valueXmlString.append("<cctr_code__dr><![CDATA[").append(cctrCodeDr).append("]]></cctr_code__dr>");
valueXmlString.append("<acct_code__cr><![CDATA[").append(acctCodeCr).append("]]></acct_code__cr>");
valueXmlString.append("<cctr_code__cr><![CDATA[").append(cctrCodeCr).append("]]></cctr_code__cr>");
valueXmlString.append("<operation><![CDATA[").append("0").append("]]></operation>");
valueXmlString.append("<git_qty><![CDATA[").append("0").append("]]></git_qty>");
valueXmlString.append("<adj_qty><![CDATA[").append("0").append("]]></adj_qty>");
valueXmlString.append("<quantity__fc><![CDATA[").append("0").append("]]></quantity__fc>");
valueXmlString.append("<tot_amt><![CDATA[").append(amount).append("]]></tot_amt>");
valueXmlString.append("<site_code__dlv><![CDATA[").append(siteCode).append("]]></site_code__dlv>");
valueXmlString.append("<pord_type><![CDATA[").append(pOrder).append("]]></pord_type>");
valueXmlString.append("<emp_code><![CDATA[").append(empCode).append("]]></emp_code>");
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
valueXmlString.append("</Detail3>\r\n");
}
catch(Exception e)
{
e.printStackTrace();
}
finally
{
try
{
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
}
catch(Exception e)
{
e.printStackTrace();
}
}
return valueXmlString.toString();
}
public static java.util.Date addDays(java.util.Date date, int days)
{
java.sql.Date calculatedDate = null;
if (date != null)
{
final GregorianCalendar calendar = new GregorianCalendar();
calendar.setTime(date);
calendar.add(Calendar.DATE,days);
calculatedDate = new java.sql.Date(calendar.getTime().getTime());
}
return calculatedDate;
}
private String errorType(Connection conn , String errorCode)
{
String msgType = "";
PreparedStatement pstmt = null ;
ResultSet rs = null;
try
{
String sql = "SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,errorCode);
rs = pstmt.executeQuery();
while(rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
}
catch(Exception ex)
{
ex.printStackTrace();
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
e.printStackTrace();
}
}
return msgType;
}
}
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
import java.io.IOException;
import java.rmi.RemoteException;
import java.sql.Connection;
import javax.ejb.Remote;
import org.w3c.dom.Document;
@Local
public interface DDPorderWizEJBLocal
{
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String getList(String field,String extra) throws RemoteException,ITMException;
public String getPorderDetails(Document dom1,Document dom2,String itemCode,String quantity,String dlvDate, int ctr ,Connection conn);
}
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import java.io.IOException;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.SQLException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
@Remote
public interface DDPorderWizEJBRemote
{
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String getList(String field,String extra) throws RemoteException,ITMException;
public String getPorderDetails(Document dom1,Document dom2,String itemCode,String quantity, String dlvDate, int ctr ,Connection conn);
}
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.ejb.wms;
import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.MasterStatefulLocal;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import ibase.webitm.utility.TransIDGenerator;
import java.rmi.RemoteException;
import java.sql.BatchUpdateException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Properties;
import javax.ejb.Stateless;
import javax.naming.InitialContext;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
/**
* Session Bean implementation class DDProductWizPosEJB
*/
@Stateless
public class DDPorderWizPosEJB extends ValidatorEJB implements DDPorderWizPosEJBRemote, DDPorderWizPosEJBLocal
{
GenericUtility genericUtility = GenericUtility.getInstance();
private String tranId = "";
private String item_descr, item_parnt, item_ser, grp_code, item_type, phy_attrib_1, phy_attrib_2, phy_attrib_3, item_length, size_codes,
item_width, item_height, price_list_dtl, item_gross_wt, item_parnt_desc, item_type_desc, itemser_descr,
descr, grp_code_desc, site_codes, color_codes, dimension_desc, supp_item_desc, item_barcode, item_category,
img_path, item_sh_descr, long_desc, meta_desc, meta_keywords, meta_title;
/**
* Default constructor.
*/
public DDPorderWizPosEJB() {
// TODO Auto-generated constructor stub
}
@Override
public String postSave(String xmlStringAll, String dcrId, String editFlag, String xtraParams, Connection conn) throws RemoteException, ITMException
{
String retString="";
System.out.println("PostSave Action Called for PO Wizard:::");
try
{
retString = generatePurcOrder(xmlStringAll, xtraParams, "", conn);
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return retString;
}
public String generatePurcOrder(String xmlstring, String xtraParams, String forcedFlag, Connection conn) throws RemoteException,ITMException
{
System.out.println("Generating Purchase order");
String confirmed = "";
String purcOrder = "";
String itemCode = "";
String packCode = "";
String siteCode = "";
String siteCodeBill = "";
String unit = "";
String suppCode = "";
String sysDateStr = "";
String tranCode = "";
String retString = "";
String loginEmpCode = "";
String itemSer = "";
String termTable="";
String deptCode = "";
String crTerm = "";
String currCode = "";
String dlvTerm = "";
String address1 = "";
String address2 = "";
String city = "";
String siteDescr = "";
String remarks = "";
String transMode = "";
String acctCodeInv = "";
String cctrCodeInv = "";
String locCode = "";
String acctCodeAp = "";
String cctrCodeAp = "";
String acctCodeDr = "";
String cctrCodeDr = "";
String acctCodeCr = "";
String cctrCodeCr = "";
String invAcctVal = "";
String invAcctQcVal = "";
String itemAcctDetr = "";
String priceList = "";
String pricelistClg="";
String sql = "";
String scacCode = "";
String priceListStd = "";
String postType = "";
String tranType = "";
String pOrder = "";
String empCode = "";
Document dom = null;
double rateStd = 0d;
double rateClg = 0d;
String sql1 = "";
Date currDate = null;
Date dueDate = null;
int purLeadTime = 0;
SimpleDateFormat simpleDateFormat1 = null;
boolean isError = false;
int lineNo = 0;
double quantity = 0 , rate = 0d;
PreparedStatement pstmt = null,pstmt1 = null;
PreparedStatement pstmtUpdate = null;
ResultSet rs = null ,rs1 = null;
String errString = "";
String loginSite = "";
String userId = "";
String asnNo = "";
FinCommon finCommon = null;
double exchRate = 0d;
MasterStatefulLocal masterStatefulLocal = null;
ITMDBAccessEJB itmdbAccess = new ITMDBAccessEJB();
DistCommon distComm = new DistCommon();
try
{
AppConnectParm appConnect = new AppConnectParm();
Properties p = appConnect.getProperty();
InitialContext ctx = new InitialContext(p);
GenericUtility genericUtility = GenericUtility.getInstance();
simpleDateFormat1 = new SimpleDateFormat(genericUtility.getApplDateFormat());
finCommon = new FinCommon();
currDate = new Date();
System.out.println("XTRA PARAMS ["+xtraParams+"]");
System.out.println("Getting XML String ["+xmlstring+"]");
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSite = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode"));
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
Date sysDate = new Date();
sysDateStr = sdf.format(sysDate);
String [] authencate = new String[2];
authencate[0] = "";
authencate[1] = "";
System.out.println("sysDate is :"+sysDate+" sysDate str is : "+sysDateStr);
//siteCode = "DDUK";//To be Removed.
dom = genericUtility.parseString(xmlstring);
Node detail1Node = dom.getElementsByTagName("Detail1").item(0);
NodeList detail1List = detail1Node.getChildNodes();
int detail1ListLen = detail1List.getLength();
System.out.println("detail1ListLen =========================================="+detail1ListLen);
for(int ctr = 0 ;ctr < detail1ListLen; ctr++)
{
Node childNode = detail1List.item(ctr);
System.out.println("childNode " +childNode+"Node Value]");
if(childNode == null || childNode.getNodeType() != childNode.ELEMENT_NODE)
{
continue;
}
System.out.println("childNodel " +childNode.getNodeName()+"Node Value]");
if(childNode != null && "supp_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
suppCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "site_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
siteCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "tran_type".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
tranType = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "item_ser".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
itemSer = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "dept_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
deptCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "cr_term".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
crTerm = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "tran_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
tranCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "trans_mode".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
transMode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "site_code__dlv".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
siteCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "pord_type".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
pOrder = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "emp_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
empCode = childNode.getFirstChild().getNodeValue();
System.out.println("EMPCODEIS="+empCode);
}
else if(childNode != null && "exch_rate".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
String exchVal = childNode.getFirstChild().getNodeValue();
if(exchVal != null && exchVal.length() > 0)
{
exchRate = Double.parseDouble(exchVal);
}
}
}
sql = "SELECT SITE_CODE__ACCT, ADD1, ADD2, CITY, DESCR FROM SITE WHERE SITE_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
siteCodeBill = checkNull( rs.getString("SITE_CODE__ACCT") );
address1 = checkNull( rs.getString("ADD1") );
address2 = checkNull( rs.getString("ADD2") );
city = checkNull( rs.getString("CITY") );
siteDescr = checkNull( rs.getString("DESCR") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
remarks = "PO FROM WIZARD";
sql = "SELECT DEPT_CODE FROM EMPLOYEE WHERE EMP_CODE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginEmpCode);
rs = pstmt.executeQuery();
if(rs.next())
{
deptCode = checkNull(rs.getString( "DEPT_CODE" ));
}
rs.close();rs = null;
pstmt.close();pstmt = null;
sql = "SELECT CR_TERM, CURR_CODE, DLV_TERM, PRICE_LIST,PRICE_LIST__CLG FROM SUPPLIER WHERE SUPP_CODE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, suppCode);
rs = pstmt.executeQuery();
if(rs.next())
{
crTerm = checkNull(rs.getString( "CR_TERM" ));
currCode = checkNull(rs.getString( "CURR_CODE" ));
dlvTerm = checkNull(rs.getString( "DLV_TERM" ));
priceList = checkNull(rs.getString( "PRICE_LIST" ));
pricelistClg= checkNull(rs.getString( "PRICE_LIST__CLG" ));
}
rs.close();rs = null;
pstmt.close();pstmt = null;
String currCodeBase = "";
sql = "SELECT A.CURR_CODE FROM FINENT A, SITE B WHERE B.FIN_ENTITY = A.FIN_ENTITY AND B.SITE_CODE = ? ";
pstmt = conn.prepareStatement( sql );
pstmt.setString(1, loginSite );
rs = pstmt.executeQuery();
if( rs.next() )
{
currCodeBase = checkNull( rs.getString("CURR_CODE") );
}
rs.close();rs = null;
pstmt.close();pstmt = null;
StringBuffer xmlString= new StringBuffer("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
xmlString.append("<DocumentRoot><description>Datawindow Root</description><group0><description>Group0 escription</description>");
xmlString.append("<Header0>");
xmlString.append("<description>Header0 members</description>");
xmlString.append("<objName><![CDATA[").append("porder_insert").append("]]></objName>");
xmlString.append("<pageContext><![CDATA[").append("1").append("]]></pageContext>");
xmlString.append("<objContext><![CDATA[").append("1").append("]]></objContext>");
xmlString.append("<editFlag><![CDATA[").append("A").append("]]></editFlag>");
xmlString.append("<focusedColumn><![CDATA[").append("").append("]]></focusedColumn>");
xmlString.append("<action><![CDATA[").append("SAVE").append("]]></action>");
xmlString.append("<elementName><![CDATA[").append("").append("]]></elementName>");
xmlString.append("<keyValue><![CDATA[").append("1").append("]]></keyValue>");
xmlString.append("<taxKeyValue><![CDATA[").append("").append("]]></taxKeyValue>");
xmlString.append("<saveLevel><![CDATA[").append("1").append("]]></saveLevel>");
xmlString.append("<forcedSave><![CDATA[").append(true).append("]]></forcedSave>");
xmlString.append("<taxInFocus><![CDATA[").append(false).append("]]></taxInFocus>");
xmlString.append("<Detail1 dbID='' domID=\"1\" objName=\"porder_insert\" objContext=\"1\">");
xmlString.append("<attribute pkNames=\"purc_order:\" status=\"N\" updateFlag=\"A\" selected=\"N\" />");
xmlString.append("<purc_order><![CDATA[").append("").append("]]></purc_order>");
xmlString.append("<pord_type><![CDATA[").append(pOrder).append("]]></pord_type>");//tran type will be set
xmlString.append("<ord_date><![CDATA[").append(sysDateStr).append("]]></ord_date>");
xmlString.append("<site_code__dlv><![CDATA[").append(siteCode).append("]]></site_code__dlv>");
xmlString.append("<site_code__ord><![CDATA[").append(siteCode).append("]]></site_code__ord>");
xmlString.append("<site_code__bill><![CDATA[").append(siteCodeBill).append("]]></site_code__bill>");
xmlString.append("<status><![CDATA[").append("O").append("]]></status>");
xmlString.append("<confirmed><![CDATA[").append("Y").append("]]></confirmed>");
xmlString.append("<conf_date><![CDATA[").append(sysDateStr).append("]]></conf_date>");
xmlString.append("<emp_code__aprv><![CDATA[").append(empCode).append("]]></emp_code__aprv>");
xmlString.append("<supp_code><![CDATA[").append(suppCode).append("]]></supp_code>");
xmlString.append("<status_date><![CDATA[").append(sysDateStr).append("]]></status_date>");
xmlString.append("<tax_date><![CDATA[").append(sysDateStr).append("]]></tax_date>");
xmlString.append("<dept_code><![CDATA[").append(deptCode).append("]]></dept_code>");
xmlString.append("<emp_code><![CDATA[").append(empCode).append("]]></emp_code>");
xmlString.append("<item_ser><![CDATA[").append(itemSer).append("]]></item_ser>");
xmlString.append("<cr_term><![CDATA[").append(crTerm).append("]]></cr_term>");
xmlString.append("<curr_code><![CDATA[").append(currCode).append("]]></curr_code>");
xmlString.append("<curr_code__frt><![CDATA[").append(currCode).append("]]></curr_code__frt>");
xmlString.append("<dlv_term><![CDATA[").append(dlvTerm).append("]]></dlv_term>");
xmlString.append("<ord_amt><![CDATA[").append("0").append("]]></ord_amt>");
xmlString.append("<tax_amt><![CDATA[").append("0").append("]]></tax_amt>");
xmlString.append("<tot_amt><![CDATA[").append("0").append("]]></tot_amt>");
xmlString.append("<frt_amt><![CDATA[").append("0").append("]]></frt_amt>");
xmlString.append("<insurance_amt><![CDATA[").append("0").append("]]></insurance_amt>");
xmlString.append("<adv_perc><![CDATA[").append("0").append("]]></adv_perc>");
xmlString.append("<vouch_adv_amt><![CDATA[").append("0").append("]]></vouch_adv_amt>");
xmlString.append("<accept_criteria><![CDATA[").append("N").append("]]></accept_criteria>");
xmlString.append("<post_type><![CDATA[").append("S").append("]]></post_type>");
xmlString.append("<site_add1><![CDATA[").append(address1).append("]]></site_add1>");
xmlString.append("<site_add2><![CDATA[").append(address2).append("]]></site_add2>");
xmlString.append("<city__site><![CDATA[").append(city).append("]]></city__site>");
xmlString.append("<site_descr><![CDATA[").append(siteDescr).append("]]></site_descr>");
xmlString.append("<tran_code><![CDATA[").append(tranCode).append("]]></tran_code>");
xmlString.append("<trans_mode><![CDATA[").append(transMode).append("]]></trans_mode>");
xmlString.append("<price_list><![CDATA[").append(priceList).append("]]></price_list>");
xmlString.append("<price_list__clg><![CDATA[").append(pricelistClg).append("]]></price_list__clg>");
xmlString.append("<exch_rate><![CDATA[").append(exchRate).append("]]></exch_rate>");
xmlString.append("<curr_code__comm><![CDATA[").append(currCode).append("]]></curr_code__comm>");
xmlString.append("<term_table><![CDATA[").append(termTable).append("]]></term_table>");
xmlString.append("<frt_rate><![CDATA[").append(1).append("]]></frt_rate>");
xmlString.append("<status><![CDATA[").append("O").append("]]></status>");
xmlString.append("<asn_no><![CDATA[").append("").append("]]></asn_no>");
xmlString.append("</Detail1>");
System.out.println("<!@#>seting status O xml " +xmlString.toString());
double shipperSize = 0d, grossWeight = 0d, netWeight = 0d, tareWeight = 0d;
int noArt = 0;
String lineNoOrd = "";
String lotNo = "";
int domID = 0;
NodeList detail3NodeList =dom.getElementsByTagName("Detail3");
int detail3NodeListlen = detail3NodeList.getLength();
for(int ctrH = 0; ctrH < detail3NodeListlen ; ctrH++)
{
NodeList childNodeList = detail3NodeList.item(ctrH).getChildNodes();
int childNodeListlen = childNodeList.getLength();
System.out.println("childNodeListlen ==================" +childNodeListlen);
for(int ctrD = 0; ctrD < childNodeListlen ; ctrD++)
{
Node childNode = childNodeList.item(ctrD);
if(childNode == null || childNode.getNodeType() != childNode.ELEMENT_NODE)
{
continue;
}
System.out.println("childNodeListlen ======childNode===========" +childNode.getNodeName());
if(childNode != null && "item_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
itemCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "quantity".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
quantity = Double.parseDouble(childNode.getFirstChild().getNodeValue());
}
else if(childNode != null && "unit".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
unit = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "rate".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
rate = Double.parseDouble(childNode.getFirstChild().getNodeValue());
}
else if(childNode != null && "dlv_date".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
dueDate = new Date(childNode.getFirstChild().getNodeValue());
}
else if(childNode != null && "pack_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
packCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "no_art".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
noArt = Integer.parseInt(childNode.getFirstChild().getNodeValue());
}
else if(childNode != null && "rate__clg".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
rateClg = Double.parseDouble(childNode.getFirstChild().getNodeValue());
}
else if(childNode != null && "std_rate".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
rateStd = Double.parseDouble(childNode.getFirstChild().getNodeValue());
}
else if(childNode != null && "loc_code".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
locCode = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "acct_code__dr".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
acctCodeDr = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "cctr_code__dr".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
cctrCodeDr = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "acct_code__cr".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
acctCodeCr = childNode.getFirstChild().getNodeValue();
}
else if(childNode != null && "cctr_code__cr".equalsIgnoreCase(childNode.getNodeName()) && childNode.getFirstChild() != null)
{
cctrCodeCr = childNode.getFirstChild().getNodeValue();
}
}
domID++;
xmlString.append("<Detail2 dbID=':' domID='" + domID + "' objName='porder' objContext='2'>");
xmlString.append("<attribute pkNames='purc_order:line_no:' status='N' updateFlag='A' selected='N'/>");
xmlString.append("<purc_order><![CDATA[").append("").append("]]></purc_order>");
// pick right 3 char
lineNoOrd = " " + domID;
lineNoOrd = lineNoOrd.substring( lineNoOrd.length()-3 );
xmlString.append("<line_no><![CDATA[").append(lineNoOrd).append("]]></line_no>");
xmlString.append("<status><![CDATA[").append("O").append("]]></status>");
xmlString.append("<status_date><![CDATA[").append(sysDateStr).append("]]></status_date>");
xmlString.append("<site_code><![CDATA[").append(siteCode).append("]]></site_code>");
xmlString.append("<item_code><![CDATA[").append(itemCode).append("]]></item_code>");
xmlString.append("<quantity><![CDATA[").append(quantity).append("]]></quantity>");
xmlString.append("<quantity__stduom><![CDATA[").append(quantity).append("]]></quantity__stduom>");
xmlString.append("<unit><![CDATA[").append(unit).append("]]></unit>");
xmlString.append("<unit__std><![CDATA[").append(unit).append("]]></unit__std>");
xmlString.append("<unit__rate><![CDATA[").append(unit).append("]]></unit__rate>");
xmlString.append("<rate><![CDATA[").append( rate ).append("]]></rate>");
xmlString.append("<discount><![CDATA[0]]></discount>");
xmlString.append("<tax_amt><![CDATA[0]]></tax_amt>");
xmlString.append("<tot_amt><![CDATA[0]]></tot_amt>");
xmlString.append("<dlv_qty><![CDATA[0]]></dlv_qty>");
if(dueDate != null)
{
xmlString.append("<dlv_date><![CDATA["+simpleDateFormat1.format(dueDate)+"]]></dlv_date>");
}
xmlString.append("<rate__stduom><![CDATA[").append(rate).append("]]></rate__stduom>");
xmlString.append("<pack_code><![CDATA[").append(packCode).append("]]></pack_code>");
xmlString.append("<no_art><![CDATA[").append( noArt ).append("]]></no_art>");
System.out.println("Rate clg value ["+rateClg+"]");
xmlString.append("<rate__clg><![CDATA[").append(rateClg).append("]]></rate__clg>");
xmlString.append("<std_rate><![CDATA[").append( rateStd ).append("]]></std_rate>");
xmlString.append("<conv__qty_stduom><![CDATA[").append("1").append("]]></conv__qty_stduom>");
xmlString.append("<conv__rtuom_stduom><![CDATA[").append("1").append("]]></conv__rtuom_stduom>");
xmlString.append("<req_date><![CDATA[").append(sysDateStr).append("]]></req_date>");
xmlString.append("<loc_code><![CDATA[").append(locCode).append("]]></loc_code>");
xmlString.append("<acct_code__dr><![CDATA[").append(acctCodeDr).append("]]></acct_code__dr>");
xmlString.append("<cctr_code__dr><![CDATA[").append(cctrCodeDr).append("]]></cctr_code__dr>");
xmlString.append("<acct_code__cr><![CDATA[").append(acctCodeCr).append("]]></acct_code__cr>");
xmlString.append("<cctr_code__cr><![CDATA[").append(cctrCodeCr).append("]]></cctr_code__cr>");
xmlString.append("<operation><![CDATA[").append("0").append("]]></operation>");
xmlString.append("<git_qty><![CDATA[").append("0").append("]]></git_qty>");
xmlString.append("<adj_qty><![CDATA[").append("0").append("]]></adj_qty>");
xmlString.append("<quantity__fc><![CDATA[").append("0").append("]]></quantity__fc>");
xmlString.append("</Detail2>");
System.out.println("xmlString For generation Purchase Order:: "+xmlString.toString());
}
xmlString.append("</Header0></group0></DocumentRoot>");
System.out.println("xmlString For generation Purchase Order:: "+xmlString.toString());
masterStatefulLocal = (MasterStatefulLocal)ctx.lookup("ibase/MasterStatefulEJB/local");
retString = masterStatefulLocal.processRequest( authencate, siteCode, true, xmlString.toString());
System.out.println("retString....qqq:: "+retString);
String autoConf = "";
sql = "SELECT AUTO_CONFIRM FROM TRANSETUP WHERE TRAN_WINDOW = 'w_porder'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if( rs.next() )
{
autoConf = checkNull(rs.getString("AUTO_CONFIRM"));
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
if ( retString.indexOf("Success") > -1 && retString.indexOf("<TranID>") > 0 )
{
String tranIdPurcOrder = retString.substring( retString.indexOf("<TranID>")+8, retString.indexOf("</TranID>"));
System.out.println("tranId is :"+tranIdPurcOrder);
if( retString.indexOf("Success") != -1 )
{
sql = " UPDATE PORDER SET CONFIRMED = 'Y', EMP_CODE__APRV = ?, CONF_DATE = ?, POST_TYPE = 'S', PORD_TYPE = ? WHERE PURC_ORDER = ? ";
pstmtUpdate = conn.prepareStatement(sql);
pstmtUpdate.setString(1, loginEmpCode);
System.out.println("SYSDATE="+sysDateStr);
sysDateStr = genericUtility.getValidDateString(sysDateStr, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat());
System.out.println("SYSDATE2="+sysDateStr);
pstmtUpdate.setTimestamp(2, Timestamp.valueOf( sysDateStr + " 00:00:00" ) );
pstmtUpdate.setString(3, tranType);
pstmtUpdate.setString(4, tranIdPurcOrder);
int updCnt = pstmtUpdate.executeUpdate();
pstmtUpdate.close(); pstmtUpdate = null;
System.out.println("updated records in PORDER : "+updCnt);
errString = "";
}
}
else
{
System.out.println("asn confirm error checking");
return retString;
}
}
catch(Exception e)
{
isError = true;
errString = "ERROR";
try
{
conn.rollback();
}
catch(Exception e1)
{
e1.printStackTrace();
}
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if ( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch( Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
System.out.println("errString from generatePorder =["+errString+"]");
return errString;
}
/**
* get transaction id (parnt_code)
* @param conn
* @throws ITMException
*/
private String getTransID( String windowName, Connection conn ) throws ITMException
{
PreparedStatement pstmt = null;
ResultSet rs = null;
String selSql = "", transId = "";
try {
selSql = "SELECT trim(to_char(prod_wiz_seq.nextval,'0000000000')) FROM DUAL";
pstmt = conn.prepareStatement(selSql);
rs = pstmt.executeQuery();
if (rs.next())
{
transId = rs.getString(1);
}
} catch (SQLException e) {
e.printStackTrace();
}
return transId;
/*PreparedStatement pstmt = null;
ResultSet rs = null;
String selSql = "";
String tranId = "";
String tranSer = "";
String keyString = "";
String keyCol = "";
String xmlValues = "";
try
{
selSql = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = ? ";
pstmt = conn.prepareStatement(selSql);
pstmt.setString( 1, windowName );
rs = pstmt.executeQuery();
if (rs.next())
{
keyString = rs.getString("KEY_STRING");
keyCol = rs.getString("TRAN_ID_COL");
tranSer = rs.getString("REF_SER");
}
rs.close();rs = null;
pstmt.close();pstmt = null;
System.out.println("keyString :"+keyString);
System.out.println("keyCol :"+keyCol);
System.out.println("tranSer :"+tranSer);
xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>";
xmlValues = xmlValues + "<tran_id></tran_id>";
xmlValues = xmlValues + "</Detail1></Root>";
System.out.println("xmlValues :["+xmlValues+"]");
TransIDGenerator tg = new TransIDGenerator(xmlValues, "BASE", CommonConstants.DB_NAME);
tranId = tg.generateTranSeqID(tranSer, keyCol, keyString, conn);
System.out.println("tranId :"+tranId);
}
catch (SQLException ex)
{
System.out.println("Exception ::" +selSql+ ex.getMessage() + ":");
ex.printStackTrace();
throw new ITMException(ex);
}
catch (Exception e)
{
System.out.println("Exception ::" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e){}
}
return tranId;*/
}
public static java.util.Date addDays(java.util.Date date, int days) //added by Kunal on 01/09/12
{
java.sql.Date calculatedDate = null;
if (date != null)
{
final GregorianCalendar calendar = new GregorianCalendar();
calendar.setTime(date);
calendar.add(Calendar.DATE,days);
calculatedDate = new java.sql.Date(calendar.getTime().getTime());
}
return calculatedDate;
}
/**
*
* @param dom
* @param attribute
* @param objContext
* @return
* @throws RemoteException
* @throws ITMException
*/
private String getObjNameFromDom( Document dom, String attribute, String objContext ) throws RemoteException,ITMException
{
NodeList detailList = null;
Node currDetail = null;
String objName = "";
int detailListLength = 0;
try
{
detailList = dom.getElementsByTagName("Detail"+objContext);
detailListLength = detailList.getLength();
for (int ctr = 0; ctr < detailListLength; ctr++)
{
currDetail = detailList.item(ctr);
objName = currDetail.getAttributes().getNamedItem(attribute).getNodeValue();
}
}
catch ( Exception e )
{
throw new ITMException(e);
}
System.out.println("objName =["+objName+"]");
return objName;
}
public String checkNull(String input)
{
if (input == null || "null".equalsIgnoreCase(input))
{
input= "";
}
return input.trim();
}
@Override
public String updateStatus(Document dom, String editFlag, String xtraParams, Connection conn) throws RemoteException, ITMException
{
return null;
}
}
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
import javax.ejb.Local;
import org.w3c.dom.Document;
@Local
public interface DDPorderWizPosEJBLocal
{
public String postSave(String xmlStringAll, String dcrId, String editFlag, String xtraParams, Connection conn) throws RemoteException,ITMException;
public String updateStatus( Document dom, String editFlag, String xtraParams, Connection conn )throws RemoteException,ITMException;
}
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
import javax.ejb.Local;
import org.w3c.dom.Document;
@Local
public interface DDPorderWizPosEJBRemote
{
public String postSave(String xmlStringAll, String dcrId, String editFlag, String xtraParams, Connection conn) throws RemoteException,ITMException;
public String updateStatus( Document dom, String editFlag, String xtraParams, Connection conn )throws RemoteException,ITMException;
}
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.servlet.wms;
import ibase.utility.CommonConstants;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mysql.jdbc.Messages;
public class PorderForm2Servlet extends HttpServlet
{
private static final long serialVersionUID = 1L;
public PorderForm2Servlet()
{
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
doPost( request, response );
}
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
System.out.println("XXXXXXXXXXXXXXXXXXXXXX[ Form2Servlet ]XXXXXXXXXXXXXXXXXXXX");
request.setCharacterEncoding(CommonConstants.ENCODING);
String htmlData = ""; //$NON-NLS-1$
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )request.getSession().getAttribute( "USER_INFO" ); //$NON-NLS-1$
if(userInfo != null)
{
String objName = request.getParameter("OBJ_NAME");//Storing ObjectName //$NON-NLS-1$
String formNo = request.getParameter("FORM_NO");//Storing Current FormNo //$NON-NLS-1$
String action = request.getParameter("action");//Which actions is performed e.g. 'Next','Previous','Finish' //$NON-NLS-1$
String formType = request.getParameter("formType");//Type of form to implement MultipleForms //$NON-NLS-1$
System.out.println("OBJ_NAME="+objName);
System.out.println("FORMNO="+formNo);
System.out.println("ACTION="+action);
System.out.println("FORMTYPE="+formType);
String PRE_FORM_VAL = request.getParameter("PRE_FORM_VAL");
System.out.println(PRE_FORM_VAL);
if ( request.getSession().getAttribute( "WIZARD_BEAN_" + objName ) != null ) //$NON-NLS-1$
{
System.out.println(" wizard object found...."); //$NON-NLS-1$
if ( "previous".equalsIgnoreCase( action ) && "2".equalsIgnoreCase( formNo ) ) //$NON-NLS-1$ //$NON-NLS-2$
{
request.getSession().removeAttribute( "WIZARD_BEAN_" + objName ); //$NON-NLS-1$
request.getRequestDispatcher("/webitm/jsp/PorderPage.jsp").forward(request, response); //$NON-NLS-1$
//response.sendRedirect("/ibase/webitm/jsp/ProdWizardPage.jsp?OBJ_NAME="+objName+"&PRE_FORM_VAL="+preFormVal);
}
}
}
else
{
htmlData = Messages.getString("ITMWizardHandlerServlet_notLoggedIn")+"\n"+Messages.getString("ITMWizardHandlerServlet_pleaseReLogin"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
}
}
/*
* Author:Wasim Ansari
* Date:02-FEB-15
* Request ID:D14IKAT004 (PO Wizard)
*/
package ibase.webitm.servlet.wms;
import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants;
import ibase.webitm.utility.ITMException;
import java.io.IOException;
import java.io.OutputStream;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.zip.GZIPOutputStream;
import javax.naming.InitialContext;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;;
public class PorderTableServlet extends HttpServlet
{
private static final long serialVersionUID = 1L;
InitialContext ctx = null;
public PorderTableServlet()
{
super();
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
doPost( request, response );
}
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
System.out.println("XXXXXXXXXXXXXXXXXXXXXX[ ItemParentChange Started ]XXXXXXXXXXXXXXXXXXXX");
ServletOutputStream outputStream = null;
HttpSession sess = null;
String sql = "";
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String color,size,dimension,itemCode = "";
String dColor,dSize,dDim = "";
HashMap dataMap = new HashMap();
ArrayList sizeList = new ArrayList();
ArrayList colorList = new ArrayList();
ArrayList dimensionList = new ArrayList();
try
{
StringBuffer valueXmlString = new StringBuffer("<Root>\r\n");
valueXmlString.append("<PRODUCT_SET selected = 'N'>\r\n");
String itmcode = request.getParameter("ITEMCODE");
String objName = (request.getParameter("OBJ_NAME")==null) ? "":request.getParameter("OBJ_NAME").trim();
System.out.println("ITEMCODE = ["+itmcode+"] OBJ_NAME=["+objName+"]");
sess = request.getSession();
System.out.println( "sess.getId() :["+sess.getId()+"]" );
if(ctx == null)
{
ctx = getInitialContext();
}
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//TH SET
valueXmlString.append("<TH_SET selected = 'N'>\r\n");
sql = " SELECT DISTINCT PHY_ATTRIB_1 AS PSIZE FROM ITEM WHERE ITEM_PARNT = ? order by PHY_ATTRIB_1 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itmcode);
rs = pstmt.executeQuery();
valueXmlString.append("<SET><![CDATA[").append("COLOR").append("]]></SET>\r\n");
valueXmlString.append("<SET><![CDATA[").append("DIMENSION").append("]]></SET>\r\n");
while (rs.next())
{
dSize = checkNullAndTrim(rs.getString(1));
/* valueXmlString.append("<ITM_CODE domID='"+ num +"' selected = 'N'>\r\n");
valueXmlString.append("<fieldId><![CDATA[").append(fieldId).append("]]></fieldId>\r\n");
valueXmlString.append("<fieldValue><![CDATA[").append(fieldValue).append("]]></fieldValue>\r\n");
valueXmlString.append("</ITM_CODE>\r\n");*/
sizeList.add(dSize);
valueXmlString.append("<SET><![CDATA[").append(dSize).append("]]></SET>\r\n");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("</TH_SET>\r\n");
//TH SET
sql = " SELECT DISTINCT PHY_ATTRIB_2 AS color FROM ITEM WHERE ITEM_PARNT = ? order by PHY_ATTRIB_2 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itmcode);
rs = pstmt.executeQuery();
while (rs.next())
{
dColor = checkNullAndTrim(rs.getString(1));
colorList.add(dColor);
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
sql = " SELECT DISTINCT PHY_ATTRIB_3 AS DIM FROM ITEM WHERE ITEM_PARNT = ? order by PHY_ATTRIB_3 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itmcode);
rs = pstmt.executeQuery();
while (rs.next())
{
dDim = checkNullAndTrim(rs.getString(1));
dimensionList.add(dDim);
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
//sql = "select item_code,descr from item where item_parnt = ? ";
sql = " SELECT PHY_ATTRIB_2 COLOR, PHY_ATTRIB_3 ITEMDIMENSION,ITEM_CODE,PHY_ATTRIB_1 SIZE1"
+" FROM ITEM WHERE item_parnt = ? "
+" GROUP BY ITEM_CODE,PHY_ATTRIB_2,PHY_ATTRIB_1,PHY_ATTRIB_3 ORDER BY PHY_ATTRIB_2,PHY_ATTRIB_3,PHY_ATTRIB_1 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itmcode);
rs = pstmt.executeQuery();
int num = 1;
while (rs.next())
{
color = checkNullAndTrim(rs.getString("COLOR"));
dimension = checkNullAndTrim(rs.getString("ITEMDIMENSION"));
size = checkNullAndTrim(rs.getString("SIZE1"));
itemCode = checkNullAndTrim(rs.getString("ITEM_CODE"));
/* valueXmlString.append("<ITM_CODE domID='"+ num +"' selected = 'N'>\r\n");
valueXmlString.append("<fieldId><![CDATA[").append(fieldId).append("]]></fieldId>\r\n");
valueXmlString.append("<fieldValue><![CDATA[").append(fieldValue).append("]]></fieldValue>\r\n");
valueXmlString.append("</ITM_CODE>\r\n");*/
dataMap.put(color+":"+dimension+":"+size, itemCode);
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<RECORDS>\r\n");
int dimlistlen = dimensionList.size();
int colorlen = colorList.size();
int sizelen = sizeList.size();
String key = "";
StringBuffer temStrBuffer = null;
boolean isItemExist = false;
for(int i=0;i<dimlistlen;i++)
{
for(int j=0;j<colorlen;j++)
{
temStrBuffer = new StringBuffer("");
isItemExist = false;
temStrBuffer.append("<tr>\r\n");
temStrBuffer.append("<td><![CDATA[").append(colorList.get(j)).append("]]></td>\r\n");
temStrBuffer.append("<td><![CDATA[").append(dimensionList.get(i)).append("]]></td>\r\n");
for(int k=0;k<sizelen;k++)
{
key = colorList.get(j) + ":"+ dimensionList.get(i) + ":"+ sizeList.get(k);
System.out.println("Current Key["+key+"]");
temStrBuffer.append("<td>\r\n");
if(dataMap.containsKey(key))
{
isItemExist =true;
temStrBuffer.append("<![CDATA[").append(dataMap.get(key)).append("]]>\r\n");
}
else
{
temStrBuffer.append("<![CDATA[").append("X").append("]]>\r\n");
}
temStrBuffer.append("</td>\r\n");
}
temStrBuffer.append("</tr>\r\n");
/***********************************************************/
sql = " select rate from pricelist where item_code = '0000000068' "
+"and price_list in (select price_list from supplier where supp_code = 'SUP0000001')";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
temStrBuffer.append("<rate>\r\n");
while (rs.next())
{
String rate1 = checkNullAndTrim(rs.getString("rate"));
temStrBuffer.append("<![CDATA[").append(rate1).append("]]>\r\n");
}
temStrBuffer.append("</rate>\r\n");
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
/************************************************************/
if(isItemExist)
{
valueXmlString.append(temStrBuffer.toString());
}
}
}
valueXmlString.append("</RECORDS>\r\n");
valueXmlString.append("</PRODUCT_SET>\r\n");
valueXmlString.append("</Root>");
System.out.println("returnXMLString = ["+valueXmlString.toString()+"]");
response.setContentType("text/xml");
if(CommonConstants.CONTENT_ENCODING != null && CommonConstants.CONTENT_ENCODING.equalsIgnoreCase("gzip"))
{
response.setHeader("Content-Encoding", "gzip");
GZIPOutputStream gzOutStream = new GZIPOutputStream(response.getOutputStream());
gzOutStream.write(valueXmlString.toString().getBytes());
gzOutStream.flush();
gzOutStream.close();
}
else
{
response.setHeader("Content-Encoding", "");
OutputStream outStream = response.getOutputStream();
outStream.write(valueXmlString.toString().getBytes());
outStream.flush();
outStream.close();
}
System.out.println("****** ItemParentChange End Successfully ***********");
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("Exception :ProdWizItemChangeServlet: doPost :==>");
try
{
throw new ITMException(e);
}
catch (ITMException e1)
{
// TODO Auto-generated catch block
e1.printStackTrace();
}
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
if (conn != null && !conn.isClosed())
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception :ProdWizItemChangeServlet :==>\n"+ e.getMessage());
try {
throw new ITMException(e);
} catch (ITMException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}
}
}
protected InitialContext getInitialContext()throws ITMException
{
InitialContext ctx = null;
try
{
AppConnectParm appConnect = new AppConnectParm();
ctx = new InitialContext(appConnect.getProperty());
}
catch(ITMException itme)
{
System.out.println("ITMException :[ItemParentChange] :getInitialContext :==>");
throw itme;
}
catch(Exception e)
{
System.out.println("Exception :[ItemParentChange] :getInitialContext :==>");
throw new ITMException(e);
}
return ctx;
}
private String checkNullAndTrim(String input)
{
if (input==null)
{
input="";
}
return input.trim();
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
<?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>79741120</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>21</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>19</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>purc_order</name>
<dbname>porddet.purc_order</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>porddet.line_no</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>porddet.site_code</dbname>
</table_column>
<table_column>
<type size="12">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ind_no</name>
<dbname>porddet.ind_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>porddet.item_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>porddet.quantity</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit</name>
<dbname>porddet.unit</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate</name>
<dbname>porddet.rate</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>discount</name>
<dbname>porddet.discount</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>req_date</name>
<dbname>porddet.req_date</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status</name>
<dbname>porddet.status</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status_date</name>
<dbname>porddet.status_date</dbname>
</table_column>
<table_column>
<type size="8">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>loc_code</name>
<dbname>porddet.loc_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_class</name>
<dbname>porddet.tax_class</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_chap</name>
<dbname>porddet.tax_chap</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_env</name>
<dbname>porddet.tax_env</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>porddet.remarks</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>work_order</name>
<dbname>porddet.work_order</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_amt</name>
<dbname>porddet.tax_amt</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tot_amt</name>
<dbname>porddet.tot_amt</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>dlv_date</name>
<dbname>porddet.dlv_date</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>dlv_qty</name>
<dbname>porddet.dlv_qty</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit__rate</name>
<dbname>porddet.unit__rate</dbname>
</table_column>
<table_column>
<type precision="7">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conv__qty_stduom</name>
<dbname>porddet.conv__qty_stduom</dbname>
</table_column>
<table_column>
<type precision="7">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conv__rtuom_stduom</name>
<dbname>porddet.conv__rtuom_stduom</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit__std</name>
<dbname>porddet.unit__std</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity__stduom</name>
<dbname>porddet.quantity__stduom</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate__stduom</name>
<dbname>porddet.rate__stduom</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pack_code</name>
<dbname>porddet.pack_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_art</name>
<dbname>porddet.no_art</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pack_instr</name>
<dbname>porddet.pack_instr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__dr</name>
<dbname>porddet.acct_code__dr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__dr</name>
<dbname>porddet.cctr_code__dr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__cr</name>
<dbname>porddet.acct_code__cr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__cr</name>
<dbname>porddet.cctr_code__cr</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>discount_type</name>
<dbname>porddet.discount_type</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>supp_code__mnfr</name>
<dbname>porddet.supp_code__mnfr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>order_opt</name>
<dbname>porddet.order_opt</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bom_code</name>
<dbname>porddet.bom_code</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__sord</name>
<dbname>porddet.line_no__sord</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate__clg</name>
<dbname>porddet.rate__clg</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>contract_detail</name>
<dbname>contract_detail</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>op_reason</name>
<dbname>porddet.op_reason</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>user_id__op</name>
<dbname>porddet.user_id__op</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>specific_instr</name>
<dbname>porddet.specific_instr</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>special_instr</name>
<dbname>porddet.special_instr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__qcaprv</name>
<dbname>porddet.emp_code__qcaprv</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="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>proj_code</name>
<dbname>porddet.proj_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code__mfg</name>
<dbname>porddet.item_code__mfg</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>mfg_item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>spec_ref</name>
<dbname>porddet.spec_ref</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>specification.descr</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>operation</name>
<dbname>porddet.operation</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>std_rate</name>
<dbname>porddet.std_rate</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>spl_instr</name>
<dbname>spl_instr</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>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>actual_cost</name>
<dbname>actual_cost</dbname>
</table_column>
<table_column>
<type precision="6">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>exch_rate</name>
<dbname>porder.exch_rate</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>dept_code</name>
<dbname>porddet.dept_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>benefit_type</name>
<dbname>porddet.benefit_type</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>licence_no</name>
<dbname>porddet.licence_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__prov_dr</name>
<dbname>porddet.acct_code__prov_dr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__prov_dr</name>
<dbname>porddet.cctr_code__prov_dr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__prov_cr</name>
<dbname>porddet.acct_code__prov_cr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__prov_cr</name>
<dbname>porddet.cctr_code__prov_cr</dbname>
</table_column>
<table_column>
<type size="250">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>spec_metadata</name>
<dbname>porddet.spec_metadata</dbname>
</table_column>
<table_column>
<type size="250">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>spec_dimension</name>
<dbname>porddet.spec_dimension</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>supp_item__ref</name>
<dbname>porddet.supp_item__ref</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity__fc</name>
<dbname>porddet.quantity__fc</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__rfc</name>
<dbname>porddet.prd_code__rfc</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>form_no</name>
<dbname>porddet.form_no</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>duty_paid</name>
<dbname>porddet.duty_paid</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>std_cost</name>
<dbname>std_cost</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>variance</name>
<dbname>variance</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>anal_code</name>
<dbname>porddet.anal_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>analysis_descr</name>
<dbname>analysis.descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__ap_adv</name>
<dbname>porddet.acct_code__ap_adv</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__ap_adv</name>
<dbname>porddet.cctr_code__ap_adv</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lot_no__passign</name>
<dbname>porddet.lot_no__passign</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>exp_date__passign</name>
<dbname>porddet.exp_date__passign</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;porddet&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_a&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_b&quot; ) TABLE(NAME=&quot;specification&quot; ) TABLE(NAME=&quot;porder&quot; ) TABLE(NAME=&quot;analysis&quot; ) COLUMN(NAME=&quot;porddet.purc_order&quot;) COLUMN(NAME=&quot;porddet.line_no&quot;) COLUMN(NAME=&quot;porddet.site_code&quot;) COLUMN(NAME=&quot;porddet.ind_no&quot;) COLUMN(NAME=&quot;porddet.item_code&quot;) COLUMN(NAME=&quot;porddet.quantity&quot;) COLUMN(NAME=&quot;porddet.unit&quot;) COLUMN(NAME=&quot;porddet.rate&quot;) COLUMN(NAME=&quot;porddet.discount&quot;) COLUMN(NAME=&quot;porddet.req_date&quot;) COLUMN(NAME=&quot;porddet.status&quot;) COLUMN(NAME=&quot;porddet.status_date&quot;) COLUMN(NAME=&quot;porddet.loc_code&quot;) COLUMN(NAME=&quot;porddet.tax_class&quot;) COLUMN(NAME=&quot;porddet.tax_chap&quot;) COLUMN(NAME=&quot;porddet.tax_env&quot;) COLUMN(NAME=&quot;porddet.remarks&quot;) COLUMN(NAME=&quot;porddet.work_order&quot;) COLUMN(NAME=&quot;porddet.tax_amt&quot;) COLUMN(NAME=&quot;porddet.tot_amt&quot;) COLUMN(NAME=&quot;porddet.dlv_date&quot;) COLUMN(NAME=&quot;porddet.dlv_qty&quot;) COLUMN(NAME=&quot;porddet.unit__rate&quot;) COLUMN(NAME=&quot;porddet.conv__qty_stduom&quot;) COLUMN(NAME=&quot;porddet.conv__rtuom_stduom&quot;) COLUMN(NAME=&quot;porddet.unit__std&quot;) COLUMN(NAME=&quot;porddet.quantity__stduom&quot;) COLUMN(NAME=&quot;porddet.rate__stduom&quot;) COLUMN(NAME=&quot;porddet.pack_code&quot;) COLUMN(NAME=&quot;porddet.no_art&quot;) COLUMN(NAME=&quot;porddet.pack_instr&quot;) COLUMN(NAME=&quot;porddet.acct_code__dr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__dr&quot;) COLUMN(NAME=&quot;porddet.acct_code__cr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__cr&quot;) COLUMN(NAME=&quot;item_a.descr&quot;) COLUMN(NAME=&quot;porddet.discount_type&quot;) COLUMN(NAME=&quot;porddet.supp_code__mnfr&quot;) COLUMN(NAME=&quot;porddet.order_opt&quot;) COLUMN(NAME=&quot;porddet.bom_code&quot;) COLUMN(NAME=&quot;porddet.line_no__sord&quot;) COLUMN(NAME=&quot;porddet.rate__clg&quot;) COMPUTE(NAME=&quot;&apos;&apos; contract_detail&quot;) COLUMN(NAME=&quot;porddet.op_reason&quot;) COLUMN(NAME=&quot;porddet.user_id__op&quot;) COLUMN(NAME=&quot;porddet.specific_instr&quot;) COLUMN(NAME=&quot;porddet.special_instr&quot;) COLUMN(NAME=&quot;porddet.emp_code__qcaprv&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;porddet.proj_code&quot;) COLUMN(NAME=&quot;porddet.item_code__mfg&quot;) COLUMN(NAME=&quot;item_b.descr&quot;) COLUMN(NAME=&quot;porddet.spec_ref&quot;) COLUMN(NAME=&quot;specification.descr&quot;) COLUMN(NAME=&quot;porddet.operation&quot;) COLUMN(NAME=&quot;porddet.std_rate&quot;) COMPUTE(NAME=&quot;space(500) as spl_instr&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COMPUTE(NAME=&quot;(~&quot;PORDDET~&quot;.~&quot;TOT_AMT~&quot; - fn_get_po_recoamt(~&quot;PORDDET~&quot;.~&quot;PURC_ORDER~&quot; , ~&quot;PORDDET~&quot;.~&quot;LINE_NO~&quot;, &apos;R&apos; ,&apos;D&apos;) ) * exch_rate as actual_cost&quot;) COLUMN(NAME=&quot;porder.exch_rate&quot;) COLUMN(NAME=&quot;porddet.dept_code&quot;) COLUMN(NAME=&quot;porddet.benefit_type&quot;) COLUMN(NAME=&quot;porddet.licence_no&quot;) COLUMN(NAME=&quot;porddet.acct_code__prov_dr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__prov_dr&quot;) COLUMN(NAME=&quot;porddet.acct_code__prov_cr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__prov_cr&quot;) COLUMN(NAME=&quot;porddet.spec_metadata&quot;) COLUMN(NAME=&quot;porddet.spec_dimension&quot;) COLUMN(NAME=&quot;porddet.supp_item__ref&quot;) COLUMN(NAME=&quot;porddet.quantity__fc&quot;) COLUMN(NAME=&quot;porddet.prd_code__rfc&quot;) COLUMN(NAME=&quot;porddet.form_no&quot;) COLUMN(NAME=&quot;porddet.duty_paid&quot;) COMPUTE(NAME=&quot;(porddet.quantity * porddet.std_rate ) as std_cost&quot;) COMPUTE(NAME=&quot;((porddet.quantity * porddet.std_rate ) - (~&quot;PORDDET~&quot;.~&quot;TOT_AMT~&quot; - fn_get_po_recoamt(~&quot;PORDDET~&quot;.~&quot;PURC_ORDER~&quot; , ~&quot;PORDDET~&quot;.~&quot;LINE_NO~&quot;, &apos;R&apos; ,&apos;D&apos;)) * exch_rate) as variance&quot;) COLUMN(NAME=&quot;porddet.anal_code&quot;) COLUMN(NAME=&quot;analysis.descr&quot;) COLUMN(NAME=&quot;porddet.acct_code__ap_adv&quot;) COLUMN(NAME=&quot;porddet.cctr_code__ap_adv&quot;) COLUMN(NAME=&quot;porddet.lot_no__passign&quot;) COLUMN(NAME=&quot;porddet.exp_date__passign&quot;) JOIN (LEFT=&quot;porddet.emp_code__qcaprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;porddet.emp_code__qcaprv&quot; ) JOIN (LEFT=&quot;porddet.item_code__mfg&quot; OP =&quot;=&quot;RIGHT=&quot;item_b.item_code&quot; OUTER1 =&quot;porddet.item_code__mfg&quot; ) JOIN (LEFT=&quot;porddet.spec_ref&quot; OP =&quot;=&quot;RIGHT=&quot;specification.spec_ref&quot; OUTER1 =&quot;porddet.spec_ref&quot; ) JOIN (LEFT=&quot;porddet.anal_code&quot; OP =&quot;=&quot;RIGHT=&quot;analysis.anal_code&quot; OUTER1 =&quot;porddet.anal_code&quot; ) JOIN (LEFT=&quot;porddet.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item_a.item_code&quot; ) JOIN (LEFT=&quot;porddet.purc_order&quot; OP =&quot;=&quot;RIGHT=&quot;porder.purc_order&quot; )WHERE( EXP1 =&quot;( ( porddet.purc_order&quot; OP =&quot;=&quot; EXP2 =&quot;:po ) )&quot; ) ) ORDER(NAME=&quot;porddet.line_no&quot; ASC=yes ) ARG(NAME = &quot;po&quot; TYPE = string) </retrieve>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>3</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site</text>
<border>6</border>
<color>0</color>
<x>28</x>
<y>3</y>
<height>16</height>
<width>39</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Indent No</text>
<border>6</border>
<color>0</color>
<x>69</x>
<y>3</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ind_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>SO Line</text>
<border>6</border>
<color>0</color>
<x>156</x>
<y>3</y>
<height>16</height>
<width>42</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__sord_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>6</border>
<color>0</color>
<x>200</x>
<y>3</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>6</border>
<color>0</color>
<x>274</x>
<y>3</y>
<height>16</height>
<width>179</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Std. Rate </text>
<border>6</border>
<color>0</color>
<x>455</x>
<y>3</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_rate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Quantity</text>
<border>6</border>
<color>0</color>
<x>541</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Status</text>
<border>6</border>
<color>0</color>
<x>1090</x>
<y>3</y>
<height>16</height>
<width>34</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>As on</text>
<border>6</border>
<color>0</color>
<x>1126</x>
<y>3</y>
<height>16</height>
<width>54</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Loc Code</text>
<border>6</border>
<color>0</color>
<x>1182</x>
<y>3</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tax Class</text>
<border>6</border>
<color>0</color>
<x>1236</x>
<y>3</y>
<height>16</height>
<width>51</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_class_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tax Chap</text>
<border>6</border>
<color>0</color>
<x>1289</x>
<y>3</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_chap_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tax Env</text>
<border>6</border>
<color>0</color>
<x>1343</x>
<y>3</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_env_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Exc Cl rt</text>
<border>6</border>
<color>0</color>
<x>1397</x>
<y>3</y>
<height>16</height>
<width>65</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__clg_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Unit</text>
<border>6</border>
<color>0</color>
<x>603</x>
<y>3</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Rate</text>
<border>6</border>
<color>0</color>
<x>629</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Discount</text>
<border>6</border>
<color>0</color>
<x>691</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>discount_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Tax Amt</text>
<border>6</border>
<color>0</color>
<x>753</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_amt_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Tot Amt</text>
<border>6</border>
<color>0</color>
<x>815</x>
<y>3</y>
<height>16</height>
<width>61</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tot_amt_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Required Date</text>
<border>6</border>
<color>0</color>
<x>878</x>
<y>3</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Dlv Date</text>
<border>6</border>
<color>0</color>
<x>958</x>
<y>3</y>
<height>16</height>
<width>54</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Delivered Qty</text>
<border>6</border>
<color>0</color>
<x>1014</x>
<y>3</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Spec Ref</text>
<border>6</border>
<color>0</color>
<x>1464</x>
<y>3</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_ref_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Spec Ref Description</text>
<border>6</border>
<color>0</color>
<x>1540</x>
<y>3</y>
<height>16</height>
<width>309</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Remarks</text>
<border>6</border>
<color>0</color>
<x>1851</x>
<y>3</y>
<height>16</height>
<width>213</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Wrk Order</text>
<border>6</border>
<color>0</color>
<x>2066</x>
<y>3</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>work_order_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Purchase Order</text>
<border>6</border>
<color>0</color>
<x>2140</x>
<y>3</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_order_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>item code mfg</text>
<border>6</border>
<color>0</color>
<x>2225</x>
<y>3</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__mfg_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Operation</text>
<border>6</border>
<color>0</color>
<x>2310</x>
<y>3</y>
<height>16</height>
<width>59</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>operation_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Special Instruction</text>
<border>6</border>
<color>0</color>
<x>2371</x>
<y>3</y>
<height>16</height>
<width>316</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spl_instr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Dept Code</text>
<border>6</border>
<color>0</color>
<x>2689</x>
<y>3</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Benefit Type</text>
<border>6</border>
<color>0</color>
<x>2774</x>
<y>3</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>benefit_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Licence No</text>
<border>6</border>
<color>0</color>
<x>2850</x>
<y>3</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>licence_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Spec Metadata</text>
<border>6</border>
<color>33554432</color>
<x>2950</x>
<y>3</y>
<height>16</height>
<width>171</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_metadata_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Spec Dimension</text>
<border>6</border>
<color>33554432</color>
<x>3123</x>
<y>3</y>
<height>16</height>
<width>174</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_dimension_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Supplier Item Ref</text>
<border>6</border>
<color>33554432</color>
<x>3299</x>
<y>3</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_item__ref_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Forcast Quantity</text>
<border>6</border>
<color>33554432</color>
<x>3399</x>
<y>3</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__fc_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Forcast Month</text>
<border>6</border>
<color>33554432</color>
<x>3492</x>
<y>3</y>
<height>16</height>
<width>131</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__rfc_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Duty Paid</text>
<border>6</border>
<color>33554432</color>
<x>3625</x>
<y>3</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>duty_paid_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Form No</text>
<border>6</border>
<color>33554432</color>
<x>3691</x>
<y>3</y>
<height>16</height>
<width>154</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>form_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Analysis Code</text>
<border>6</border>
<color>33554432</color>
<x>3847</x>
<y>3</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>anal_code_t</name>
<visible>1</visible>
<font>
<face>Tahoma</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>Analysis Descr</text>
<border>6</border>
<color>33554432</color>
<x>3931</x>
<y>3</y>
<height>16</height>
<width>149</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>analysis_descr_t</name>
<visible>1</visible>
<font>
<face>Tahoma</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>Emp FName</text>
<border>6</border>
<color>0</color>
<x>4578</x>
<y>3</y>
<height>16</height>
<width>46</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Emp MName</text>
<border>6</border>
<color>0</color>
<x>4626</x>
<y>3</y>
<height>16</height>
<width>50</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Emp LName</text>
<border>6</border>
<color>0</color>
<x>4678</x>
<y>3</y>
<height>16</height>
<width>51</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Acct Code Ap Adv:</text>
<border>6</border>
<color>33554432</color>
<x>4213</x>
<y>3</y>
<height>16</height>
<width>61</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_code__ap_adv_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cctr Code Ap Adv</text>
<border>6</border>
<color>33554432</color>
<x>4276</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cctr_code__ap_adv_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Variance</text>
<border>6</border>
<color>0</color>
<x>4082</x>
<y>3</y>
<height>16</height>
<width>59</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>variance_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Std Cost</text>
<border>6</border>
<color>0</color>
<x>4143</x>
<y>3</y>
<height>16</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_cost_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Exch Rate</text>
<border>6</border>
<color>0</color>
<x>4731</x>
<y>3</y>
<height>16</height>
<width>33</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exch_rate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Pre Assign Lot No</text>
<border>6</border>
<color>33554432</color>
<x>4338</x>
<y>3</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__passign_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Pre Assign Exp Date</text>
<border>6</border>
<color>33554432</color>
<x>4435</x>
<y>3</y>
<height>16</height>
<width>141</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date__passign_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>24</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>28</x>
<y>1</y>
<height>16</height>
<width>39</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>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>69</x>
<y>1</y>
<height>16</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ind_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>41</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>156</x>
<y>1</y>
<height>16</height>
<width>42</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__sord</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>200</x>
<y>1</y>
<height>16</height>
<width>72</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>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>603</x>
<y>1</y>
<height>16</height>
<width>24</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>629</x>
<y>1</y>
<height>16</height>
<width>60</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>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>691</x>
<y>1</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>discount</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>753</x>
<y>1</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>815</x>
<y>1</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tot_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>878</x>
<y>1</y>
<height>16</height>
<width>78</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>958</x>
<y>1</y>
<height>16</height>
<width>54</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</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>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1014</x>
<y>1</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</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>0</color>
<x>1090</x>
<y>1</y>
<height>16</height>
<width>34</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1126</x>
<y>1</y>
<height>16</height>
<width>54</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1182</x>
<y>1</y>
<height>16</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>8</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1236</x>
<y>1</y>
<height>16</height>
<width>51</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_class</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1289</x>
<y>1</y>
<height>16</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_chap</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1343</x>
<y>1</y>
<height>16</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_env</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>42</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1397</x>
<y>1</y>
<height>16</height>
<width>65</width>
<format>###########0.00</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__clg</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>53</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1464</x>
<y>1</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>54</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1540</x>
<y>1</y>
<height>16</height>
<width>309</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1851</x>
<y>1</y>
<height>16</height>
<width>213</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>50</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2066</x>
<y>1</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>work_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2140</x>
<y>1</y>
<height>16</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>274</x>
<y>1</y>
<height>16</height>
<width>179</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>Times New Roman</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>56</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>455</x>
<y>1</y>
<height>16</height>
<width>84</width>
<format>#0.0000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_rate</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>541</x>
<y>1</y>
<height>16</height>
<width>60</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>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>51</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2225</x>
<y>1</y>
<height>16</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__mfg</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>55</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2310</x>
<y>1</y>
<height>16</height>
<width>59</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>operation</name>
<visible expression="0">1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>57</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2371</x>
<y>1</y>
<height>16</height>
<width>316</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spl_instr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>62</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2689</x>
<y>1</y>
<height>16</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>63</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2774</x>
<y>1</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>benefit_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>64</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2850</x>
<y>1</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>licence_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>69</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2950</x>
<y>1</y>
<height>16</height>
<width>171</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_metadata</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>70</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3123</x>
<y>1</y>
<height>16</height>
<width>174</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_dimension</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>71</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3299</x>
<y>1</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_item__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>72</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3399</x>
<y>1</y>
<height>16</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__fc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>73</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3492</x>
<y>1</y>
<height>16</height>
<width>131</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__rfc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>75</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3625</x>
<y>1</y>
<height>16</height>
<width>64</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>duty_paid</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>74</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3691</x>
<y>1</y>
<height>16</height>
<width>154</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>form_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>49</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4578</x>
<y>1</y>
<height>16</height>
<width>46</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>58</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4626</x>
<y>1</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>59</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4678</x>
<y>1</y>
<height>16</height>
<width>51</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>76</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4143</x>
<y>1</y>
<height>16</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_cost</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>77</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4082</x>
<y>1</y>
<height>16</height>
<width>59</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>variance</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>78</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3847</x>
<y>1</y>
<height>16</height>
<width>82</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>anal_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>79</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3931</x>
<y>1</y>
<height>16</height>
<width>149</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>analysis_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>80</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4213</x>
<y>1</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_code__ap_adv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>81</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4276</x>
<y>1</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cctr_code__ap_adv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>61</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4731</x>
<y>1</y>
<height>16</height>
<width>33</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exch_rate</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>82</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4338</x>
<y>1</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__passign</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>83</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4435</x>
<y>1</y>
<height>16</height>
<width>141</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date__passign</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>21</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>19</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>purc_order</name>
<dbname>porddet.purc_order</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>porddet.line_no</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>porddet.site_code</dbname>
</table_column>
<table_column>
<type size="12">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ind_no</name>
<dbname>porddet.ind_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>porddet.item_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>porddet.quantity</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit</name>
<dbname>porddet.unit</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate</name>
<dbname>porddet.rate</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>discount</name>
<dbname>porddet.discount</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>req_date</name>
<dbname>porddet.req_date</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status</name>
<dbname>porddet.status</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>status_date</name>
<dbname>porddet.status_date</dbname>
</table_column>
<table_column>
<type size="8">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>loc_code</name>
<dbname>porddet.loc_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_class</name>
<dbname>porddet.tax_class</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_chap</name>
<dbname>porddet.tax_chap</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_env</name>
<dbname>porddet.tax_env</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>porddet.remarks</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>work_order</name>
<dbname>porddet.work_order</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tax_amt</name>
<dbname>porddet.tax_amt</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tot_amt</name>
<dbname>porddet.tot_amt</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>dlv_date</name>
<dbname>porddet.dlv_date</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>dlv_qty</name>
<dbname>porddet.dlv_qty</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit__rate</name>
<dbname>porddet.unit__rate</dbname>
</table_column>
<table_column>
<type precision="7">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conv__qty_stduom</name>
<dbname>porddet.conv__qty_stduom</dbname>
</table_column>
<table_column>
<type precision="7">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conv__rtuom_stduom</name>
<dbname>porddet.conv__rtuom_stduom</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>unit__std</name>
<dbname>porddet.unit__std</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity__stduom</name>
<dbname>porddet.quantity__stduom</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate__stduom</name>
<dbname>porddet.rate__stduom</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pack_code</name>
<dbname>porddet.pack_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_art</name>
<dbname>porddet.no_art</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pack_instr</name>
<dbname>porddet.pack_instr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__dr</name>
<dbname>porddet.acct_code__dr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__dr</name>
<dbname>porddet.cctr_code__dr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__cr</name>
<dbname>porddet.acct_code__cr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__cr</name>
<dbname>porddet.cctr_code__cr</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>discount_type</name>
<dbname>porddet.discount_type</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>supp_code__mnfr</name>
<dbname>porddet.supp_code__mnfr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>order_opt</name>
<dbname>porddet.order_opt</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>bom_code</name>
<dbname>porddet.bom_code</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__sord</name>
<dbname>porddet.line_no__sord</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>rate__clg</name>
<dbname>porddet.rate__clg</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>contract_detail</name>
<dbname>contract_detail</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>op_reason</name>
<dbname>porddet.op_reason</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>user_id__op</name>
<dbname>porddet.user_id__op</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>specific_instr</name>
<dbname>porddet.specific_instr</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>special_instr</name>
<dbname>porddet.special_instr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__qcaprv</name>
<dbname>porddet.emp_code__qcaprv</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="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>proj_code</name>
<dbname>porddet.proj_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code__mfg</name>
<dbname>porddet.item_code__mfg</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>mfg_item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>spec_ref</name>
<dbname>porddet.spec_ref</dbname>
</table_column>
<table_column>
<type size="120">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>specification.descr</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>operation</name>
<dbname>porddet.operation</dbname>
</table_column>
<table_column>
<type precision="4">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>std_rate</name>
<dbname>porddet.std_rate</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>spl_instr</name>
<dbname>spl_instr</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>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>actual_cost</name>
<dbname>actual_cost</dbname>
</table_column>
<table_column>
<type precision="6">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>exch_rate</name>
<dbname>porder.exch_rate</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>dept_code</name>
<dbname>porddet.dept_code</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>benefit_type</name>
<dbname>porddet.benefit_type</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>licence_no</name>
<dbname>porddet.licence_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__prov_dr</name>
<dbname>porddet.acct_code__prov_dr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__prov_dr</name>
<dbname>porddet.cctr_code__prov_dr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__prov_cr</name>
<dbname>porddet.acct_code__prov_cr</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__prov_cr</name>
<dbname>porddet.cctr_code__prov_cr</dbname>
</table_column>
<table_column>
<type size="250">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>spec_metadata</name>
<dbname>porddet.spec_metadata</dbname>
</table_column>
<table_column>
<type size="250">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>spec_dimension</name>
<dbname>porddet.spec_dimension</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>supp_item__ref</name>
<dbname>porddet.supp_item__ref</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity__fc</name>
<dbname>porddet.quantity__fc</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__rfc</name>
<dbname>porddet.prd_code__rfc</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>form_no</name>
<dbname>porddet.form_no</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>duty_paid</name>
<dbname>porddet.duty_paid</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>std_cost</name>
<dbname>std_cost</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>variance</name>
<dbname>variance</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>anal_code</name>
<dbname>porddet.anal_code</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>analysis_descr</name>
<dbname>analysis.descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>acct_code__ap_adv</name>
<dbname>porddet.acct_code__ap_adv</dbname>
</table_column>
<table_column>
<type size="4">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cctr_code__ap_adv</name>
<dbname>porddet.cctr_code__ap_adv</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lot_no__passign</name>
<dbname>porddet.lot_no__passign</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>exp_date__passign</name>
<dbname>porddet.exp_date__passign</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;porddet&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_a&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;item&quot; ALIAS=&quot;item_b&quot; ) TABLE(NAME=&quot;specification&quot; ) TABLE(NAME=&quot;porder&quot; ) TABLE(NAME=&quot;analysis&quot; ) COLUMN(NAME=&quot;porddet.purc_order&quot;) COLUMN(NAME=&quot;porddet.line_no&quot;) COLUMN(NAME=&quot;porddet.site_code&quot;) COLUMN(NAME=&quot;porddet.ind_no&quot;) COLUMN(NAME=&quot;porddet.item_code&quot;) COLUMN(NAME=&quot;porddet.quantity&quot;) COLUMN(NAME=&quot;porddet.unit&quot;) COLUMN(NAME=&quot;porddet.rate&quot;) COLUMN(NAME=&quot;porddet.discount&quot;) COLUMN(NAME=&quot;porddet.req_date&quot;) COLUMN(NAME=&quot;porddet.status&quot;) COLUMN(NAME=&quot;porddet.status_date&quot;) COLUMN(NAME=&quot;porddet.loc_code&quot;) COLUMN(NAME=&quot;porddet.tax_class&quot;) COLUMN(NAME=&quot;porddet.tax_chap&quot;) COLUMN(NAME=&quot;porddet.tax_env&quot;) COLUMN(NAME=&quot;porddet.remarks&quot;) COLUMN(NAME=&quot;porddet.work_order&quot;) COLUMN(NAME=&quot;porddet.tax_amt&quot;) COLUMN(NAME=&quot;porddet.tot_amt&quot;) COLUMN(NAME=&quot;porddet.dlv_date&quot;) COLUMN(NAME=&quot;porddet.dlv_qty&quot;) COLUMN(NAME=&quot;porddet.unit__rate&quot;) COLUMN(NAME=&quot;porddet.conv__qty_stduom&quot;) COLUMN(NAME=&quot;porddet.conv__rtuom_stduom&quot;) COLUMN(NAME=&quot;porddet.unit__std&quot;) COLUMN(NAME=&quot;porddet.quantity__stduom&quot;) COLUMN(NAME=&quot;porddet.rate__stduom&quot;) COLUMN(NAME=&quot;porddet.pack_code&quot;) COLUMN(NAME=&quot;porddet.no_art&quot;) COLUMN(NAME=&quot;porddet.pack_instr&quot;) COLUMN(NAME=&quot;porddet.acct_code__dr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__dr&quot;) COLUMN(NAME=&quot;porddet.acct_code__cr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__cr&quot;) COLUMN(NAME=&quot;item_a.descr&quot;) COLUMN(NAME=&quot;porddet.discount_type&quot;) COLUMN(NAME=&quot;porddet.supp_code__mnfr&quot;) COLUMN(NAME=&quot;porddet.order_opt&quot;) COLUMN(NAME=&quot;porddet.bom_code&quot;) COLUMN(NAME=&quot;porddet.line_no__sord&quot;) COLUMN(NAME=&quot;porddet.rate__clg&quot;) COMPUTE(NAME=&quot;&apos;&apos; contract_detail&quot;) COLUMN(NAME=&quot;porddet.op_reason&quot;) COLUMN(NAME=&quot;porddet.user_id__op&quot;) COLUMN(NAME=&quot;porddet.specific_instr&quot;) COLUMN(NAME=&quot;porddet.special_instr&quot;) COLUMN(NAME=&quot;porddet.emp_code__qcaprv&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;porddet.proj_code&quot;) COLUMN(NAME=&quot;porddet.item_code__mfg&quot;) COLUMN(NAME=&quot;item_b.descr&quot;) COLUMN(NAME=&quot;porddet.spec_ref&quot;) COLUMN(NAME=&quot;specification.descr&quot;) COLUMN(NAME=&quot;porddet.operation&quot;) COLUMN(NAME=&quot;porddet.std_rate&quot;) COMPUTE(NAME=&quot;space(500) as spl_instr&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COMPUTE(NAME=&quot;(~&quot;PORDDET~&quot;.~&quot;TOT_AMT~&quot; - fn_get_po_recoamt(~&quot;PORDDET~&quot;.~&quot;PURC_ORDER~&quot; , ~&quot;PORDDET~&quot;.~&quot;LINE_NO~&quot;, &apos;R&apos; ,&apos;D&apos;) ) * exch_rate as actual_cost&quot;) COLUMN(NAME=&quot;porder.exch_rate&quot;) COLUMN(NAME=&quot;porddet.dept_code&quot;) COLUMN(NAME=&quot;porddet.benefit_type&quot;) COLUMN(NAME=&quot;porddet.licence_no&quot;) COLUMN(NAME=&quot;porddet.acct_code__prov_dr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__prov_dr&quot;) COLUMN(NAME=&quot;porddet.acct_code__prov_cr&quot;) COLUMN(NAME=&quot;porddet.cctr_code__prov_cr&quot;) COLUMN(NAME=&quot;porddet.spec_metadata&quot;) COLUMN(NAME=&quot;porddet.spec_dimension&quot;) COLUMN(NAME=&quot;porddet.supp_item__ref&quot;) COLUMN(NAME=&quot;porddet.quantity__fc&quot;) COLUMN(NAME=&quot;porddet.prd_code__rfc&quot;) COLUMN(NAME=&quot;porddet.form_no&quot;) COLUMN(NAME=&quot;porddet.duty_paid&quot;) COMPUTE(NAME=&quot;(porddet.quantity * porddet.std_rate ) as std_cost&quot;) COMPUTE(NAME=&quot;((porddet.quantity * porddet.std_rate ) - (~&quot;PORDDET~&quot;.~&quot;TOT_AMT~&quot; - fn_get_po_recoamt(~&quot;PORDDET~&quot;.~&quot;PURC_ORDER~&quot; , ~&quot;PORDDET~&quot;.~&quot;LINE_NO~&quot;, &apos;R&apos; ,&apos;D&apos;)) * exch_rate) as variance&quot;) COLUMN(NAME=&quot;porddet.anal_code&quot;) COLUMN(NAME=&quot;analysis.descr&quot;) COLUMN(NAME=&quot;porddet.acct_code__ap_adv&quot;) COLUMN(NAME=&quot;porddet.cctr_code__ap_adv&quot;) COLUMN(NAME=&quot;porddet.lot_no__passign&quot;) COLUMN(NAME=&quot;porddet.exp_date__passign&quot;) JOIN (LEFT=&quot;porddet.emp_code__qcaprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;porddet.emp_code__qcaprv&quot; ) JOIN (LEFT=&quot;porddet.item_code__mfg&quot; OP =&quot;=&quot;RIGHT=&quot;item_b.item_code&quot; OUTER1 =&quot;porddet.item_code__mfg&quot; ) JOIN (LEFT=&quot;porddet.spec_ref&quot; OP =&quot;=&quot;RIGHT=&quot;specification.spec_ref&quot; OUTER1 =&quot;porddet.spec_ref&quot; ) JOIN (LEFT=&quot;porddet.anal_code&quot; OP =&quot;=&quot;RIGHT=&quot;analysis.anal_code&quot; OUTER1 =&quot;porddet.anal_code&quot; ) JOIN (LEFT=&quot;porddet.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item_a.item_code&quot; ) JOIN (LEFT=&quot;porddet.purc_order&quot; OP =&quot;=&quot;RIGHT=&quot;porder.purc_order&quot; )WHERE( EXP1 =&quot;( ( porddet.purc_order&quot; OP =&quot;=&quot; EXP2 =&quot;:po ) )&quot; ) ) ORDER(NAME=&quot;porddet.line_no&quot; ASC=yes ) ARG(NAME = &quot;po&quot; TYPE = string) </retrieve>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>3</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site</text>
<border>6</border>
<color>0</color>
<x>28</x>
<y>3</y>
<height>16</height>
<width>39</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Indent No</text>
<border>6</border>
<color>0</color>
<x>69</x>
<y>3</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ind_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>SO Line</text>
<border>6</border>
<color>0</color>
<x>156</x>
<y>3</y>
<height>16</height>
<width>42</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__sord_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>6</border>
<color>0</color>
<x>200</x>
<y>3</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>6</border>
<color>0</color>
<x>274</x>
<y>3</y>
<height>16</height>
<width>179</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Std. Rate </text>
<border>6</border>
<color>0</color>
<x>455</x>
<y>3</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_rate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Quantity</text>
<border>6</border>
<color>0</color>
<x>541</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Status</text>
<border>6</border>
<color>0</color>
<x>1090</x>
<y>3</y>
<height>16</height>
<width>34</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>As on</text>
<border>6</border>
<color>0</color>
<x>1126</x>
<y>3</y>
<height>16</height>
<width>54</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Loc Code</text>
<border>6</border>
<color>0</color>
<x>1182</x>
<y>3</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tax Class</text>
<border>6</border>
<color>0</color>
<x>1236</x>
<y>3</y>
<height>16</height>
<width>51</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_class_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tax Chap</text>
<border>6</border>
<color>0</color>
<x>1289</x>
<y>3</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_chap_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Tax Env</text>
<border>6</border>
<color>0</color>
<x>1343</x>
<y>3</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_env_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Exc Cl rt</text>
<border>6</border>
<color>0</color>
<x>1397</x>
<y>3</y>
<height>16</height>
<width>65</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__clg_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Unit</text>
<border>6</border>
<color>0</color>
<x>603</x>
<y>3</y>
<height>16</height>
<width>24</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Rate</text>
<border>6</border>
<color>0</color>
<x>629</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Discount</text>
<border>6</border>
<color>0</color>
<x>691</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>discount_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Tax Amt</text>
<border>6</border>
<color>0</color>
<x>753</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_amt_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Tot Amt</text>
<border>6</border>
<color>0</color>
<x>815</x>
<y>3</y>
<height>16</height>
<width>61</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tot_amt_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Required Date</text>
<border>6</border>
<color>0</color>
<x>878</x>
<y>3</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Dlv Date</text>
<border>6</border>
<color>0</color>
<x>958</x>
<y>3</y>
<height>16</height>
<width>54</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Delivered Qty</text>
<border>6</border>
<color>0</color>
<x>1014</x>
<y>3</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Spec Ref</text>
<border>6</border>
<color>0</color>
<x>1464</x>
<y>3</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_ref_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Spec Ref Description</text>
<border>6</border>
<color>0</color>
<x>1540</x>
<y>3</y>
<height>16</height>
<width>309</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Remarks</text>
<border>6</border>
<color>0</color>
<x>1851</x>
<y>3</y>
<height>16</height>
<width>213</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Wrk Order</text>
<border>6</border>
<color>0</color>
<x>2066</x>
<y>3</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>work_order_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Purchase Order</text>
<border>6</border>
<color>0</color>
<x>2140</x>
<y>3</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_order_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>item code mfg</text>
<border>6</border>
<color>0</color>
<x>2225</x>
<y>3</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__mfg_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Operation</text>
<border>6</border>
<color>0</color>
<x>2310</x>
<y>3</y>
<height>16</height>
<width>59</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>operation_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Special Instruction</text>
<border>6</border>
<color>0</color>
<x>2371</x>
<y>3</y>
<height>16</height>
<width>316</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spl_instr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Dept Code</text>
<border>6</border>
<color>0</color>
<x>2689</x>
<y>3</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Benefit Type</text>
<border>6</border>
<color>0</color>
<x>2774</x>
<y>3</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>benefit_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Licence No</text>
<border>6</border>
<color>0</color>
<x>2850</x>
<y>3</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>licence_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Spec Metadata</text>
<border>6</border>
<color>33554432</color>
<x>2950</x>
<y>3</y>
<height>16</height>
<width>171</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_metadata_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Spec Dimension</text>
<border>6</border>
<color>33554432</color>
<x>3123</x>
<y>3</y>
<height>16</height>
<width>174</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_dimension_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Supplier Item Ref</text>
<border>6</border>
<color>33554432</color>
<x>3299</x>
<y>3</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_item__ref_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Forcast Quantity</text>
<border>6</border>
<color>33554432</color>
<x>3399</x>
<y>3</y>
<height>16</height>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__fc_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Forcast Month</text>
<border>6</border>
<color>33554432</color>
<x>3492</x>
<y>3</y>
<height>16</height>
<width>131</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__rfc_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Duty Paid</text>
<border>6</border>
<color>33554432</color>
<x>3625</x>
<y>3</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>duty_paid_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Form No</text>
<border>6</border>
<color>33554432</color>
<x>3691</x>
<y>3</y>
<height>16</height>
<width>154</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>form_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Analysis Code</text>
<border>6</border>
<color>33554432</color>
<x>3847</x>
<y>3</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>anal_code_t</name>
<visible>1</visible>
<font>
<face>Tahoma</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>Analysis Descr</text>
<border>6</border>
<color>33554432</color>
<x>3931</x>
<y>3</y>
<height>16</height>
<width>149</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>analysis_descr_t</name>
<visible>1</visible>
<font>
<face>Tahoma</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>Emp FName</text>
<border>6</border>
<color>0</color>
<x>4578</x>
<y>3</y>
<height>16</height>
<width>46</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Emp MName</text>
<border>6</border>
<color>0</color>
<x>4626</x>
<y>3</y>
<height>16</height>
<width>50</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Emp LName</text>
<border>6</border>
<color>0</color>
<x>4678</x>
<y>3</y>
<height>16</height>
<width>51</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79416533</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Acct Code Ap Adv:</text>
<border>6</border>
<color>33554432</color>
<x>4213</x>
<y>3</y>
<height>16</height>
<width>61</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_code__ap_adv_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cctr Code Ap Adv</text>
<border>6</border>
<color>33554432</color>
<x>4276</x>
<y>3</y>
<height>16</height>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cctr_code__ap_adv_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Variance</text>
<border>6</border>
<color>0</color>
<x>4082</x>
<y>3</y>
<height>16</height>
<width>59</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>variance_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Std Cost</text>
<border>6</border>
<color>0</color>
<x>4143</x>
<y>3</y>
<height>16</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_cost_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Exch Rate</text>
<border>6</border>
<color>0</color>
<x>4731</x>
<y>3</y>
<height>16</height>
<width>33</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exch_rate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Pre Assign Lot No</text>
<border>6</border>
<color>33554432</color>
<x>4338</x>
<y>3</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__passign_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Pre Assign Exp Date</text>
<border>6</border>
<color>33554432</color>
<x>4435</x>
<y>3</y>
<height>16</height>
<width>141</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date__passign_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>24</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>28</x>
<y>1</y>
<height>16</height>
<width>39</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>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>69</x>
<y>1</y>
<height>16</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ind_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>41</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>156</x>
<y>1</y>
<height>16</height>
<width>42</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__sord</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>200</x>
<y>1</y>
<height>16</height>
<width>72</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>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>603</x>
<y>1</y>
<height>16</height>
<width>24</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>629</x>
<y>1</y>
<height>16</height>
<width>60</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>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>691</x>
<y>1</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>discount</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>753</x>
<y>1</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>815</x>
<y>1</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tot_amt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>878</x>
<y>1</y>
<height>16</height>
<width>78</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>958</x>
<y>1</y>
<height>16</height>
<width>54</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</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>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1014</x>
<y>1</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</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>0</color>
<x>1090</x>
<y>1</y>
<height>16</height>
<width>34</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1126</x>
<y>1</y>
<height>16</height>
<width>54</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1182</x>
<y>1</y>
<height>16</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>8</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1236</x>
<y>1</y>
<height>16</height>
<width>51</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_class</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1289</x>
<y>1</y>
<height>16</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_chap</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1343</x>
<y>1</y>
<height>16</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tax_env</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>42</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1397</x>
<y>1</y>
<height>16</height>
<width>65</width>
<format>###########0.00</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__clg</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>53</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1464</x>
<y>1</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>54</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1540</x>
<y>1</y>
<height>16</height>
<width>309</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1851</x>
<y>1</y>
<height>16</height>
<width>213</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>50</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2066</x>
<y>1</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>work_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2140</x>
<y>1</y>
<height>16</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>purc_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>274</x>
<y>1</y>
<height>16</height>
<width>179</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>Times New Roman</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>56</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>455</x>
<y>1</y>
<height>16</height>
<width>84</width>
<format>#0.0000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_rate</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>541</x>
<y>1</y>
<height>16</height>
<width>60</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>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>51</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2225</x>
<y>1</y>
<height>16</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__mfg</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>55</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2310</x>
<y>1</y>
<height>16</height>
<width>59</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>operation</name>
<visible expression="0">1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>57</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2371</x>
<y>1</y>
<height>16</height>
<width>316</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spl_instr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>62</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2689</x>
<y>1</y>
<height>16</height>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>63</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2774</x>
<y>1</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>benefit_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>64</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2850</x>
<y>1</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>licence_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>69</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2950</x>
<y>1</y>
<height>16</height>
<width>171</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_metadata</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>70</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3123</x>
<y>1</y>
<height>16</height>
<width>174</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>spec_dimension</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>71</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3299</x>
<y>1</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>supp_item__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>72</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3399</x>
<y>1</y>
<height>16</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__fc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>73</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3492</x>
<y>1</y>
<height>16</height>
<width>131</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__rfc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>75</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3625</x>
<y>1</y>
<height>16</height>
<width>64</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>duty_paid</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>74</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3691</x>
<y>1</y>
<height>16</height>
<width>154</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>form_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>49</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4578</x>
<y>1</y>
<height>16</height>
<width>46</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>58</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4626</x>
<y>1</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>59</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4678</x>
<y>1</y>
<height>16</height>
<width>51</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>76</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4143</x>
<y>1</y>
<height>16</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>std_cost</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>77</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4082</x>
<y>1</y>
<height>16</height>
<width>59</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>variance</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>78</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3847</x>
<y>1</y>
<height>16</height>
<width>82</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>anal_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>79</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3931</x>
<y>1</y>
<height>16</height>
<width>149</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>analysis_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>80</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4213</x>
<y>1</y>
<height>16</height>
<width>61</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_code__ap_adv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>81</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4276</x>
<y>1</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cctr_code__ap_adv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>61</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4731</x>
<y>1</y>
<height>16</height>
<width>33</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exch_rate</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>82</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4338</x>
<y>1</y>
<height>16</height>
<width>95</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__passign</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>83</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>4435</x>
<y>1</y>
<height>16</height>
<width>141</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date__passign</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
-----------------------------------------------------------------------Start transetup -----------------------------------------------------------
INSERT INTO transetup (
tran_window ,
save_flag ,
val_flag ,
key_flag ,
key_string,
repeate_add ,
chg_date ,
chg_user ,
chg_term ,
edi_option ,
confirm_mode ,
mail_option ,
garbage_opt ,
table_name,
application,
ref_ser,
tran_id_col,
confirm_col,
confirm_val)
VALUES (
'w_porderWiz',
'2',
'2',
'A',
'seq10',
'N',
sysdate,
'base',
'base ',
'0',
'0',
'0',
'N',
'porderWiz',
'WMS',
'null',
'purc_order',
'',
'');
-----------------------------------------------------------------------Start obj_forms-----------------------------------------------------------
INSERT INTO obj_forms(
win_name ,
title ,
form_no)
VALUES (
'w_dd_porderWiz',
'Purchase Order Edit',
'1');
INSERT INTO obj_forms(
win_name ,
title ,
form_no)
VALUES (
'w_dd_porderWiz',
'Purchase Order Det',
'2');
INSERT INTO obj_forms(
win_name ,
title ,
form_no )
VALUES (
'w_porderWiz',
'Purchase Order Final',
'3');
-----------------------------------------------------------------------Start obj_actions-----------------------------------------------------------
INSERT INTO obj_actions
(obj_name,
line_no,
rights_char,
interactive,
service_code,
description,
title,
image,
form_no,
service_handler,
placement,
action_type,
tran_type,
chg_date,
chg_user,
chg_term,
is_confirmation_req,
sep_duty_opt)
VALUES (
'dd_porderWiz',
1,
'V',
'a',
'a',
'View',
'View',
'vdata~normal.gif',
'1',
NULL,
NULL,
'S',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
-----------------------------------------------------------------------Start itm2menu-----------------------------------------------------------
INSERT INTO itm2menu (
application ,
level_1 ,
level_2 ,
level_3 ,
level_4 ,
level_5 ,
win_name ,
descr ,
comments ,
menu_path ,
icon_path ,
close_icon ,
open_icon ,
obj_type ,
chg_date ,
chg_term ,
chg_user )
VALUES (
'WMS',
1,
10,
0,
0,
0,
'/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=dd_porderWiz&amp;FORM_NO=1',
'Purchase Order Wizard',
'Purchase Order Wizard',
'WMS.1.10.0.0.0',
'e12_logo.gif',
NULL,
NULL,
'NULL',
sysdate,
'base',
'base');
-----------------------------------------------------------------------Start system_event-----------------------------------------------------------
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
overwrite_core ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'porderWiz',
'default_data_wiz',
'1',
'wiz_get_itm_default_porderWiz',
NULL,
sysdate,
'BASE',
'BASE',
'2',
'0',
'EJB',
'DDPorderWizEJB',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
overwrite_core ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'porderWiz',
'post_item_change',
'1',
'poic_porderWiz',
NULL,
sysdate,
'BASE',
'BASE',
'2',
'0',
'EJB',
'DDPorderWizEJB',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
overwrite_core ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'dd_porder_wiz',
'post_save',
'1',
'pos_dd_porderWiz',
NULL,
sysdate;
'BASE',
'BASE',
'2',
'0',
'EJB',
'PurchaseOrderWizEJB',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
overwrite_core ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'porderWiz',
'pre_navigate',
'1',
'poic_porderWiz',
NULL,
sysdate,
'BASE',
'BASE',
'2',
'0',
'EJB',
'DDPorderWizEJB',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
overwrite_core ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'porderWiz',
'post_save',
'1',
'pos_porderWiz',
NULL,
sysdate,
'BASE',
'BASE',
'2',
'0',
'EJB',
'DDPorderWizPosEJB',
NULL);
INSERT INTO system_events (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
overwrite_core ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'porderWiz',
'pre_validate',
'1',
'prv_porderWiz',
NULL,
sysdate,
'BASE',
'BASE',
'2',
'0',
'EJB',
'DDPorderWizEJB',
NULL);
------------------------------------------------------------------Start 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 )
VALUES (
'wiz_get_itm_default_porderWiz',
'porderWiz',
'http://localhost:9090/axis/services/ValidatorService',
'base',
'wfValData',
'String',
'S',
NULL,
NULL,
sysdate,
'base ',
'base');
INSERT INTO system_event_services
(
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'poic_porderWiz',
'porderWiz',
'http://localhost:9090/axis/services/ValidatorService',
'base',
'itemChanged',
'String',
'S',
NULL,
NULL,
sysdate,
'base ',
'base');
INSERT INTO system_event_services
(
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'pos_dd_porderWiz',
'Post save',
'http://localhost:9090/axis/services/ValidatorService',
'base',
'postSave',
'String',
'S',
NULL,
NULL,
sysdate,
'base ',
'base');
INSERT INTO system_event_services
(
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'wiz_get_itm_default_porderWiz',
'null',
'http://localhost:9090/axis/services/ValidatorService',
'base',
'itemChanged',
'String',
'S',
NULL,
NULL,
sysdate,
'base ',
'base');
INSERT INTO system_event_services
(
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'pos_porderWiz',
'Post Save for Insert',
'http://localhost:9090/axis/services/ValidatorService',
'base',
'postSave',
'String',
'S',
NULL,
NULL,
sysdate,
'base ',
'base');
INSERT INTO system_event_services
(
service_code ,
service_descr ,
service_uri ,
service_provider ,
method_name ,
return_value ,
return_type ,
return_descr ,
return_xfrm ,
chg_date ,
chg_user ,
chg_term )
VALUES (
'prv_porderWiz',
'porderWiz',
'http://localhost:9090/axis/services/ValidatorService',
'base',
'wfValData',
'String',
'S',
NULL,
NULL,
sysdate,
'base ',
'base');
------------------------------------------------------------------Start system_service_args------------------------------------------------------
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
1,
'COMPONENT_TYPE',
'I',
'Component Type',
'S',
NULL,
sysdate,
'base',
'base',
'EJB');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
2,
'COMPONENT_NAME',
'I',
'Component Name',
'S',
NULL,
sysdate,
'base',
'base',
'DDPorderWizEJB');
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_porderWiz',
3,
'XML_DATA',
'I',
'null',
'S',
NULL,
sysdate,
'base',
'base',
'null');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
4,
'XML_DATA_1',
'I',
'null',
'S',
NULL,
sysdate,
'base',
'base',
'null');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
5,
'XML_DATA_2',
'I',
'null',
'S',
NULL,
sysdate,
'base',
'base',
'null');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
6,
'OBJ_CONTEXT',
'I',
'null',
'S',
NULL,
sysdate,
'base',
'base',
'null');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
7,
'FOCUSED_COLUMN',
'I',
'null',
'S',
NULL,
sysdate,
'base',
'base',
'null');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
8,
'EDIT_FLAG',
'I',
'null',
'S',
NULL,
sysdate,
'base',
'base',
'null');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'poic_porderWiz',
9,
'XTRA_PARAMS',
'I',
'null',
'S',
NULL,
sysdate,
'base',
'base',
'null');
----------------------------------------------------------------------------------------------------------------------------------------------
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
1,
'COMPONENT_TYPE',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
'EJB');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
2,
'COMPONENT_NAME',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
'DDPorderWizEJB');
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 (
'wiz_get_itm_default_porderWiz',
3,
'XML_DATA_ALL',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
4,
'XML_DATA_1',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
5,
'XML_DATA__ALL',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
6,
'OBJ_CONTEXT',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
7,
'FOCUSED_COLUMN',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
8,
'EDIT_FLAG',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'wiz_get_itm_default_porderWiz',
9,
'XTRA_PARAMS',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
---------------------------------------------------------------------------------------------------------------------------------------------
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'pos_porderWiz',
1,
'COMPONENT_TYPE',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
'EJB');
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'pos_porderWiz',
2,
'COMPONENT_NAME',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
'PorderWizPosEJB');
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_porderWiz',
3,
'XML_DATA_ALL',
'I',
'XML_DATA_ALL',
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'pos_porderWiz',
4,
'<tran_id>',
'I',
NULL,
'B.String',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'pos_porderWiz',
5,
'EDIT_FLAG',
'I',
'EDIT_FLAG',
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'pos_porderWiz',
6,
'XTRA_PARAMS',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'pos_porderWiz',
7,
'DB_CONN',
'I',
NULL,
'S.Connection',
NULL,
sysdate,
'base',
'base',
NULL);
---------------------------------------------------------------------------------------------------------------------------------------------
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_porderWiz',
2,
'COMPONENT_Name',
'I',
'Component Name',
'S',
NULL,
sysdate,
'base',
'base',
'DDPorderWizEJB');
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_porderWiz',
3,
'XML_DATA',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_porderWiz',
4,
'XML_DATA_1',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_porderWiz',
5,
'XML_DATA_ALL',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_porderWiz',
6,
'OBJ_CONTEXT',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_porderWiz',
7,
'EDIT_FLAG',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
INSERT INTO system_service_args
(
service_code ,
line_no ,
arg_name ,
arg_mode ,
descr ,
arg_type ,
arg_xfrm ,
chg_date ,
chg_user ,
chg_term ,
arg_value )
VALUES (
'prv_porderWiz',
8,
'XTRA_PARAMS',
'I',
NULL,
'S',
NULL,
sysdate,
'base',
'base',
NULL);
...@@ -50376,9 +50376,94 @@ CREATE UNIQUE INDEX UNQ_INDX_PACK ON PACK_HDR nvl2(OUTER_CARTON_NO,null); ...@@ -50376,9 +50376,94 @@ CREATE UNIQUE INDEX UNQ_INDX_PACK ON PACK_HDR nvl2(OUTER_CARTON_NO,null);
update obj_forms set assisted_mode ='A' where win_name = 'w_stocktransfer_multi_wiz' and form_no = 4; update obj_forms set assisted_mode ='A' where win_name = 'w_stocktransfer_multi_wiz' and form_no = 4;
-- added by Dadaso pawar on 21/01/15 [End] -- added by Dadaso pawar on 21/01/15 [End]
---Chnage by Wasim on 02/02/15 PO Wizard.start
-----------------------------------------------------------------------Start transetup -----------------------------------------------------------
INSERT INTO transetup ( tran_window , save_flag , val_flag , key_flag , key_string, repeate_add , chg_date , chg_user , chg_term , edi_option , confirm_mode , mail_option , garbage_opt , table_name, application, ref_ser, tran_id_col, confirm_col, confirm_val) VALUES ( 'w_porderWiz', '2', '2', 'A', 'seq10', 'N', sysdate, 'base', 'base ', '0', '0', '0', 'N', 'porderWiz', 'WMS', 'null', 'purc_order', '', '');
-----------------------------------------------------------------------Start obj_forms----------------------------------------------------------- INSERT INTO obj_forms( win_name , title , form_no) VALUES ( 'w_dd_porderWiz', 'Purchase Order Edit', '1');
INSERT INTO obj_forms( win_name , title , form_no) VALUES ( 'w_dd_porderWiz', 'Purchase Order Det', '2');
INSERT INTO obj_forms( win_name , title , form_no ) VALUES ( 'w_porderWiz', 'Purchase Order Final', '3'); -----------------------------------------------------------------------Start obj_actions-----------------------------------------------------------
INSERT INTO obj_actions (obj_name, line_no, rights_char, interactive, service_code, description, title, image, form_no, service_handler, placement, action_type, tran_type, chg_date, chg_user, chg_term, is_confirmation_req, sep_duty_opt) VALUES ( 'dd_porderWiz', 1, 'V', 'a', 'a', 'View', 'View', 'vdata~normal.gif', '1', NULL, NULL, 'S', NULL, NULL, NULL, NULL, NULL, NULL);
-----------------------------------------------------------------------Start itm2menu-----------------------------------------------------------
INSERT INTO itm2menu ( application , level_1 , level_2 , level_3 , level_4 , level_5 , win_name , descr , comments , menu_path , icon_path , close_icon , open_icon , obj_type , chg_date , chg_term , chg_user ) VALUES ( 'WMS', 1, 10, 0, 0, 0, '/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=dd_porderWiz&amp;FORM_NO=1', 'Purchase Order Wizard', 'Purchase Order Wizard', 'WMS.1.10.0.0.0', 'e12_logo.gif', NULL, NULL, 'NULL', sysdate, 'base', 'base');
-----------------------------------------------------------------------Start system_event-----------------------------------------------------------
INSERT INTO system_events ( obj_name , event_code , event_context , service_code , method_rule , chg_date , chg_user , chg_term , result_handle , overwrite_core , comp_type , comp_name , comm_format ) VALUES ( 'porderWiz', 'default_data_wiz', '1', 'wiz_get_itm_default_porderWiz', NULL, sysdate, 'BASE', 'BASE', '2', '0', 'EJB', 'DDPorderWizEJB', NULL);
INSERT INTO system_events ( obj_name , event_code , event_context , service_code , method_rule , chg_date , chg_user , chg_term , result_handle , overwrite_core , comp_type , comp_name , comm_format ) VALUES ( 'porderWiz', 'post_item_change', '1', 'poic_porderWiz', NULL, sysdate, 'BASE', 'BASE', '2', '0', 'EJB', 'DDPorderWizEJB', NULL);
INSERT INTO system_events ( obj_name , event_code , event_context , service_code , method_rule , chg_date , chg_user , chg_term , result_handle , overwrite_core , comp_type , comp_name , comm_format ) VALUES ( 'dd_porder_wiz', 'post_save', '1', 'pos_dd_porderWiz', NULL, sysdate; 'BASE', 'BASE', '2', '0', 'EJB', 'PurchaseOrderWizEJB', NULL);
INSERT INTO system_events ( obj_name , event_code , event_context , service_code , method_rule , chg_date , chg_user , chg_term , result_handle , overwrite_core , comp_type , comp_name , comm_format ) VALUES ( 'porderWiz', 'pre_navigate', '1', 'poic_porderWiz', NULL, sysdate, 'BASE', 'BASE', '2', '0', 'EJB', 'DDPorderWizEJB', NULL);
INSERT INTO system_events ( obj_name , event_code , event_context , service_code , method_rule , chg_date , chg_user , chg_term , result_handle , overwrite_core , comp_type , comp_name , comm_format ) VALUES ( 'porderWiz', 'post_save', '1', 'pos_porderWiz', NULL, sysdate, 'BASE', 'BASE', '2', '0', 'EJB', 'DDPorderWizPosEJB', NULL);
INSERT INTO system_events ( obj_name , event_code , event_context , service_code , method_rule , chg_date , chg_user , chg_term , result_handle , overwrite_core , comp_type , comp_name , comm_format ) VALUES ( 'porderWiz', 'pre_validate', '1', 'prv_porderWiz', NULL, sysdate, 'BASE', 'BASE', '2', '0', 'EJB', 'DDPorderWizEJB', NULL);
------------------------------------------------------------------Start 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 ) VALUES ( 'wiz_get_itm_default_porderWiz', 'porderWiz', 'http://localhost:9090/axis/services/ValidatorService', 'base', 'wfValData', 'String', 'S', NULL, NULL, sysdate, 'base ', 'base');
INSERT INTO system_event_services ( service_code , service_descr , service_uri , service_provider , method_name , return_value , return_type , return_descr , return_xfrm , chg_date , chg_user , chg_term ) VALUES ( 'poic_porderWiz', 'porderWiz', 'http://localhost:9090/axis/services/ValidatorService', 'base', 'itemChanged', 'String', 'S', NULL, NULL, sysdate, 'base ', 'base');
INSERT INTO system_event_services ( service_code , service_descr , service_uri , service_provider , method_name , return_value , return_type , return_descr , return_xfrm , chg_date , chg_user , chg_term ) VALUES ( 'pos_dd_porderWiz', 'Post save', 'http://localhost:9090/axis/services/ValidatorService', 'base', 'postSave', 'String', 'S', NULL, NULL, sysdate, 'base ', 'base');
INSERT INTO system_event_services ( service_code , service_descr , service_uri , service_provider , method_name , return_value , return_type , return_descr , return_xfrm , chg_date , chg_user , chg_term ) VALUES ( 'wiz_get_itm_default_porderWiz', 'null', 'http://localhost:9090/axis/services/ValidatorService', 'base', 'itemChanged', 'String', 'S', NULL, NULL, sysdate, 'base ', 'base');
INSERT INTO system_event_services ( service_code , service_descr , service_uri , service_provider , method_name , return_value , return_type , return_descr , return_xfrm , chg_date , chg_user , chg_term ) VALUES ( 'pos_porderWiz', 'Post Save for Insert', 'http://localhost:9090/axis/services/ValidatorService', 'base', 'postSave', 'String', 'S', NULL, NULL, sysdate, 'base ', 'base');
INSERT INTO system_event_services ( service_code , service_descr , service_uri , service_provider , method_name , return_value , return_type , return_descr , return_xfrm , chg_date , chg_user , chg_term ) VALUES ( 'prv_porderWiz', 'porderWiz', 'http://localhost:9090/axis/services/ValidatorService', 'base', 'wfValData', 'String', 'S', NULL, NULL, sysdate, 'base ', 'base');
------------------------------------------------------------------Start system_service_args------------------------------------------------------
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 1, 'COMPONENT_TYPE', 'I', 'Component Type', 'S', NULL, sysdate, 'base', 'base', 'EJB');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 2, 'COMPONENT_NAME', 'I', 'Component Name', 'S', NULL, sysdate, 'base', 'base', 'DDPorderWizEJB');
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_porderWiz', 3, 'XML_DATA', 'I', 'null', 'S', NULL, sysdate, 'base', 'base', 'null');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 4, 'XML_DATA_1', 'I', 'null', 'S', NULL, sysdate, 'base', 'base', 'null');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 5, 'XML_DATA_2', 'I', 'null', 'S', NULL, sysdate, 'base', 'base', 'null');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 6, 'OBJ_CONTEXT', 'I', 'null', 'S', NULL, sysdate, 'base', 'base', 'null');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 7, 'FOCUSED_COLUMN', 'I', 'null', 'S', NULL, sysdate, 'base', 'base', 'null');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 8, 'EDIT_FLAG', 'I', 'null', 'S', NULL, sysdate, 'base', 'base', 'null');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'poic_porderWiz', 9, 'XTRA_PARAMS', 'I', 'null', 'S', NULL, sysdate, 'base', 'base', 'null');
----------------------------------------------------------------------------------------------------------------------------------------------
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value )
VALUES ( 'wiz_get_itm_default_porderWiz', 1, 'COMPONENT_TYPE', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', 'EJB');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'wiz_get_itm_default_porderWiz', 2, 'COMPONENT_NAME', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', 'DDPorderWizEJB'); 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 ( 'wiz_get_itm_default_porderWiz', 3, 'XML_DATA_ALL', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL); INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value )
VALUES ( 'wiz_get_itm_default_porderWiz', 4, 'XML_DATA_1', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL); INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'wiz_get_itm_default_porderWiz', 5, 'XML_DATA__ALL', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL); INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'wiz_get_itm_default_porderWiz', 6, 'OBJ_CONTEXT', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL); INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value )
VALUES ( 'wiz_get_itm_default_porderWiz', 7, 'FOCUSED_COLUMN', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL); INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value )
VALUES ( 'wiz_get_itm_default_porderWiz', 8, 'EDIT_FLAG', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL); INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value )
VALUES ( 'wiz_get_itm_default_porderWiz', 9, 'XTRA_PARAMS', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
---------------------------------------------------------------------------------------------------------------------------------------------
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'pos_porderWiz', 1, 'COMPONENT_TYPE', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', 'EJB');
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'pos_porderWiz', 2, 'COMPONENT_NAME', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', 'PorderWizPosEJB');
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_porderWiz', 3, 'XML_DATA_ALL', 'I', 'XML_DATA_ALL', 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'pos_porderWiz', 4, '<tran_id>', 'I', NULL, 'B.String', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'pos_porderWiz', 5, 'EDIT_FLAG', 'I', 'EDIT_FLAG', 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'pos_porderWiz', 6, 'XTRA_PARAMS', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'pos_porderWiz', 7, 'DB_CONN', 'I', NULL, 'S.Connection', NULL, sysdate, 'base', 'base', NULL);
---------------------------------------------------------------------------------------------------------------------------------------------
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'prv_porderWiz', 2, 'COMPONENT_Name', 'I', 'Component Name', 'S', NULL, sysdate, 'base', 'base', 'DDPorderWizEJB');
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_porderWiz', 3, 'XML_DATA', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'prv_porderWiz', 4, 'XML_DATA_1', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'prv_porderWiz', 5, 'XML_DATA_ALL', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'prv_porderWiz', 6, 'OBJ_CONTEXT', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'prv_porderWiz', 7, 'EDIT_FLAG', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
INSERT INTO system_service_args ( service_code , line_no , arg_name , arg_mode , descr , arg_type , arg_xfrm , chg_date , chg_user , chg_term , arg_value ) VALUES ( 'prv_porderWiz', 8, 'XTRA_PARAMS', 'I', NULL, 'S', NULL, sysdate, 'base', 'base', NULL);
---Chnage by Wasim on 02/02/15 PO Wizard.end
$PBExportHeader$d_porder_brow.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=19 color="536870912" )
table(column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="porder.confirmed" values=" Y/ N" )
column=(type=char(10) update=yes updatewhereclause=yes key=yes name=purc_order dbname="porder.purc_order" )
column=(type=datetime update=yes updatewhereclause=yes name=ord_date dbname="porder.ord_date" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="porder.status" )
column=(type=char(3) update=yes updatewhereclause=yes name=pord_type dbname="porder.pord_type" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tot_amt dbname="porder.tot_amt" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="porder.conf_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code__ord dbname="porder.site_code__ord" )
column=(type=char(5) update=yes updatewhereclause=yes name=dept_code dbname="porder.dept_code" )
column=(type=char(5) update=yes updatewhereclause=yes name=item_ser dbname="porder.item_ser" )
column=(type=char(10) update=yes updatewhereclause=yes name=proj_code dbname="porder.proj_code" )
column=(type=char(120) updatewhereclause=yes name=project_descr dbname="project.descr" )
column=(type=char(10) update=yes updatewhereclause=yes name=supp_code dbname="porder.supp_code" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code__dlv dbname="porder.site_code__dlv" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="porder.emp_code__aprv" )
column=(type=char(5) update=yes updatewhereclause=yes name=curr_code dbname="porder.curr_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tax_amt dbname="porder.tax_amt" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ord_amt dbname="porder.ord_amt" )
column=(type=char(10) update=yes updatewhereclause=yes name=quot_no dbname="porder.quot_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code__bill dbname="porder.site_code__bill" )
column=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="porder.status_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=term_table dbname="porder.term_table" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="porder.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="porder.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="porder.chg_term" )
column=(type=char(12) update=yes updatewhereclause=yes name=ind_no dbname="porder.ind_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="porder.emp_code" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=char(40) updatewhereclause=yes name=supp_name dbname="supplier.supp_name" )
column=(type=char(5) update=yes updatewhereclause=yes name=anal_code dbname="porder.anal_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__boq dbname="porder.tran_id__boq" )
column=(type=char(30) update=yes updatewhereclause=yes name=asn_no dbname="porder.asn_no" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"porder~" ) TABLE(NAME=~"project~" ) TABLE(NAME=~"employee~" ) TABLE(NAME=~"supplier~" ) COLUMN(NAME=~"porder.confirmed~") COLUMN(NAME=~"porder.purc_order~") COLUMN(NAME=~"porder.ord_date~") COLUMN(NAME=~"porder.status~") COLUMN(NAME=~"porder.pord_type~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"porder.tot_amt~") COLUMN(NAME=~"porder.conf_date~") COLUMN(NAME=~"porder.site_code__ord~") COLUMN(NAME=~"porder.dept_code~") COLUMN(NAME=~"porder.item_ser~") COLUMN(NAME=~"porder.proj_code~") COLUMN(NAME=~"project.descr~") COLUMN(NAME=~"porder.supp_code~") COLUMN(NAME=~"porder.site_code__dlv~") COLUMN(NAME=~"porder.emp_code__aprv~") COLUMN(NAME=~"porder.curr_code~") COLUMN(NAME=~"porder.tax_amt~") COLUMN(NAME=~"porder.ord_amt~") COLUMN(NAME=~"porder.quot_no~") COLUMN(NAME=~"porder.site_code__bill~") COLUMN(NAME=~"porder.status_date~") COLUMN(NAME=~"porder.term_table~") COLUMN(NAME=~"porder.chg_date~") COLUMN(NAME=~"porder.chg_user~") COLUMN(NAME=~"porder.chg_term~") COLUMN(NAME=~"porder.ind_no~") COLUMN(NAME=~"porder.emp_code~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"supplier.supp_name~") COLUMN(NAME=~"porder.anal_code~") COLUMN(NAME=~"porder.tran_id__boq~") COLUMN(NAME=~"porder.asn_no~") JOIN (LEFT=~"porder.proj_code~" OP =~"=~"RIGHT=~"project.proj_code~" OUTER1 =~"porder.proj_code~" ) JOIN (LEFT=~"porder.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" ) JOIN (LEFT=~"porder.supp_code~" OP =~"=~"RIGHT=~"supplier.supp_code~" )WHERE( EXP1 =~"PORDER.ORD_DATE~" OP =~">=~" EXP2 =~":frdt~" LOGIC =~"And~" ) WHERE( EXP1 =~"PORDER.ORD_DATE~" OP =~"<=~" EXP2 =~":todt~" ) ) ARG(NAME = ~"frdt~" TYPE = datetime) ARG(NAME = ~"todt~" TYPE = datetime) " update="porder" updatewhere=0 updatekeyinplace=no arguments=(("frdt", datetime),("todt", datetime)) )
text(band=header alignment="2" text="" border="6" color="0" x="2" y="3" height="16" width="16" html.valueishtml="0" name=confirmed_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Purhase Order" border="6" color="0" x="20" y="3" height="16" width="76" html.valueishtml="0" name=purc_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Order Date" border="6" color="0" x="98" y="3" height="16" width="62" html.valueishtml="0" name=ord_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Status" border="6" color="0" x="162" y="3" height="16" width="53" html.valueishtml="0" name=status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Type" border="6" color="0" x="217" y="3" height="16" width="50" html.valueishtml="0" name=pord_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Emp Fname" border="6" color="0" x="269" y="3" height="16" width="88" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Total Amount" border="6" color="0" x="359" y="3" height="16" width="111" html.valueishtml="0" name=tot_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Supplier" border="6" color="0" x="472" y="3" height="16" width="168" html.valueishtml="0" name=supp_name_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Emp Lname" border="6" color="0" x="642" y="3" height="16" width="98" html.valueishtml="0" name=emp_lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Conf Date" border="6" color="0" x="742" y="3" height="16" width="101" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Ord. Site" border="6" color="0" x="845" y="3" height="16" width="83" html.valueishtml="0" name=site_code__ord_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Dept. Code" border="6" color="0" x="930" y="3" height="16" width="105" html.valueishtml="0" name=dept_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Item Ser." border="6" color="0" x="1037" y="3" height="16" width="99" html.valueishtml="0" name=item_ser_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Project Code" border="6" color="0" x="1138" y="3" height="16" width="104" html.valueishtml="0" name=proj_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Project Description" border="6" color="0" x="1244" y="3" height="16" width="147" html.valueishtml="0" name=project_descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Supp Code" border="6" color="0" x="1393" y="3" height="16" width="93" html.valueishtml="0" name=supp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Dlv. Site" border="6" color="0" x="1488" y="3" height="16" width="75" html.valueishtml="0" name=site_code__dlv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Approved By" border="6" color="0" x="1565" y="3" height="16" width="112" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Currency" border="6" color="0" x="1679" y="3" height="16" width="76" html.valueishtml="0" name=curr_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Tax Amt" border="6" color="0" x="1757" y="3" height="16" width="69" html.valueishtml="0" name=tax_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Order Amt." border="6" color="0" x="1828" y="3" height="16" width="74" html.valueishtml="0" name=ord_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Quot No" border="6" color="0" x="1904" y="3" height="16" width="90" html.valueishtml="0" name=quot_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Bill Site" border="6" color="0" x="1996" y="3" height="16" width="88" html.valueishtml="0" name=site_code__bill_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Status Date" border="6" color="0" x="2086" y="3" height="16" width="109" html.valueishtml="0" name=status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Term Table" border="6" color="0" x="2197" y="3" height="16" width="67" html.valueishtml="0" name=term_table_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg Date" border="6" color="0" x="2266" y="3" height="16" width="78" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg User" border="6" color="0" x="2346" y="3" height="16" width="91" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg Term" border="6" color="0" x="2439" y="3" height="16" width="88" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Ind No" border="6" color="0" x="2529" y="3" height="16" width="85" html.valueishtml="0" name=ind_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Purchaser" border="6" color="0" x="2616" y="3" height="16" width="89" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Anal Code" border="6" color="0" x="2707" y="3" height="16" width="89" html.valueishtml="0" name=anal_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Tran Id Boq" border="6" color="33554432" x="2798" y="1" height="16" width="82" html.valueishtml="0" name=tran_id__boq_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="0" x="2" y="2" height="16" width="16" format="[general]" html.valueishtml="0" name=confirmed tag="whether order is confirmed [Y-yes/N-no]" visible="1" checkbox.text="" checkbox.on="Y" checkbox.off="N" checkbox.scale=yes checkbox.threed=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="20" y="2" height="16" width="76" format="[general]" html.valueishtml="0" name=purc_order tag="Unique purchase order number" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="0" x="98" y="2" height="16" width="62" format="dd/mm/yyyy" html.valueishtml="0" name=ord_date tag="Purchase Order date" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=30 border="5" color="0" x="162" y="2" height="16" width="53" format="[general]" html.valueishtml="0" name=status tag="Status of purchase order O-open, C-closed, X-cancelled." visible="1" edit.limit=1 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=40 border="5" color="0" x="217" y="2" height="16" width="50" format="[general]" html.valueishtml="0" name=pord_type tag="Purchase order type L-local, I-imports, H-high seas, C-contract (loan licensee)" visible="1" edit.limit=3 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=100 border="5" color="0" x="845" y="2" height="16" width="83" format="[general]" html.valueishtml="0" name=site_code__ord tag="Site code where the PO is originating." visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=110 border="5" color="0" x="930" y="2" height="16" width="105" format="[general]" html.valueishtml="0" name=dept_code tag="Department code from where PO is placed." visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=120 border="5" color="0" x="1037" y="2" height="16" width="99" format="[general]" html.valueishtml="0" name=item_ser tag="Item series for the which the PO is placed.If other series is ~"Y~" in series master, in detail,item from other s
eries is allowed." visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="0" tabsequence=130 border="5" color="0" x="1138" y="2" height="16" width="104" format="[general]" html.valueishtml="0" name=proj_code tag="Project code, if items required for a specific project" visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=140 border="5" color="0" x="1244" y="2" height="16" width="147" format="[general]" html.valueishtml="0" name=project_descr tag="Description of the project." visible="1" edit.limit=120 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=150 border="5" color="0" x="1393" y="2" height="16" width="93" format="[general]" html.valueishtml="0" name=supp_code tag="Code of the suplier, to whom the PO is given to" visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="0" tabsequence=160 border="5" color="0" x="1488" y="2" height="16" width="75" format="[general]" html.valueishtml="0" name=site_code__dlv tag=" Site Code where the item is to be delivered" visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="0" tabsequence=170 border="5" color="0" x="1565" y="2" height="16" width="112" format="[general]" html.valueishtml="0" name=emp_code__aprv tag="Employee who approves the order" visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=17 alignment="0" tabsequence=180 border="5" color="0" x="1679" y="2" height="16" width="76" format="[general]" html.valueishtml="0" name=curr_code tag="Currency code for payment purpose." visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=18 alignment="1" tabsequence=190 border="5" color="0" x="1757" y="2" height="16" width="69" format="[general]" html.valueishtml="0" name=tax_amt tag="Tax amount .Sum of all detail" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="1" tabsequence=200 border="5" color="0" x="1828" y="2" height="16" width="74" format="[general]" html.valueishtml="0" name=ord_amt tag="Order amount ( rate * qty - discount ). Sum of all detail" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=20 alignment="0" tabsequence=210 border="5" color="0" x="1904" y="2" height="16" width="90" format="[general]" html.valueishtml="0" name=quot_no tag="Quotation number of the supplier" visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=21 alignment="0" tabsequence=220 border="5" color="0" x="1996" y="2" height="16" width="88" format="[general]" html.valueishtml="0" name=site_code__bill tag="Site code where supplier must send the bill" visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=22 alignment="0" tabsequence=230 border="5" color="0" x="2086" y="2" height="16" width="109" format="dd/mm/yyyy" html.valueishtml="0" name=status_date tag="Date when the status got changed." visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=23 alignment="0" tabsequence=240 border="5" color="0" x="2197" y="2" height="16" width="67" format="[general]" html.valueishtml="0" name=term_table visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=24 alignment="0" tabsequence=250 border="5" color="0" x="2266" y="2" height="16" width="78" format="dd/mm/yyyy" html.valueishtml="0" name=chg_date tag="Row modification date, for system purpose only." visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=25 alignment="0" tabsequence=260 border="5" color="0" x="2346" y="2" height="16" width="91" format="[general]" html.valueishtml="0" name=chg_user tag="User modifing the record, for system purpose only." visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=26 alignment="0" tabsequence=270 border="5" color="0" x="2439" y="2" height="16" width="88" format="[general]" html.valueishtml="0" name=chg_term tag="Row modifing terminal, for system purpose only" visible="1" edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=27 alignment="0" tabsequence=280 border="5" color="0" x="2529" y="2" height="16" width="85" format="[general]" html.valueishtml="0" name=ind_no visible="1" edit.limit=12 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="269" y="2" height="16" width="88" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=28 alignment="0" tabsequence=290 border="5" color="0" x="2616" y="2" height="16" width="89" format="[general]" html.valueishtml="0" name=emp_code tag="Employee who is placing the order." visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=31 alignment="0" tabsequence=300 border="5" color="0" x="2707" y="2" height="16" width="89" format="[general]" html.valueishtml="0" name=anal_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="1" tabsequence=60 border="5" color="0" x="359" y="2" height="16" width="111" format="[general]" html.valueishtml="0" name=tot_amt tag="Total amount ( order amount + tax amount ) of all the items in the PO.." visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=30 alignment="0" tabsequence=70 border="5" color="0" x="472" y="2" height="16" width="168" format="[general]" html.valueishtml="0" name=supp_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=29 alignment="0" tabsequence=80 border="5" color="0" x="642" y="2" height="16" width="98" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=90 border="5" color="0" x="742" y="2" height="16" width="101" format="dd/mm/yy hh:mm:ss" html.valueishtml="0" name=conf_date tag="Date when PO is confirmed" visible="1" edit.name="DD/MM/YY HH:MM:SS" editmask.useformat=yes editmask.mask="DD/MM/YY HH:MM:SS" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=32 alignment="0" tabsequence=310 border="5" color="0" x="2798" y="1" height="16" width="82" format="[general]" html.valueishtml="0" name=tran_id__boq visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=33 alignment="0" tabsequence=320 border="5" color="0" x="2883" y="1" height="16" width="123" html.valueishtml="0" name=asn_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Asn No" border="6" color="33554432" x="2882" y="1" height="16" width="124" html.valueishtml="0" name=asn_no_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="sdf" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_porder_brow><d_porder_brow_row __pbband=~"detail~"><confirmed>confirmed</confirmed><purc_order>purc_order</purc_order><ord_date>ord_date</ord_date><status>status</status><pord_type>pord_type</pord_type><emp_fname>emp_fname</emp_fname><tot_amt>tot_amt</tot_amt><conf_date>conf_date</conf_date><site_code__ord>site_code__ord</site_code__ord><dept_code>dept_code</dept_code><item_ser>item_ser</item_ser><proj_code>proj_code</proj_code><project_descr>project_descr</project_descr><supp_code>supp_code</supp_code><site_code__dlv>site_code__dlv</site_code__dlv><emp_code__aprv>emp_code__aprv</emp_code__aprv><curr_code>curr_code</curr_code><tax_amt>tax_amt</tax_amt><ord_amt>ord_amt</ord_amt><quot_no>quot_no</quot_no><site_code__bill>site_code__bill</site_code__bill><status_date>status_date</status_date><term_table>term_table</term_table><chg_date>chg_date</chg_date><chg_user>chg_user</chg_user><chg_term>chg_term</chg_term><ind_no>ind_no</ind_no><emp_code>emp_code</emp_code><emp_lname>emp_lname</emp_lname><supp_name>supp_name</supp_name><anal_code>anal_code</anal_code><boq_id/></d_porder_brow_row></d_porder_brow>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_porder_det_brow.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=19 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=purc_order dbname="porddet.purc_order" )
column=(type=char(3) update=yes updatewhereclause=yes key=yes name=line_no dbname="porddet.line_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="porddet.site_code" )
column=(type=char(12) update=yes updatewhereclause=yes name=ind_no dbname="porddet.ind_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="porddet.item_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity dbname="porddet.quantity" )
column=(type=char(3) update=yes updatewhereclause=yes name=unit dbname="porddet.unit" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=rate dbname="porddet.rate" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=discount dbname="porddet.discount" )
column=(type=datetime update=yes updatewhereclause=yes name=req_date dbname="porddet.req_date" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="porddet.status" )
column=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="porddet.status_date" )
column=(type=char(8) update=yes updatewhereclause=yes name=loc_code dbname="porddet.loc_code" )
column=(type=char(5) update=yes updatewhereclause=yes name=tax_class dbname="porddet.tax_class" )
column=(type=char(10) update=yes updatewhereclause=yes name=tax_chap dbname="porddet.tax_chap" )
column=(type=char(10) update=yes updatewhereclause=yes name=tax_env dbname="porddet.tax_env" )
column=(type=char(120) update=yes updatewhereclause=yes name=remarks dbname="porddet.remarks" )
column=(type=char(10) update=yes updatewhereclause=yes name=work_order dbname="porddet.work_order" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tax_amt dbname="porddet.tax_amt" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tot_amt dbname="porddet.tot_amt" )
column=(type=datetime update=yes updatewhereclause=yes name=dlv_date dbname="porddet.dlv_date" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=dlv_qty dbname="porddet.dlv_qty" )
column=(type=char(3) update=yes updatewhereclause=yes name=unit__rate dbname="porddet.unit__rate" )
column=(type=decimal(7) update=yes updatewhereclause=yes name=conv__qty_stduom dbname="porddet.conv__qty_stduom" )
column=(type=decimal(7) update=yes updatewhereclause=yes name=conv__rtuom_stduom dbname="porddet.conv__rtuom_stduom" )
column=(type=char(3) update=yes updatewhereclause=yes name=unit__std dbname="porddet.unit__std" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity__stduom dbname="porddet.quantity__stduom" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=rate__stduom dbname="porddet.rate__stduom" )
column=(type=char(5) update=yes updatewhereclause=yes name=pack_code dbname="porddet.pack_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=no_art dbname="porddet.no_art" )
column=(type=char(120) update=yes updatewhereclause=yes name=pack_instr dbname="porddet.pack_instr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__dr dbname="porddet.acct_code__dr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__dr dbname="porddet.cctr_code__dr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__cr dbname="porddet.acct_code__cr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__cr dbname="porddet.cctr_code__cr" )
column=(type=char(120) updatewhereclause=yes name=item_descr dbname="item.descr" )
column=(type=char(1) update=yes updatewhereclause=yes name=discount_type dbname="porddet.discount_type" )
column=(type=char(10) update=yes updatewhereclause=yes name=supp_code__mnfr dbname="porddet.supp_code__mnfr" )
column=(type=char(1) update=yes updatewhereclause=yes name=order_opt dbname="porddet.order_opt" )
column=(type=char(10) update=yes updatewhereclause=yes name=bom_code dbname="porddet.bom_code" )
column=(type=char(3) update=yes updatewhereclause=yes name=line_no__sord dbname="porddet.line_no__sord" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=rate__clg dbname="porddet.rate__clg" )
column=(type=char(0) updatewhereclause=yes name=contract_detail dbname="contract_detail" )
column=(type=char(40) update=yes updatewhereclause=yes name=op_reason dbname="porddet.op_reason" )
column=(type=char(10) update=yes updatewhereclause=yes name=user_id__op dbname="porddet.user_id__op" )
column=(type=char(120) update=yes updatewhereclause=yes name=specific_instr dbname="porddet.specific_instr" )
column=(type=char(120) update=yes updatewhereclause=yes name=special_instr dbname="porddet.special_instr" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__qcaprv dbname="porddet.emp_code__qcaprv" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(10) update=yes updatewhereclause=yes name=proj_code dbname="porddet.proj_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code__mfg dbname="porddet.item_code__mfg" )
column=(type=char(120) updatewhereclause=yes name=mfg_item_descr dbname="item.descr" )
column=(type=char(15) update=yes updatewhereclause=yes name=spec_ref dbname="porddet.spec_ref" )
column=(type=char(120) updatewhereclause=yes name=descr dbname="specification.descr" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=operation dbname="porddet.operation" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=std_rate dbname="porddet.std_rate" )
column=(type=char(4000) updatewhereclause=yes name=spl_instr dbname="spl_instr" )
column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=number updatewhereclause=yes name=actual_cost dbname="actual_cost" )
column=(type=decimal(6) updatewhereclause=yes name=exch_rate dbname="porder.exch_rate" )
column=(type=char(5) update=yes updatewhereclause=yes name=dept_code dbname="porddet.dept_code" )
column=(type=char(5) update=yes updatewhereclause=yes name=benefit_type dbname="porddet.benefit_type" )
column=(type=char(20) update=yes updatewhereclause=yes name=licence_no dbname="porddet.licence_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__prov_dr dbname="porddet.acct_code__prov_dr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__prov_dr dbname="porddet.cctr_code__prov_dr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__prov_cr dbname="porddet.acct_code__prov_cr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__prov_cr dbname="porddet.cctr_code__prov_cr" )
column=(type=char(250) update=yes updatewhereclause=yes name=spec_metadata dbname="porddet.spec_metadata" )
column=(type=char(250) update=yes updatewhereclause=yes name=spec_dimension dbname="porddet.spec_dimension" )
column=(type=char(20) update=yes updatewhereclause=yes name=supp_item__ref dbname="porddet.supp_item__ref" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity__fc dbname="porddet.quantity__fc" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code__rfc dbname="porddet.prd_code__rfc" )
column=(type=char(20) update=yes updatewhereclause=yes name=form_no dbname="porddet.form_no" )
column=(type=char(1) update=yes updatewhereclause=yes name=duty_paid dbname="porddet.duty_paid" values="Yes Y/No N/" )
column=(type=number updatewhereclause=yes name=std_cost dbname="std_cost" )
column=(type=number updatewhereclause=yes name=variance dbname="variance" )
column=(type=char(5) update=yes updatewhereclause=yes name=anal_code dbname="porddet.anal_code" )
column=(type=char(40) updatewhereclause=yes name=analysis_descr dbname="analysis.descr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__ap_adv dbname="porddet.acct_code__ap_adv" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__ap_adv dbname="porddet.cctr_code__ap_adv" )
column=(type=char(15) update=yes updatewhereclause=yes name=lot_no__passign dbname="porddet.lot_no__passign" )
column=(type=datetime update=yes updatewhereclause=yes name=exp_date__passign dbname="porddet.exp_date__passign" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"porddet~" ) TABLE(NAME=~"item~" ALIAS=~"item_a~" ) TABLE(NAME=~"employee~" ) TABLE(NAME=~"item~" ALIAS=~"item_b~" ) TABLE(NAME=~"specification~" ) TABLE(NAME=~"porder~" ) TABLE(NAME=~"analysis~" ) COLUMN(NAME=~"porddet.purc_order~") COLUMN(NAME=~"porddet.line_no~") COLUMN(NAME=~"porddet.site_code~") COLUMN(NAME=~"porddet.ind_no~") COLUMN(NAME=~"porddet.item_code~") COLUMN(NAME=~"porddet.quantity~") COLUMN(NAME=~"porddet.unit~") COLUMN(NAME=~"porddet.rate~") COLUMN(NAME=~"porddet.discount~") COLUMN(NAME=~"porddet.req_date~") COLUMN(NAME=~"porddet.status~") COLUMN(NAME=~"porddet.status_date~") COLUMN(NAME=~"porddet.loc_code~") COLUMN(NAME=~"porddet.tax_class~") COLUMN(NAME=~"porddet.tax_chap~") COLUMN(NAME=~"porddet.tax_env~") COLUMN(NAME=~"porddet.remarks~") COLUMN(NAME=~"porddet.work_order~") COLUMN(NAME=~"porddet.tax_amt~") COLUMN(NAME=~"porddet.tot_amt~") COLUMN(NAME=~"porddet.dlv_date~") COLUMN(NAME=~"porddet.dlv_qty~") COLUMN(NAME=~"porddet.unit__rate~") COLUMN(NAME=~"porddet.conv__qty_stduom~") COLUMN(NAME=~"porddet.conv__rtuom_stduom~") COLUMN(NAME=~"porddet.unit__std~") COLUMN(NAME=~"porddet.quantity__stduom~") COLUMN(NAME=~"porddet.rate__stduom~") COLUMN(NAME=~"porddet.pack_code~") COLUMN(NAME=~"porddet.no_art~") COLUMN(NAME=~"porddet.pack_instr~") COLUMN(NAME=~"porddet.acct_code__dr~") COLUMN(NAME=~"porddet.cctr_code__dr~") COLUMN(NAME=~"porddet.acct_code__cr~") COLUMN(NAME=~"porddet.cctr_code__cr~") COLUMN(NAME=~"item_a.descr~") COLUMN(NAME=~"porddet.discount_type~") COLUMN(NAME=~"porddet.supp_code__mnfr~") COLUMN(NAME=~"porddet.order_opt~") COLUMN(NAME=~"porddet.bom_code~") COLUMN(NAME=~"porddet.line_no__sord~") COLUMN(NAME=~"porddet.rate__clg~") COMPUTE(NAME=~"'' contract_detail~") COLUMN(NAME=~"porddet.op_reason~") COLUMN(NAME=~"porddet.user_id__op~") COLUMN(NAME=~"porddet.specific_instr~") COLUMN(NAME=~"porddet.special_instr~") COLUMN(NAME=~"porddet.emp_code__qcaprv~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"porddet.proj_code~") COLUMN(NAME=~"porddet.item_code__mfg~") COLUMN(NAME=~"item_b.descr~") COLUMN(NAME=~"porddet.spec_ref~") COLUMN(NAME=~"specification.descr~") COLUMN(NAME=~"porddet.operation~") COLUMN(NAME=~"porddet.std_rate~") COMPUTE(NAME=~"space(500) as spl_instr~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COMPUTE(NAME=~"(~~~"PORDDET~~~".~~~"TOT_AMT~~~" - fn_get_po_recoamt(~~~"PORDDET~~~".~~~"PURC_ORDER~~~" , ~~~"PORDDET~~~".~~~"LINE_NO~~~", 'R' ,'D') ) * exch_rate as actual_cost~") COLUMN(NAME=~"porder.exch_rate~") COLUMN(NAME=~"porddet.dept_code~") COLUMN(NAME=~"porddet.benefit_type~") COLUMN(NAME=~"porddet.licence_no~") COLUMN(NAME=~"porddet.acct_code__prov_dr~") COLUMN(NAME=~"porddet.cctr_code__prov_dr~") COLUMN(NAME=~"porddet.acct_code__prov_cr~") COLUMN(NAME=~"porddet.cctr_code__prov_cr~") COLUMN(NAME=~"porddet.spec_metadata~") COLUMN(NAME=~"porddet.spec_dimension~") COLUMN(NAME=~"porddet.supp_item__ref~") COLUMN(NAME=~"porddet.quantity__fc~") COLUMN(NAME=~"porddet.prd_code__rfc~") COLUMN(NAME=~"porddet.form_no~") COLUMN(NAME=~"porddet.duty_paid~") COMPUTE(NAME=~"(porddet.quantity * porddet.std_rate ) as std_cost~") COMPUTE(NAME=~"((porddet.quantity * porddet.std_rate ) - (~~~"PORDDET~~~".~~~"TOT_AMT~~~" - fn_get_po_recoamt(~~~"PORDDET~~~".~~~"PURC_ORDER~~~" , ~~~"PORDDET~~~".~~~"LINE_NO~~~", 'R' ,'D')) * exch_rate) as variance~") COLUMN(NAME=~"porddet.anal_code~") COLUMN(NAME=~"analysis.descr~") COLUMN(NAME=~"porddet.acct_code__ap_adv~") COLUMN(NAME=~"porddet.cctr_code__ap_adv~") COLUMN(NAME=~"porddet.lot_no__passign~") COLUMN(NAME=~"porddet.exp_date__passign~") JOIN (LEFT=~"porddet.emp_code__qcaprv~" OP =~"=~"RIGHT=~"employee.emp_code~" OUTER1 =~"porddet.emp_code__qcaprv~" ) JOIN (LEFT=~"porddet.item_code__mfg~" OP =~"=~"RIGHT=~"item_b.item_code~" OUTER1 =~"porddet.item_code__mfg~" ) JOIN (LEFT=~"porddet.spec_ref~" OP =~"=~"RIGHT=~"specification.spec_ref~" OUTER1 =~"porddet.spec_ref~" ) JOIN (LEFT=~"porddet.anal_code~" OP =~"=~"RIGHT=~"analysis.anal_code~" OUTER1 =~"porddet.anal_code~" ) JOIN (LEFT=~"porddet.item_code~" OP =~"=~"RIGHT=~"item_a.item_code~" ) JOIN (LEFT=~"porddet.purc_order~" OP =~"=~"RIGHT=~"porder.purc_order~" )WHERE( EXP1 =~"( ( porddet.purc_order~" OP =~"=~" EXP2 =~":po ) )~" ) ) ORDER(NAME=~"porddet.line_no~" ASC=yes ) ARG(NAME = ~"po~" TYPE = string) " update="PORDDET" updatewhere=0 updatekeyinplace=no arguments=(("po", string)) )
text(band=header alignment="2" text="Line" border="6" color="0" x="2" y="3" height="16" width="24" html.valueishtml="0" name=line_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Site" border="6" color="0" x="28" y="3" height="16" width="39" html.valueishtml="0" name=site_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Indent No" border="6" color="0" x="69" y="3" height="16" width="85" html.valueishtml="0" name=ind_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="SO Line" border="6" color="0" x="156" y="3" height="16" width="42" html.valueishtml="0" name=line_no__sord_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Item Code" border="6" color="0" x="200" y="3" height="16" width="72" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Item Code" border="6" color="0" x="274" y="3" height="16" width="179" html.valueishtml="0" name=item_descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Std. Rate " border="6" color="0" x="455" y="3" height="16" width="84" html.valueishtml="0" name=std_rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="2" text="Quantity" border="6" color="0" x="541" y="3" height="16" width="60" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Status" border="6" color="0" x="1090" y="3" height="16" width="34" html.valueishtml="0" name=status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="As on" border="6" color="0" x="1126" y="3" height="16" width="54" html.valueishtml="0" name=status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Loc Code" border="6" color="0" x="1182" y="3" height="16" width="52" html.valueishtml="0" name=loc_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Tax Class" border="6" color="0" x="1236" y="3" height="16" width="51" html.valueishtml="0" name=tax_class_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Tax Chap" border="6" color="0" x="1289" y="3" height="16" width="52" html.valueishtml="0" name=tax_chap_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Tax Env" border="6" color="0" x="1343" y="3" height="16" width="52" html.valueishtml="0" name=tax_env_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Exc Cl rt" border="6" color="0" x="1397" y="3" height="16" width="65" html.valueishtml="0" name=rate__clg_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Unit" border="6" color="0" x="603" y="3" height="16" width="24" html.valueishtml="0" name=unit_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="1" text="Rate" border="6" color="0" x="629" y="3" height="16" width="60" html.valueishtml="0" name=rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="1" text="Discount" border="6" color="0" x="691" y="3" height="16" width="60" html.valueishtml="0" name=discount_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="1" text="Tax Amt" border="6" color="0" x="753" y="3" height="16" width="60" html.valueishtml="0" name=tax_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="1" text="Tot Amt" border="6" color="0" x="815" y="3" height="16" width="61" html.valueishtml="0" name=tot_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Required Date" border="6" color="0" x="878" y="3" height="16" width="78" html.valueishtml="0" name=req_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Dlv Date" border="6" color="0" x="958" y="3" height="16" width="54" html.valueishtml="0" name=dlv_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Delivered Qty" border="6" color="0" x="1014" y="3" height="16" width="74" html.valueishtml="0" name=dlv_qty_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Spec Ref" border="6" color="0" x="1464" y="3" height="16" width="74" html.valueishtml="0" name=spec_ref_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Spec Ref Description" border="6" color="0" x="1540" y="3" height="16" width="309" html.valueishtml="0" name=descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Remarks" border="6" color="0" x="1851" y="3" height="16" width="213" html.valueishtml="0" name=remarks_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Wrk Order" border="6" color="0" x="2066" y="3" height="16" width="72" html.valueishtml="0" name=work_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Purchase Order" border="6" color="0" x="2140" y="3" height="16" width="83" html.valueishtml="0" name=purc_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="item code mfg" border="6" color="0" x="2225" y="3" height="16" width="83" html.valueishtml="0" name=item_code__mfg_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Operation" border="6" color="0" x="2310" y="3" height="16" width="59" html.valueishtml="0" name=operation_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="2" text="Special Instruction" border="6" color="0" x="2371" y="3" height="16" width="316" html.valueishtml="0" name=spl_instr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Dept Code" border="6" color="0" x="2689" y="3" height="16" width="83" html.valueishtml="0" name=dept_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Benefit Type" border="6" color="0" x="2774" y="3" height="16" width="74" html.valueishtml="0" name=benefit_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Licence No" border="6" color="0" x="2850" y="3" height="16" width="98" html.valueishtml="0" name=licence_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Spec Metadata" border="6" color="33554432" x="2950" y="3" height="16" width="171" html.valueishtml="0" name=spec_metadata_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Spec Dimension" border="6" color="33554432" x="3123" y="3" height="16" width="174" html.valueishtml="0" name=spec_dimension_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Supplier Item Ref" border="6" color="33554432" x="3299" y="3" height="16" width="98" html.valueishtml="0" name=supp_item__ref_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Forcast Quantity" border="6" color="33554432" x="3399" y="3" height="16" width="91" html.valueishtml="0" name=quantity__fc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Forcast Month" border="6" color="33554432" x="3492" y="3" height="16" width="131" html.valueishtml="0" name=prd_code__rfc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Duty Paid" border="6" color="33554432" x="3625" y="3" height="16" width="64" html.valueishtml="0" name=duty_paid_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Form No" border="6" color="33554432" x="3691" y="3" height="16" width="154" html.valueishtml="0" name=form_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Analysis Code" border="6" color="33554432" x="3847" y="3" height="16" width="82" html.valueishtml="0" name=anal_code_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Analysis Descr" border="6" color="33554432" x="3931" y="3" height="16" width="149" html.valueishtml="0" name=analysis_descr_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Emp FName" border="6" color="0" x="4578" y="3" height="16" width="46" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Emp MName" border="6" color="0" x="4626" y="3" height="16" width="50" html.valueishtml="0" name=emp_mname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Emp LName" border="6" color="0" x="4678" y="3" height="16" width="51" html.valueishtml="0" name=emp_lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=header alignment="0" text="Acct Code Ap Adv:" border="6" color="33554432" x="4213" y="3" height="16" width="61" html.valueishtml="0" name=acct_code__ap_adv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Cctr Code Ap Adv" border="6" color="33554432" x="4276" y="3" height="16" width="60" html.valueishtml="0" name=cctr_code__ap_adv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Variance" border="6" color="0" x="4082" y="3" height="16" width="59" html.valueishtml="0" name=variance_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Std Cost" border="6" color="0" x="4143" y="3" height="16" width="68" html.valueishtml="0" name=std_cost_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Exch Rate" border="6" color="0" x="4731" y="3" height="16" width="33" html.valueishtml="0" name=exch_rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Pre Assign Lot No" border="6" color="33554432" x="4338" y="3" height="16" width="95" html.valueishtml="0" name=lot_no__passign_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Pre Assign Exp Date" border="6" color="33554432" x="4435" y="3" height="16" width="141" html.valueishtml="0" name=exp_date__passign_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="1" height="16" width="24" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="28" y="1" height="16" width="39" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=upper edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="0" x="69" y="1" height="16" width="85" format="[general]" html.valueishtml="0" name=ind_no visible="1" edit.limit=10 edit.case=upper edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=41 alignment="1" tabsequence=32766 border="5" color="0" x="156" y="1" height="16" width="42" format="[general]" html.valueishtml="0" name=line_no__sord visible="1" edit.limit=3 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="0" x="200" y="1" height="16" width="72" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=upper edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="603" y="1" height="16" width="24" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=3 edit.case=upper edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="0" x="629" y="1" height="16" width="60" format="[general]" html.valueishtml="0" name=rate visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="1" tabsequence=32766 border="5" color="0" x="691" y="1" height="16" width="60" format="[general]" html.valueishtml="0" name=discount visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="1" tabsequence=32766 border="5" color="0" x="753" y="1" height="16" width="60" format="[general]" html.valueishtml="0" name=tax_amt visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=20 alignment="1" tabsequence=32766 border="5" color="0" x="815" y="1" height="16" width="61" format="[general]" html.valueishtml="0" name=tot_amt visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="0" x="878" y="1" height="16" width="78" format="[shortdate] [time]" html.valueishtml="0" name=req_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=21 alignment="0" tabsequence=32766 border="5" color="0" x="958" y="1" height="16" width="54" format="[shortdate] [time]" html.valueishtml="0" name=dlv_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="5" color="0" x="1014" y="1" height="16" width="74" format="[general]" html.valueishtml="0" name=dlv_qty visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="0" x="1090" y="1" height="16" width="34" format="[general]" html.valueishtml="0" name=status visible="1" edit.limit=1 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="0" x="1126" y="1" height="16" width="54" format="[shortdate] [time]" html.valueishtml="0" name=status_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="0" x="1182" y="1" height="16" width="52" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=8 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="0" x="1236" y="1" height="16" width="51" format="[general]" html.valueishtml="0" name=tax_class visible="1" edit.limit=5 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="0" x="1289" y="1" height="16" width="52" format="[general]" html.valueishtml="0" name=tax_chap visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="0" x="1343" y="1" height="16" width="52" format="[general]" html.valueishtml="0" name=tax_env visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=42 alignment="1" tabsequence=32766 border="5" color="0" x="1397" y="1" height="16" width="65" format="###########0.00" html.valueishtml="0" name=rate__clg visible="1" edit.limit=14 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=53 alignment="0" tabsequence=32766 border="5" color="0" x="1464" y="1" height="16" width="74" format="[general]" html.valueishtml="0" name=spec_ref visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=54 alignment="0" tabsequence=32766 border="5" color="0" x="1540" y="1" height="16" width="309" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="0" x="1851" y="1" height="16" width="213" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=50 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="0" x="2066" y="1" height="16" width="72" format="[general]" html.valueishtml="0" name=work_order visible="1" edit.limit=15 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="2140" y="1" height="16" width="83" format="[general]" html.valueishtml="0" name=purc_order visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=36 alignment="0" tabsequence=32766 border="5" color="0" x="274" y="1" height="16" width="179" format="[general]" html.valueishtml="0" name=item_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=56 alignment="1" tabsequence=32766 border="5" color="0" x="455" y="1" height="16" width="84" format="#0.0000" html.valueishtml="0" name=std_rate visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="1" tabsequence=32766 border="5" color="0" x="541" y="1" height="16" width="60" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=51 alignment="0" tabsequence=32766 border="5" color="0" x="2225" y="1" height="16" width="83" format="[general]" html.valueishtml="0" name=item_code__mfg visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=55 alignment="0" tabsequence=32766 border="5" color="0" x="2310" y="1" height="16" width="59" format="[general]" html.valueishtml="0" name=operation visible="1~t0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=57 alignment="0" tabsequence=32766 border="5" color="0" x="2371" y="1" height="16" width="316" format="[general]" html.valueishtml="0" name=spl_instr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=62 alignment="0" tabsequence=32766 border="5" color="0" x="2689" y="1" height="16" width="83" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=63 alignment="0" tabsequence=32766 border="5" color="0" x="2774" y="1" height="16" width="74" format="[general]" html.valueishtml="0" name=benefit_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=64 alignment="0" tabsequence=32766 border="5" color="0" x="2850" y="1" height="16" width="98" format="[general]" html.valueishtml="0" name=licence_no visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=69 alignment="0" tabsequence=32766 border="5" color="0" x="2950" y="1" height="16" width="171" format="[general]" html.valueishtml="0" name=spec_metadata visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=70 alignment="0" tabsequence=32766 border="5" color="0" x="3123" y="1" height="16" width="174" format="[general]" html.valueishtml="0" name=spec_dimension visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=71 alignment="0" tabsequence=32766 border="5" color="0" x="3299" y="1" height="16" width="98" format="[general]" html.valueishtml="0" name=supp_item__ref visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=72 alignment="0" tabsequence=32766 border="5" color="0" x="3399" y="1" height="16" width="91" format="[general]" html.valueishtml="0" name=quantity__fc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=73 alignment="0" tabsequence=32766 border="5" color="0" x="3492" y="1" height="16" width="131" format="[general]" html.valueishtml="0" name=prd_code__rfc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=75 alignment="0" tabsequence=32766 border="5" color="0" x="3625" y="1" height="16" width="64" format="[general]" html.valueishtml="0" name=duty_paid visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=74 alignment="0" tabsequence=32766 border="5" color="0" x="3691" y="1" height="16" width="154" format="[general]" html.valueishtml="0" name=form_no visible="1" edit.limit=20 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=49 alignment="0" tabsequence=32766 border="5" color="0" x="4578" y="1" height="16" width="46" format="[general]" html.valueishtml="0" name=emp_fname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=58 alignment="0" tabsequence=32766 border="5" color="0" x="4626" y="1" height="16" width="50" format="[general]" html.valueishtml="0" name=emp_mname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=59 alignment="0" tabsequence=32766 border="5" color="0" x="4678" y="1" height="16" width="51" format="[general]" html.valueishtml="0" name=emp_lname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=76 alignment="0" tabsequence=32766 border="5" color="0" x="4143" y="1" height="16" width="68" format="[general]" html.valueishtml="0" name=std_cost visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=77 alignment="0" tabsequence=32766 border="5" color="0" x="4082" y="1" height="16" width="59" format="[general]" html.valueishtml="0" name=variance visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=78 alignment="0" tabsequence=32766 border="5" color="0" x="3847" y="1" height="16" width="82" format="[general]" html.valueishtml="0" name=anal_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=79 alignment="0" tabsequence=32766 border="5" color="0" x="3931" y="1" height="16" width="149" format="[general]" html.valueishtml="0" name=analysis_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=80 alignment="0" tabsequence=32766 border="5" color="0" x="4213" y="1" height="16" width="61" format="[general]" html.valueishtml="0" name=acct_code__ap_adv visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=81 alignment="0" tabsequence=32766 border="5" color="0" x="4276" y="1" height="16" width="60" format="[general]" html.valueishtml="0" name=cctr_code__ap_adv visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=61 alignment="0" tabsequence=32766 border="5" color="0" x="4731" y="1" height="16" width="33" format="[general]" html.valueishtml="0" name=exch_rate visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=82 alignment="0" tabsequence=32766 border="5" color="0" x="4338" y="1" height="16" width="95" format="[general]" html.valueishtml="0" name=lot_no__passign visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=83 alignment="0" tabsequence=32766 border="5" color="0" x="4435" y="1" height="16" width="141" format="[shortdate] [time]" html.valueishtml="0" name=exp_date__passign visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_porder_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=1308 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=purc_order dbname="porder.purc_order" )
column=(type=datetime update=yes updatewhereclause=yes name=ord_date dbname="porder.ord_date" initial="today" )
column=(type=char(3) update=yes updatewhereclause=yes name=pord_type dbname="porder.pord_type" )
column=(type=char(10) update=yes updatewhereclause=yes name=supp_code dbname="porder.supp_code" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code__dlv dbname="porder.site_code__dlv" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code__ord dbname="porder.site_code__ord" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="porder.status" values="Open O/Closed C/Cancelled X/Released R/Submit S/" )
column=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="porder.status_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=dept_code dbname="porder.dept_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="porder.emp_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=order_db dbname="porder.order_db" )
column=(type=char(5) update=yes updatewhereclause=yes name=item_ser dbname="porder.item_ser" )
column=(type=char(1) update=yes updatewhereclause=yes name=tax_opt dbname="porder.tax_opt" initial="L" values="Line L/Trailor T/Both B/" )
column=(type=char(10) update=yes updatewhereclause=yes name=amd_no dbname="porder.amd_no" )
column=(type=datetime update=yes updatewhereclause=yes name=amd_date dbname="porder.amd_date" )
column=(type=char(5) update=yes updatewhereclause=yes name=cr_term dbname="porder.cr_term" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ord_amt dbname="porder.ord_amt" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tax_amt dbname="porder.tax_amt" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tot_amt dbname="porder.tot_amt" initial="0" )
column=(type=char(5) update=yes updatewhereclause=yes name=curr_code dbname="porder.curr_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=tax_chap dbname="porder.tax_chap" )
column=(type=char(5) update=yes updatewhereclause=yes name=tax_class dbname="porder.tax_class" )
column=(type=char(10) update=yes updatewhereclause=yes name=tax_env dbname="porder.tax_env" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="porder.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="porder.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="porder.chg_term" )
column=(type=char(5) updatewhereclause=yes name=site_stan_code dbname="site.stan_code" )
column=(type=char(50) updatewhereclause=yes name=supp_name dbname="supplier.supp_name" )
column=(type=char(50) updatewhereclause=yes name=supplier_addr1 dbname="supplier.addr1" )
column=(type=char(50) updatewhereclause=yes name=supplier_addr2 dbname="supplier.addr2" )
column=(type=char(20) updatewhereclause=yes name=supplier_city dbname="supplier.city" )
column=(type=char(40) updatewhereclause=yes name=department_descr dbname="department.descr" )
column=(type=datetime update=yes updatewhereclause=yes name=tax_date dbname="porder.tax_date" )
column=(type=char(40) updatewhereclause=yes name=crterm_descr dbname="crterm.descr" )
column=(type=char(10) update=yes updatewhereclause=yes name=proj_code dbname="porder.proj_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=sales_pers dbname="porder.sales_pers" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=comm_perc dbname="porder.comm_perc" initial="0" )
column=(type=char(1) update=yes updatewhereclause=yes name=comm_perc__on dbname="porder.comm_perc__on" values="Quantity Q/Amount A/" )
column=(type=char(5) update=yes updatewhereclause=yes name=curr_code__comm dbname="porder.curr_code__comm" )
column=(type=char(25) update=yes updatewhereclause=yes name=udf_str__1 dbname="porder.udf_str__1" )
column=(type=char(10) update=yes updatewhereclause=yes name=quot_no dbname="porder.quot_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code__bill dbname="porder.site_code__bill" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="porder.confirmed" initial="N" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="porder.conf_date" initial="today" )
column=(type=char(300) update=yes updatewhereclause=yes name=remarks dbname="porder.remarks" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_code dbname="porder.tran_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=frt_amt dbname="porder.frt_amt" initial="0" validation="real(gettext()) >= 0" validationmsg="~"Amount cannot be negative.~"" )
column=(type=char(5) update=yes updatewhereclause=yes name=curr_code__frt dbname="porder.curr_code__frt" )
column=(type=char(1) update=yes updatewhereclause=yes name=frt_term dbname="porder.frt_term" initial="B" )
column=(type=char(5) update=yes updatewhereclause=yes name=dlv_term dbname="porder.dlv_term" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=insurance_amt dbname="porder.insurance_amt" initial="0" validation="real(gettext()) >= 0" validationmsg="~"Amount cannot be negative.~"" )
column=(type=char(5) update=yes updatewhereclause=yes name=curr_code__ins dbname="porder.curr_code__ins" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="porder.emp_code__aprv" )
column=(type=datetime update=yes updatewhereclause=yes name=ref_date dbname="porder.ref_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=contract_no dbname="porder.contract_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=bom_code dbname="porder.bom_code" )
column=(type=char(5) update=yes updatewhereclause=yes name=price_list dbname="porder.price_list" )
column=(type=datetime update=yes updatewhereclause=yes name=pl_date dbname="porder.pl_date" initial="today" )
column=(type=decimal(6) update=yes updatewhereclause=yes name=exch_rate dbname="porder.exch_rate" initial="0" )
column=(type=char(40) updatewhereclause=yes name=tran_name dbname="transporter.tran_name" )
column=(type=char(20) updatewhereclause=yes name=delivery_term_descr dbname="delivery_term.descr" )
column=(type=char(10) update=yes updatewhereclause=yes name=sale_order dbname="porder.sale_order" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=adv_perc dbname="porder.adv_perc" )
column=(type=char(5) update=yes updatewhereclause=yes name=term_table dbname="porder.term_table" )
column=(type=char(1) update=yes updatewhereclause=yes name=adv_type dbname="porder.adv_type" values="%age P/Fixed F/% of base B/" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=advance dbname="porder.advance" )
column=(type=char(12) update=yes updatewhereclause=yes name=ind_no dbname="porder.ind_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=provi_tran_id dbname="porder.provi_tran_id" )
column=(type=char(1) update=yes updatewhereclause=yes name=trans_mode dbname="porder.trans_mode" initial="R" )
column=(type=char(1) update=yes updatewhereclause=yes name=frt_type dbname="porder.frt_type" values="Fixed F/By Quantity Q/" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=frt_rate dbname="porder.frt_rate" )
column=(type=char(20) update=yes updatewhereclause=yes name=tax_ref dbname="porder.tax_ref" )
column=(type=datetime update=yes updatewhereclause=yes name=tax_ref_date dbname="porder.tax_ref_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=cust_code__end dbname="porder.cust_code__end" )
column=(type=char(10) update=yes updatewhereclause=yes name=sale_order__end dbname="porder.sale_order__end" )
column=(type=char(50) updatewhereclause=yes name=customer_cust_name dbname="customer.cust_name" )
column=(type=char(1) update=yes updatewhereclause=yes name=accept_criteria dbname="porder.accept_criteria" initial="P" values="Pay on Approval P/Pay on External Approval E/Can be Paid on Needful N/" )
column=(type=decimal(3) updatewhereclause=yes name=vouch_adv_amt dbname="porder.vouch_adv_amt" )
column=(type=char(20) update=yes updatewhereclause=yes name=supp_quot_ref dbname="porder.supp_quot_ref" )
column=(type=char(40) update=yes updatewhereclause=yes name=site_add1 dbname="porder.site_add1" )
column=(type=char(40) update=yes updatewhereclause=yes name=site_add2 dbname="porder.site_add2" )
column=(type=char(20) update=yes updatewhereclause=yes name=city__site dbname="porder.city__site" )
column=(type=char(5) updatewhereclause=yes name=station_stan_code dbname="station.stan_code" )
column=(type=char(60) update=yes updatewhereclause=yes name=site_descr dbname="porder.site_descr" )
column=(type=char(25) update=yes updatewhereclause=yes name=udf_str__2 dbname="porder.udf_str__2" )
column=(type=char(5) update=yes updatewhereclause=yes name=dist_route dbname="porder.dist_route" )
column=(type=decimal(6) update=yes updatewhereclause=yes name=exch_rate__sp dbname="porder.exch_rate__sp" )
column=(type=number updatewhereclause=yes name=std_cost dbname="std_cost" )
column=(type=number updatewhereclause=yes name=actual_cost dbname="actual_cost" )
column=(type=char(1) update=yes updatewhereclause=yes name=ins_term dbname="porder.ins_term" values="Not Applicable N/Borne By Co. C/" )
column=(type=char(35) update=yes updatewhereclause=yes name=policy_no dbname="porder.policy_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=price_list__clg dbname="porder.price_list__clg" )
column=(type=char(10) update=yes updatewhereclause=yes name=bank_code__pay dbname="porder.bank_code__pay" )
column=(type=char(4000) updatewhereclause=yes name=bank_acct_no__ben dbname="bank_acct_no__ben" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=frt_amt__fixed dbname="porder.frt_amt__fixed" initial="0" validation="real(gettext()) >= 0" validationmsg="~"Amount cannot be negative.~"" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=frt_amt__qty dbname="porder.frt_amt__qty" initial="0" )
column=(type=char(5) update=yes updatewhereclause=yes name=anal_code dbname="porder.anal_code" )
column=(type=char(250) update=yes updatewhereclause=yes name=status_reason dbname="porder.status_reason" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__boq dbname="porder.tran_id__boq" )
column=(type=char(30) update=yes updatewhereclause=yes name=asn_no dbname="porder.asn_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=loc_group__jwiss dbname="porder.loc_group__jwiss" )
column=(type=char(10) update=yes updatewhereclause=yes name=task_code dbname="porder.task_code" )
column=(type=char(10) updatewhereclause=yes name=task_desc dbname="proj_est_milestone.task_desc" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"porder~" ) TABLE(NAME=~"crterm~" ) TABLE(NAME=~"department~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"supplier~" ) TABLE(NAME=~"transporter~" ) TABLE(NAME=~"delivery_term~" ) TABLE(NAME=~"customer~" ) TABLE(NAME=~"station~" ) TABLE(NAME=~"proj_est_milestone~" ) COLUMN(NAME=~"porder.purc_order~") COLUMN(NAME=~"porder.ord_date~") COLUMN(NAME=~"porder.pord_type~") COLUMN(NAME=~"porder.supp_code~") COLUMN(NAME=~"porder.site_code__dlv~") COLUMN(NAME=~"porder.site_code__ord~") COLUMN(NAME=~"porder.status~") COLUMN(NAME=~"porder.status_date~") COLUMN(NAME=~"porder.dept_code~") COLUMN(NAME=~"porder.emp_code~") COLUMN(NAME=~"porder.order_db~") COLUMN(NAME=~"porder.item_ser~") COLUMN(NAME=~"porder.tax_opt~") COLUMN(NAME=~"porder.amd_no~") COLUMN(NAME=~"porder.amd_date~") COLUMN(NAME=~"porder.cr_term~") COLUMN(NAME=~"porder.ord_amt~") COLUMN(NAME=~"porder.tax_amt~") COLUMN(NAME=~"porder.tot_amt~") COLUMN(NAME=~"porder.curr_code~") COLUMN(NAME=~"porder.tax_chap~") COLUMN(NAME=~"porder.tax_class~") COLUMN(NAME=~"porder.tax_env~") COLUMN(NAME=~"porder.chg_date~") COLUMN(NAME=~"porder.chg_user~") COLUMN(NAME=~"porder.chg_term~") COLUMN(NAME=~"site.stan_code~") COLUMN(NAME=~"supplier.supp_name~") COLUMN(NAME=~"supplier.addr1~") COLUMN(NAME=~"supplier.addr2~") COLUMN(NAME=~"supplier.city~") COLUMN(NAME=~"department.descr~") COLUMN(NAME=~"porder.tax_date~") COLUMN(NAME=~"crterm.descr~") COLUMN(NAME=~"porder.proj_code~") COLUMN(NAME=~"porder.sales_pers~") COLUMN(NAME=~"porder.comm_perc~") COLUMN(NAME=~"porder.comm_perc__on~") COLUMN(NAME=~"porder.curr_code__comm~") COLUMN(NAME=~"porder.udf_str__1~") COLUMN(NAME=~"porder.quot_no~") COLUMN(NAME=~"porder.site_code__bill~") COLUMN(NAME=~"porder.confirmed~") COLUMN(NAME=~"porder.conf_date~") COLUMN(NAME=~"porder.remarks~") COLUMN(NAME=~"porder.tran_code~") COLUMN(NAME=~"porder.frt_amt~") COLUMN(NAME=~"porder.curr_code__frt~") COLUMN(NAME=~"porder.frt_term~") COLUMN(NAME=~"porder.dlv_term~") COLUMN(NAME=~"porder.insurance_amt~") COLUMN(NAME=~"porder.curr_code__ins~") COLUMN(NAME=~"porder.emp_code__aprv~") COLUMN(NAME=~"porder.ref_date~") COLUMN(NAME=~"porder.contract_no~") COLUMN(NAME=~"porder.bom_code~") COLUMN(NAME=~"porder.price_list~") COLUMN(NAME=~"porder.pl_date~") COLUMN(NAME=~"porder.exch_rate~") COLUMN(NAME=~"transporter.tran_name~") COLUMN(NAME=~"delivery_term.descr~") COLUMN(NAME=~"porder.sale_order~") COLUMN(NAME=~"porder.adv_perc~") COLUMN(NAME=~"porder.term_table~") COLUMN(NAME=~"porder.adv_type~") COLUMN(NAME=~"porder.advance~") COLUMN(NAME=~"porder.ind_no~") COLUMN(NAME=~"porder.provi_tran_id~") COLUMN(NAME=~"porder.trans_mode~") COLUMN(NAME=~"porder.frt_type~") COLUMN(NAME=~"porder.frt_rate~") COLUMN(NAME=~"porder.tax_ref~") COLUMN(NAME=~"porder.tax_ref_date~") COLUMN(NAME=~"porder.cust_code__end~") COLUMN(NAME=~"porder.sale_order__end~") COLUMN(NAME=~"customer.cust_name~") COLUMN(NAME=~"porder.accept_criteria~") COLUMN(NAME=~"porder.vouch_adv_amt~") COLUMN(NAME=~"porder.supp_quot_ref~") COLUMN(NAME=~"porder.site_add1~") COLUMN(NAME=~"porder.site_add2~") COLUMN(NAME=~"porder.city__site~") COLUMN(NAME=~"station.stan_code~") COLUMN(NAME=~"porder.site_descr~") COLUMN(NAME=~"porder.udf_str__2~") COLUMN(NAME=~"porder.dist_route~") COLUMN(NAME=~"porder.exch_rate__sp~") COMPUTE(NAME=~"fn_get_po_recoamt(PORDER.PURC_ORDER , '0', 'P' ,'H') as std_cost~") COMPUTE(NAME=~"(PORDER.TOT_AMT - fn_get_po_recoamt(PORDER.PURC_ORDER , '0', 'R' ,'H') ) * exch_rate as actual_cost~") COLUMN(NAME=~"porder.ins_term~") COLUMN(NAME=~"porder.policy_no~") COLUMN(NAME=~"porder.price_list__clg~") COLUMN(NAME=~"porder.bank_code__pay~") COMPUTE(NAME=~"fn_get_suppbnkac(porder.supp_code,porder.bank_code__pay)as bank_acct_no__ben~") COLUMN(NAME=~"porder.frt_amt__fixed~") COLUMN(NAME=~"porder.frt_amt__qty~") COLUMN(NAME=~"porder.anal_code~") COLUMN(NAME=~"porder.status_reason~") COLUMN(NAME=~"porder.tran_id__boq~") COLUMN(NAME=~"porder.asn_no~") COLUMN(NAME=~"porder.loc_group__jwiss~") COLUMN(NAME=~"porder.task_code~") COLUMN(NAME=~"proj_est_milestone.task_desc~") JOIN (LEFT=~"porder.cr_term~" OP =~"=~"RIGHT=~"crterm.cr_term~" OUTER1 =~"porder.cr_term~" ) JOIN (LEFT=~"porder.dept_code~" OP =~"=~"RIGHT=~"department.dept_code~" OUTER1 =~"porder.dept_code~" ) JOIN (LEFT=~"porder.tran_code~" OP =~"=~"RIGHT=~"transporter.tran_code~" OUTER1 =~"porder.tran_code~" ) JOIN (LEFT=~"porder.dlv_term~" OP =~"=~"RIGHT=~"delivery_term.dlv_term~" OUTER1 =~"porder.dlv_term~" ) JOIN (LEFT=~"porder.cust_code__end~" OP =~"=~"RIGHT=~"customer.cust_code~" OUTER1 =~"porder.cust_code__end~" ) JOIN (LEFT=~"site.stan_code~" OP =~"=~"RIGHT=~"station.stan_code~" OUTER1 =~"site.stan_code~" ) JOIN (LEFT=~"porder.task_code~" OP =~"=~"RIGHT=~"proj_est_milestone.task_code~" OUTER1 =~"porder.task_code~" ) JOIN (LEFT=~"porder.site_code__dlv~" OP =~"=~"RIGHT=~"site.site_code~" ) JOIN (LEFT=~"porder.supp_code~" OP =~"=~"RIGHT=~"supplier.supp_code~" )WHERE( EXP1 =~"porder.purc_order~" OP =~"=~" EXP2 =~":po~" ) ) ARG(NAME = ~"po~" TYPE = string) " update="porder" updatewhere=0 updatekeyinplace=no arguments=(("po", string)) )
groupbox(band=detail text="Purchase Channel"border="5" color="0" x="5" y="858" height="89" width="715" name=gb_7 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Others"border="5" color="0" x="5" y="950" height="354" width="715" name=gb_8 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Shipment"border="5" color="0" x="4" y="427" height="86" width="715" name=gb_6 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Delivery"border="5" color="0" x="5" y="276" height="151" width="715" name=gb_4 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Basic"border="5" color="0" x="3" y="4" height="272" width="715" name=gb_3 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Commercial"border="5" color="0" x="5" y="513" height="341" width="715" name=gb_5 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Purchase Order :" border="0" color="33554432" x="8" y="23" height="16" width="180" html.valueishtml="0" name=purc_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Indent No. :" border="0" color="33554432" x="8" y="46" height="16" width="180" html.valueishtml="0" name=ind_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Item Series :" border="0" color="33554432" x="8" y="69" height="17" width="180" html.valueishtml="0" name=item_ser_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Supplier :" border="0" color="33554432" x="8" y="93" height="16" width="180" html.valueishtml="0" name=supp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Address :" border="0" color="33554432" x="8" y="116" height="16" width="180" html.valueishtml="0" name=supplier_addr1_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="City :" border="0" color="33554432" x="8" y="162" height="16" width="180" html.valueishtml="0" name=supplier_city_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Credit Term :" border="0" color="33554432" x="8" y="185" height="16" width="180" html.valueishtml="0" name=cr_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Remarks :" border="0" color="33554432" x="9" y="208" height="16" width="180" html.valueishtml="0" name=remarks_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Status :" border="0" color="33554432" x="8" y="231" height="16" width="180" html.valueishtml="0" name=status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Confirmed :" border="0" color="33554432" x="8" y="254" height="16" width="180" html.valueishtml="0" name=confirmed_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="193" y="24" height="17" width="106" format="[general]" html.valueishtml="0" name=purc_order visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=67 alignment="0" tabsequence=30 border="5" color="0" x="193" y="46" height="16" width="106" format="[general]" html.valueishtml="0" name=ind_no visible="1" edit.limit=12 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=12 alignment="0" tabsequence=50 border="5" color="0" x="193" y="69" height="17" width="57" format="[general]" html.valueishtml="0" name=item_ser visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=4 alignment="0" tabsequence=70 border="5" color="0" x="193" y="93" height="16" width="106" format="[general]" html.valueishtml="0" name=supp_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=31 alignment="0" tabsequence=32766 border="5" color="255" x="193" y="162" height="17" width="138" format="[general]" html.valueishtml="0" name=supplier_city visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=16 alignment="0" tabsequence=80 border="5" color="0" x="193" y="185" height="16" width="57" format="[general]" html.valueishtml="0" name=cr_term visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=7 alignment="0" tabsequence=100 border="5" color="0" x="194" y="230" height="16" width="87" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=44 alignment="0" tabsequence=32766 border="5" color="255" x="266" y="254" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=43 alignment="0" tabsequence=32766 border="5" color="255" x="192" y="253" height="16" width="67" format="[general]" html.valueishtml="0" name=confirmed visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="0" x="579" y="23" height="17" width="128" format="[general]" html.valueishtml="0" name=pord_type visible="1" edit.limit=3 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Type :" border="0" color="33554432" x="486" y="23" height="17" width="87" html.valueishtml="0" name=pord_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Quotation No :" border="0" color="33554432" x="386" y="46" height="16" width="209" html.valueishtml="0" name=quot_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=41 alignment="0" tabsequence=40 border="5" color="0" x="601" y="46" height="16" width="106" format="[general]" html.valueishtml="0" name=quot_no visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Order Date :" border="0" color="33554432" x="306" y="23" height="17" width="107" html.valueishtml="0" name=ord_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="416" y="23" height="17" width="67" format="dd/mm/yy" html.valueishtml="0" name=ord_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="5" color="255" x="302" y="93" height="16" width="406" format="[general]" html.valueishtml="0" name=supp_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=29 alignment="0" tabsequence=32766 border="5" color="255" x="193" y="116" height="16" width="515" format="[general]" html.valueishtml="0" name=supplier_addr1 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=30 alignment="0" tabsequence=32766 border="5" color="255" x="193" y="139" height="16" width="515" format="[general]" html.valueishtml="0" name=supplier_addr2 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=34 alignment="0" tabsequence=32766 border="5" color="255" x="253" y="185" height="16" width="455" format="[general]" html.valueishtml="0" name=crterm_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=45 alignment="0" tabsequence=90 border="5" color="0" x="193" y="208" height="16" width="515" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=300 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Status as on :" border="0" color="33554432" x="489" y="231" height="16" width="147" html.valueishtml="0" name=status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Approved by :" border="0" color="33554432" x="491" y="254" height="16" width="105" html.valueishtml="0" name=emp_code__aprv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=53 alignment="0" tabsequence=32766 border="5" color="255" x="602" y="254" height="16" width="106" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="641" y="231" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=status_date visible="1" edit.name="" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=110 border="5" color="0" x="193" y="293" height="16" width="57" format="[general]" html.valueishtml="0" name=site_code__dlv visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=82 alignment="0" tabsequence=150 border="5" color="0" x="193" y="362" height="16" width="173" format="[general]" html.valueishtml="0" name=city__site visible="1" edit.limit=20 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=50 alignment="0" tabsequence=160 border="5" color="0" x="193" y="385" height="16" width="57" format="[general]" html.valueishtml="0" name=dlv_term visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=91 alignment="0" tabsequence=170 border="5" color="0" x="192" y="407" height="16" width="175" format="[general]" html.valueishtml="0" name=policy_no visible="1" edit.limit=35 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=84 alignment="0" tabsequence=120 border="5" color="0" x="253" y="293" height="16" width="455" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=60 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=80 alignment="0" tabsequence=130 border="5" color="0" x="193" y="316" height="16" width="515" format="[general]" html.valueishtml="0" name=site_add1 visible="1" edit.limit=40 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=81 alignment="0" tabsequence=140 border="5" color="0" x="193" y="339" height="16" width="515" format="[general]" html.valueishtml="0" name=site_add2 visible="1" edit.limit=40 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=61 alignment="0" tabsequence=32766 border="5" color="255" x="253" y="385" height="16" width="455" format="[general]" html.valueishtml="0" name=delivery_term_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Deliver At :" border="0" color="33554432" x="8" y="293" height="16" width="180" html.valueishtml="0" name=site_code__dlv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Address :" border="0" color="33554432" x="8" y="316" height="16" width="180" html.valueishtml="0" name=site_add1_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="City :" border="0" color="33554432" x="8" y="362" height="16" width="180" html.valueishtml="0" name=city__site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Dlv Term :" border="0" color="33554432" x="8" y="385" height="16" width="180" html.valueishtml="0" name=dlv_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Ins Policy No.:" border="0" color="0" x="8" y="407" height="16" width="180" html.valueishtml="0" name=policy_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=69 alignment="0" tabsequence=190 border="5" color="0" x="583" y="446" height="16" width="125" format="[general]" html.valueishtml="0" name=trans_mode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=49 alignment="0" tabsequence=210 border="5" color="0" x="592" y="469" height="16" width="116" format="[general]" html.valueishtml="0" name=frt_term visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Freight Term :" border="0" color="33554432" x="397" y="469" height="16" width="189" html.valueishtml="0" name=frt_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Mode :" border="0" color="0" x="443" y="446" height="16" width="134" html.valueishtml="0" name=trans_mode_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=86 alignment="0" tabsequence=220 border="5" color="0" x="192" y="492" height="16" width="57" format="[general]" html.valueishtml="0" name=dist_route visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=70 alignment="0" tabsequence=200 border="5" color="0" x="192" y="469" height="16" width="93" format="[general]" html.valueishtml="0" name=frt_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=46 alignment="0" tabsequence=180 border="5" color="0" x="192" y="447" height="16" width="106" format="[general]" html.valueishtml="0" name=tran_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=60 alignment="0" tabsequence=32766 border="5" color="255" x="301" y="447" height="16" width="115" format="[general]" html.valueishtml="0" name=tran_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Transporter :" border="0" color="33554432" x="8" y="446" height="16" width="180" html.valueishtml="0" name=tran_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Freight Type :" border="0" color="33554432" x="8" y="469" height="16" width="180" html.valueishtml="0" name=frt_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Distribution Route :" border="0" color="33554432" x="7" y="492" height="16" width="180" html.valueishtml="0" name=dist_route_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Exchange Rate :" border="0" color="33554432" x="454" y="553" height="16" width="169" html.valueishtml="0" name=exc_rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Order Amount :" border="0" color="33554432" x="454" y="599" height="16" width="128" html.valueishtml="0" name=ord_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Total Amount :" border="0" color="33554432" x="452" y="622" height="16" width="130" html.valueishtml="0" name=tot_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Environment :" border="0" color="33554432" x="455" y="576" height="16" width="141" html.valueishtml="0" name=tax_env_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Excise clg price list:" border="0" color="33554432" x="455" y="530" height="16" width="189" html.valueishtml="0" name=price_list__clg_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=23 alignment="0" tabsequence=300 border="5" color="0" x="601" y="576" height="16" width="106" format="[general]" html.valueishtml="0" name=tax_env visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=17 alignment="1" tabsequence=32766 border="5" color="255" x="587" y="599" height="16" width="120" format="[general]" html.valueishtml="0" name=ord_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=19 alignment="1" tabsequence=32766 border="5" color="255" x="587" y="622" height="16" width="120" format="[general]" html.valueishtml="0" name=tot_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=59 alignment="1" tabsequence=270 border="5" color="0" x="628" y="553" height="16" width="79" format="#######0.000000" html.valueishtml="0" name=exch_rate visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=92 alignment="0" tabsequence=250 border="5" color="0" x="648" y="530" height="16" width="57" format="[General]" html.valueishtml="0" name=price_list__clg visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="134217737" )
text(band=detail alignment="1" text="Freight Rate:" border="0" color="33554432" x="477" y="668" height="16" width="105" html.valueishtml="0" name=frt_rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Freight Amt-Qty Based:" border="0" color="33554432" x="456" y="692" height="16" width="127" html.valueishtml="0" name=frt_amt__qty_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Freight Varience (%) :" border="0" color="33554432" x="454" y="715" height="16" width="128" html.valueishtml="0" name=compute_2_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=71 alignment="1" tabsequence=330 border="5" color="0" x="588" y="668" height="16" width="120" format="##########0.000" html.valueishtml="0" name=frt_rate visible="1" editmask.mask="###,###.000" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
compute(band=detail alignment="1" expression="( frt_amt / tot_amt )* 100"border="5" color="255" x="588" y="715" height="16" width="120" format="###########0.00" html.valueishtml="0" name=compute_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=96 alignment="1" tabsequence=32766 border="5" color="255" x="588" y="692" height="16" width="120" format="##########0.000" html.valueishtml="0" name=frt_amt__qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
compute(band=detail alignment="0" expression=" std_cost - actual_cost "border="5" color="255" x="621" y="645" height="16" width="86" format="[GENERAL]" html.valueishtml="0" name=varience visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Varience :" border="0" color="33554432" x="501" y="645" height="16" width="115" html.valueishtml="0" name=varience_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=90 alignment="0" tabsequence=370 border="5" color="0" x="588" y="738" height="16" width="120" format="[general]" html.valueishtml="0" name=ins_term visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Ins. Term :" border="0" color="33554432" x="455" y="738" height="16" width="128" html.valueishtml="0" name=ins_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Advance :" border="0" color="33554432" x="454" y="761" height="16" width="178" html.valueishtml="0" name=adv_perc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=63 alignment="1" tabsequence=390 border="5" color="0" x="637" y="761" height="16" width="71" format="[General]" html.valueishtml="0" name=adv_perc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=78 alignment="0" tabsequence=32766 border="5" color="255" x="588" y="784" height="16" width="120" format="###########0.00" html.valueishtml="0" name=vouch_adv_amt visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Advance Paid :" border="0" color="33554432" x="454" y="784" height="16" width="129" html.valueishtml="0" name=vouch_adv_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=22 alignment="0" tabsequence=280 border="5" color="0" x="193" y="576" height="16" width="57" format="[general]" html.valueishtml="0" name=tax_class visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=57 alignment="0" tabsequence=230 border="5" color="0" x="193" y="530" height="16" width="57" format="[general]" html.valueishtml="0" name=price_list visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=20 alignment="0" tabsequence=260 border="5" color="0" x="193" y="553" height="17" width="57" format="[general]" html.valueishtml="0" name=curr_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=88 alignment="1" tabsequence=32766 border="5" color="255" x="193" y="645" height="16" width="86" format="[general]" html.valueishtml="0" name=std_cost visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=18 alignment="1" tabsequence=32766 border="5" color="255" x="193" y="622" height="16" width="120" format="[general]" html.valueishtml="0" name=tax_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=33 alignment="0" tabsequence=310 border="5" color="0" x="193" y="599" height="16" width="66" format="[shortdate] [time]" html.valueishtml="0" name=tax_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=48 alignment="0" tabsequence=320 border="5" color="0" x="193" y="668" height="16" width="57" format="[general]" html.valueishtml="0" name=curr_code__frt visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=47 alignment="1" tabsequence=32766 border="5" color="255" x="193" y="715" height="16" width="120" format="##########0.000" html.valueishtml="0" name=frt_amt visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=52 alignment="0" tabsequence=350 border="5" color="0" x="193" y="738" height="16" width="57" format="[general]" html.valueishtml="0" name=curr_code__ins visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=95 alignment="1" tabsequence=340 border="5" color="0" x="193" y="692" height="16" width="120" format="##########0.000" html.valueishtml="0" name=frt_amt__fixed visible="1" editmask.mask="###,###.000" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Price List :" border="0" color="33554432" x="8" y="530" height="16" width="180" html.valueishtml="0" name=price_list_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Currency :" border="0" color="33554432" x="8" y="553" height="16" width="180" html.valueishtml="0" name=curr_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Tax Class :" border="0" color="33554432" x="8" y="576" height="16" width="180" html.valueishtml="0" name=tax_class_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Tax Date :" border="0" color="33554432" x="8" y="599" height="16" width="180" html.valueishtml="0" name=tax_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Tax Amount :" border="0" color="33554432" x="8" y="622" height="16" width="180" html.valueishtml="0" name=tax_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Standard Cost :" border="0" color="33554432" x="8" y="645" height="16" width="180" html.valueishtml="0" name=std_cost_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Currency Freight :" border="0" color="33554432" x="8" y="668" height="16" width="180" html.valueishtml="0" name=curr_code__frt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Freight Amt-Fixed :" border="0" color="33554432" x="8" y="692" height="16" width="180" html.valueishtml="0" name=frt_amt__fixed_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Total Freight Amt :" border="0" color="33554432" x="10" y="715" height="16" width="180" html.valueishtml="0" name=frt_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Ins. Currency :" border="0" color="33554432" x="8" y="738" height="16" width="180" html.valueishtml="0" name=curr_code__ins_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Advance Type :" border="0" color="33554432" x="8" y="761" height="16" width="180" html.valueishtml="0" name=adv_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Advance :" border="0" color="0" x="8" y="784" height="16" width="180" html.valueishtml="0" name=advance_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=89 alignment="1" tabsequence=32766 border="5" color="255" x="400" y="646" height="16" width="86" format="[general]" html.valueishtml="0" name=actual_cost visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Actual Cost :" border="0" color="33554432" x="285" y="645" height="16" width="111" html.valueishtml="0" name=actual_cost_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=51 alignment="1" tabsequence=360 border="5" color="0" x="396" y="738" height="16" width="52" format="[General]" html.valueishtml="0" name=insurance_amt visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Insurance Amount :" border="0" color="33554432" x="255" y="738" height="16" width="138" html.valueishtml="0" name=insurance_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Chapter :" border="0" color="33554432" x="256" y="576" height="16" width="85" html.valueishtml="0" name=tax_chap_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=21 alignment="0" tabsequence=290 border="5" color="0" x="345" y="576" height="16" width="106" format="[general]" html.valueishtml="0" name=tax_chap visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Station :" border="0" color="33554432" x="507" y="362" height="16" width="138" html.valueishtml="0" name=station_stan_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=83 alignment="0" tabsequence=32766 border="5" color="255" x="650" y="362" height="16" width="58" format="[general]" html.valueishtml="0" name=station_stan_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Price List Date :" border="0" color="33554432" x="255" y="530" height="16" width="118" html.valueishtml="0" name=pl_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=58 alignment="0" tabsequence=240 border="5" color="0" x="377" y="530" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=pl_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=65 alignment="0" tabsequence=380 border="5" color="0" x="193" y="761" height="16" width="77" format="[general]" html.valueishtml="0" name=adv_type visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Bank Code Pay :" border="0" color="0" x="8" y="807" height="16" width="180" html.valueishtml="0" name=bank_code__pay_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Bank Acct No :" border="0" color="0" x="8" y="830" height="16" width="180" html.valueishtml="0" name=bank_acct_no__ben_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=39 alignment="0" tabsequence=440 border="5" color="33554432" x="194" y="922" height="16" width="57" format="[general]" html.valueishtml="0" name=curr_code__comm visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=37 alignment="1" tabsequence=420 border="5" color="33554432" x="194" y="899" height="17" width="120" format="[General]" html.valueishtml="0" name=comm_perc visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Currency :" border="0" color="33554432" x="8" y="922" height="16" width="180" html.valueishtml="0" name=curr_code__comm_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Commission % :" border="0" color="33554432" x="8" y="899" height="16" width="180" html.valueishtml="0" name=comm_perc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=32 alignment="0" tabsequence=32766 border="5" color="255" x="255" y="1015" height="17" width="275" format="[general]" html.valueishtml="0" name=department_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Created from Provisional PO :" border="0" color="0" x="307" y="1107" height="16" width="265" html.valueishtml="0" name=t_provi_tran_id visible="0~tif((len(trim( provi_tran_id )) = 0 OR isnull( provi_tran_id )) OR trim( pord_type ) = 'P', 0, 1) /* Visible only where PO are created from PROVISIONAL PO and PO are of type NON-PROVISIONAL */" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Term :" border="0" color="0" x="502" y="1199" height="16" width="78" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="5" color="255" x="195" y="1199" height="16" width="103" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=75 alignment="0" tabsequence=32766 border="5" color="255" x="195" y="1176" height="16" width="106" format="[general]" html.valueishtml="0" name=sale_order__end visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=74 alignment="0" tabsequence=32766 border="5" color="255" x="195" y="1153" height="16" width="106" format="[general]" html.valueishtml="0" name=cust_code__end visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=72 alignment="0" tabsequence=560 border="5" color="0" x="195" y="1130" height="16" width="148" format="[general]" html.valueishtml="0" name=tax_ref visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="195" y="1107" height="16" width="106" format="[general]" html.valueishtml="0" name=order_db visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=64 alignment="0" tabsequence=550 border="5" color="0" x="195" y="1084" height="16" width="57" format="[general]" html.valueishtml="0" name=term_table visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=40 alignment="0" tabsequence=530 border="5" color="0" x="195" y="1061" height="16" width="175" format="[general]" html.valueishtml="0" name=udf_str__1 visible="1" edit.limit=25 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=510 border="5" color="0" x="195" y="1038" height="16" width="106" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=9 alignment="0" tabsequence=490 border="5" color="0" x="195" y="1015" height="17" width="57" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=55 alignment="0" tabsequence=480 border="5" color="0" x="195" y="992" height="16" width="106" format="[general]" html.valueishtml="0" name=contract_no visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=35 alignment="0" tabsequence=460 border="5" color="0" x="195" y="969" height="16" width="106" format="[general]" html.valueishtml="0" name=proj_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="User :" border="0" color="0" x="304" y="1199" height="16" width="83" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Amend No :" border="0" color="33554432" x="278" y="1084" height="16" width="103" html.valueishtml="0" name=amd_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="387" y="1084" height="16" width="106" format="[general]" html.valueishtml="0" name=amd_no visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Udf_str__2 :" border="0" color="33554432" x="387" y="1061" height="16" width="139" html.valueishtml="0" name=udf_str_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Anal Code:" border="0" color="33554432" x="324" y="992" height="16" width="69" html.valueishtml="0" name=anal_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=97 alignment="0" tabsequence=590 border="5" color="0" x="399" y="992" height="16" width="51" format="[general]" html.valueishtml="0" name=anal_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Project :" border="0" color="33554432" x="8" y="969" height="16" width="180" html.valueishtml="0" name=proj_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Department :" border="0" color="33554432" x="8" y="1015" height="16" width="180" html.valueishtml="0" name=dept_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Purchaser :" border="0" color="33554432" x="8" y="1038" height="16" width="180" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Udf_str__1:" border="0" color="33554432" x="8" y="1061" height="16" width="180" html.valueishtml="0" name=udf_str__1_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Term Table:" border="0" color="0" x="8" y="1084" height="16" width="180" html.valueishtml="0" name=term_table_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Order Db :" border="0" color="33554432" x="8" y="1107" height="16" width="180" html.valueishtml="0" name=order_db_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Tax Ref :" border="0" color="33554432" x="8" y="1130" height="16" width="180" html.valueishtml="0" name=tax_ref_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="End Cust. :" border="0" color="33554432" x="8" y="1153" height="16" width="180" html.valueishtml="0" name=cust_code__end_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="End Sale Order :" border="0" color="33554432" x="8" y="1176" height="16" width="180" html.valueishtml="0" name=sale_order__end_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Change Date :" border="0" color="0" x="8" y="1199" height="16" width="180" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Contract No:" border="0" color="33554432" x="8" y="992" height="16" width="180" html.valueishtml="0" name=contract_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Sale Order :" border="0" color="33554432" x="388" y="1037" height="16" width="207" html.valueishtml="0" name=sale_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="636" y="1084" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=amd_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=73 alignment="0" tabsequence=570 border="5" color="0" x="636" y="1130" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=tax_ref_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=76 alignment="0" tabsequence=32766 border="5" color="255" x="305" y="1153" height="16" width="399" format="[general]" html.valueishtml="0" name=customer_cust_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Tax Ref Date :" border="0" color="33554432" x="425" y="1130" height="16" width="205" html.valueishtml="0" name=tax_ref_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Amend Date :" border="0" color="33554432" x="501" y="1084" height="16" width="129" html.valueishtml="0" name=amd_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=62 alignment="0" tabsequence=520 border="5" color="0" x="597" y="1038" height="17" width="106" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=85 alignment="0" tabsequence=540 border="5" color="0" x="528" y="1061" height="18" width="175" format="[general]" html.valueishtml="0" name=udf_str__2 visible="1" edit.limit=25 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Reference Date :" border="0" color="33554432" x="494" y="969" height="16" width="136" html.valueishtml="0" name=ref_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=54 alignment="0" tabsequence=470 border="5" color="0" x="636" y="969" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=ref_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="646" y="992" height="16" width="57" format="[general]" html.valueishtml="0" name=site_code__ord visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Order Site :" border="0" color="33554432" x="494" y="992" height="16" width="146" html.valueishtml="0" name=site_code__ord_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=42 alignment="0" tabsequence=500 border="5" color="0" x="646" y="1015" height="16" width="57" format="[general]" html.valueishtml="0" name=site_code__bill visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Bill To :" border="0" color="33554432" x="534" y="1015" height="16" width="106" html.valueishtml="0" name=site_code__bill_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=66 alignment="1" tabsequence=32766 border="5" color="255" x="193" y="784" height="16" width="103" format="###########0.00" html.valueishtml="0" name=advance visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=93 alignment="0" tabsequence=400 border="5" color="0" x="193" y="807" height="16" width="94" format="[general]" html.valueishtml="0" name=bank_code__pay visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=94 alignment="0" tabsequence=32766 border="5" color="255" x="193" y="830" height="16" width="248" format="[general]" html.valueishtml="0" name=bank_acct_no__ben visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Agent :" border="0" color="33554432" x="8" y="876" height="16" width="180" html.valueishtml="0" name=sales_pers_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=36 alignment="0" tabsequence=410 border="5" color="0" x="194" y="876" height="17" width="106" format="[general]" html.valueishtml="0" name=sales_pers visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Exchange Rate :" border="0" color="33554432" x="517" y="922" height="16" width="105" html.valueishtml="0" name=exch_rate__sp_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Commission On:" border="0" color="33554432" x="517" y="899" height="16" width="105" html.valueishtml="0" name=comm_perc__on_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="BOQ Id :" border="0" color="0" x="517" y="877" height="16" width="105" html.valueishtml="0" name=tran_id__boq_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=99 alignment="0" tabsequence=32766 border="5" color="255" x="628" y="877" height="16" width="79" format="[general]" html.valueishtml="0" name=tran_id__boq visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=38 alignment="0" tabsequence=430 border="5" color="33554432" x="628" y="899" height="16" width="79" format="[general]" html.valueishtml="0" name=comm_perc__on visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=87 alignment="1" tabsequence=450 border="5" color="0" x="628" y="922" height="16" width="79" format="#######0.000000" html.valueishtml="0" name=exch_rate__sp visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=100 alignment="0" tabsequence=32766 border="5" color="255" x="501" y="164" height="16" width="204" format="[general]" html.valueishtml="0" name=asn_no visible="1" edit.limit=0 edit.case=upper edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Supplier Quot. Ref. :" border="0" color="33554432" x="258" y="69" height="16" width="239" html.valueishtml="0" name=supp_quot_ref_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Asn No :" border="0" color="33554432" x="425" y="162" height="15" width="71" html.valueishtml="0" name=asn_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Location Group Job WO issue:" border="0" color="33554432" x="10" y="1268" height="16" width="178" html.valueishtml="0" name=loc_group__jwiss_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Provi Tran ID :" border="0" color="33554432" x="8" y="1222" height="16" width="180" html.valueishtml="0" name=provi_tran_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=68 alignment="0" tabsequence=32766 border="5" color="255" x="195" y="1222" height="16" width="103" format="[general]" html.valueishtml="0" name=provi_tran_id visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="BOM Code:" border="0" color="33554432" x="302" y="1222" height="16" width="87" html.valueishtml="0" name=bom_code_t visible="0~t0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=56 alignment="0" tabsequence=32766 border="5" color="255" x="391" y="1222" height="16" width="92" format="[general]" html.valueishtml="0" name=bom_code visible="0~t0" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Tax Option :" border="0" color="33554432" x="485" y="1222" height="16" width="153" html.valueishtml="0" name=tax_opt_t visible="0~t0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Status Reason :" border="0" color="33554432" x="8" y="1245" height="16" width="180" html.valueishtml="0" name=status_reason_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=98 alignment="0" tabsequence=32766 border="5" color="255" x="195" y="1245" height="16" width="508" format="[general]" html.valueishtml="0" name=status_reason visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=79 alignment="0" tabsequence=60 border="5" color="0" x="503" y="68" height="16" width="204" format="[general]" html.valueishtml="0" name=supp_quot_ref visible="1" edit.limit=20 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=25 alignment="0" tabsequence=32766 border="5" color="255" x="390" y="1199" height="16" width="106" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Accept Criteria :" border="0" color="33554432" x="347" y="1176" height="16" width="96" html.valueishtml="0" name=accept_criteria_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=77 alignment="0" tabsequence=580 border="5" color="0" x="450" y="1176" height="16" width="252" format="[general]" html.valueishtml="0" name=accept_criteria visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=101 alignment="0" tabsequence=32766 border="5" color="255" x="195" y="1268" height="16" width="148" format="[general]" html.valueishtml="0" name=loc_group__jwiss visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="644" y="1222" height="16" width="59" format="[general]" html.valueishtml="0" name=tax_opt visible="0~t0" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
compute(band=detail alignment="0" expression=" provi_tran_id "border="5" color="255" x="575" y="1107" height="16" width="128" format="[general]" html.valueishtml="0" name=compute_1 visible="0~tif(trim( pord_type ) = 'P', 0, 1) /* Non-visible for provisional PO */" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="5" color="255" x="583" y="1199" height="16" width="119" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=103 alignment="0" tabsequence=32766 border="5" color="255" x="573" y="1268" height="16" width="130" format="[general]" html.valueishtml="0" name=task_desc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Task Code:" border="0" color="33554432" x="408" y="1268" height="16" width="63" html.valueishtml="0" name=task_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=102 alignment="0" tabsequence=600 border="5" color="0" x="478" y="1268" height="16" width="82" format="[general]" html.valueishtml="0" name=task_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-8" name="sdf" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_porder_edit><d_porder_edit_row __pbband=~"detail~"><purc_order>purc_order</purc_order><ord_date>ord_date</ord_date><pord_type>pord_type</pord_type><supp_code>supp_code</supp_code><site_code__dlv>site_code__dlv</site_code__dlv><site_code__ord>site_code__ord</site_code__ord><status>status</status><status_date>status_date</status_date><dept_code>dept_code</dept_code><emp_code>emp_code</emp_code><order_db>order_db</order_db><item_ser>item_ser</item_ser><tax_opt>tax_opt</tax_opt><amd_no>amd_no</amd_no><amd_date>amd_date</amd_date><cr_term>cr_term</cr_term><ord_amt>ord_amt</ord_amt><tax_amt>tax_amt</tax_amt><tot_amt>tot_amt</tot_amt><curr_code>curr_code</curr_code><tax_chap>tax_chap</tax_chap><tax_class>tax_class</tax_class><tax_env>tax_env</tax_env><chg_date>chg_date</chg_date><chg_user>chg_user</chg_user><chg_term>chg_term</chg_term><site_stan_code>site_stan_code</site_stan_code><supp_name>supp_name</supp_name><supplier_addr1>supplier_addr1</supplier_addr1><supplier_addr2>supplier_addr2</supplier_addr2><supplier_city>supplier_city</supplier_city><department_descr>department_descr</department_descr><tax_date>tax_date</tax_date><crterm_descr>crterm_descr</crterm_descr><proj_code>proj_code</proj_code><sales_pers>sales_pers</sales_pers><comm_perc>comm_perc</comm_perc><comm_perc__on>comm_perc__on</comm_perc__on><curr_code__comm>curr_code__comm</curr_code__comm><udf_str__1>udf_str__1</udf_str__1><quot_no>quot_no</quot_no><site_code__bill>site_code__bill</site_code__bill><confirmed>confirmed</confirmed><conf_date>conf_date</conf_date><remarks>remarks</remarks><tran_code>tran_code</tran_code><frt_amt>frt_amt</frt_amt><curr_code__frt>curr_code__frt</curr_code__frt><frt_term>frt_term</frt_term><dlv_term>dlv_term</dlv_term><insurance_amt>insurance_amt</insurance_amt><curr_code__ins>curr_code__ins</curr_code__ins><emp_code__aprv>emp_code__aprv</emp_code__aprv><ref_date>ref_date</ref_date><contract_no>contract_no</contract_no><bom_code>bom_code</bom_code><price_list>price_list</price_list><pl_date>pl_date</pl_date><exch_rate>exch_rate</exch_rate><tran_name>tran_name</tran_name><delivery_term_descr>delivery_term_descr</delivery_term_descr><sale_order>sale_order</sale_order><adv_perc>adv_perc</adv_perc><term_table>term_table</term_table><adv_type>adv_type</adv_type><advance>advance</advance><ind_no>ind_no</ind_no><provi_tran_id>provi_tran_id</provi_tran_id><trans_mode>trans_mode</trans_mode><frt_type>frt_type</frt_type><frt_rate>frt_rate</frt_rate><tax_ref>tax_ref</tax_ref><tax_ref_date>tax_ref_date</tax_ref_date><cust_code__end>cust_code__end</cust_code__end><sale_order__end>sale_order__end</sale_order__end><customer_cust_name>customer_cust_name</customer_cust_name><accept_criteria>accept_criteria</accept_criteria><vouch_adv_amt>vouch_adv_amt</vouch_adv_amt><supp_quot_ref>supp_quot_ref</supp_quot_ref><site_add1>site_add1</site_add1><site_add2>site_add2</site_add2><city__site>city__site</city__site><station_stan_code>station_stan_code</station_stan_code><site_descr>site_descr</site_descr><udf_str__2>udf_str__2</udf_str__2><dist_route>dist_route</dist_route><exch_rate__sp>exch_rate__sp</exch_rate__sp><std_cost>std_cost</std_cost><actual_cost>actual_cost</actual_cost><ins_term>ins_term</ins_term><policy_no>policy_no</policy_no><price_list__clg>price_list__clg</price_list__clg><bank_code__pay>bank_code__pay</bank_code__pay><bank_acct_no__ben>bank_acct_no__ben</bank_acct_no__ben><frt_amt__fixed>frt_amt__fixed</frt_amt__fixed><frt_amt__qty>frt_amt__qty</frt_amt__qty><anal_code>anal_code</anal_code><status_reason>status_reason</status_reason><boq_id/></d_porder_edit_row></d_porder_edit>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_porder_det_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=1435 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=purc_order dbname="porddet.purc_order" )
column=(type=char(3) update=yes updatewhereclause=yes key=yes name=line_no dbname="porddet.line_no" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="porddet.site_code" )
column=(type=char(12) update=yes updatewhereclause=yes name=ind_no dbname="porddet.ind_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="porddet.item_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity dbname="porddet.quantity" initial="0" )
column=(type=char(3) update=yes updatewhereclause=yes name=unit dbname="porddet.unit" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=rate dbname="porddet.rate" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=discount dbname="porddet.discount" initial="0" )
column=(type=datetime update=yes updatewhereclause=yes name=req_date dbname="porddet.req_date" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="porddet.status" initial="O" values="Open O/Closed C/Cancel X/" )
column=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="porddet.status_date" )
column=(type=char(8) update=yes updatewhereclause=yes name=loc_code dbname="porddet.loc_code" initial=" " )
column=(type=char(5) update=yes updatewhereclause=yes name=tax_class dbname="porddet.tax_class" )
column=(type=char(10) update=yes updatewhereclause=yes name=tax_chap dbname="porddet.tax_chap" )
column=(type=char(10) update=yes updatewhereclause=yes name=tax_env dbname="porddet.tax_env" )
column=(type=char(120) update=yes updatewhereclause=yes name=remarks dbname="porddet.remarks" )
column=(type=char(10) update=yes updatewhereclause=yes name=work_order dbname="porddet.work_order" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tax_amt dbname="porddet.tax_amt" initial="0" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=tot_amt dbname="porddet.tot_amt" initial="0" )
column=(type=datetime update=yes updatewhereclause=yes name=dlv_date dbname="porddet.dlv_date" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=dlv_qty dbname="porddet.dlv_qty" initial="0" )
column=(type=char(3) update=yes updatewhereclause=yes name=unit__rate dbname="porddet.unit__rate" )
column=(type=decimal(7) update=yes updatewhereclause=yes name=conv__qty_stduom dbname="porddet.conv__qty_stduom" initial="0" )
column=(type=decimal(7) update=yes updatewhereclause=yes name=conv__rtuom_stduom dbname="porddet.conv__rtuom_stduom" initial="0" )
column=(type=char(3) update=yes updatewhereclause=yes name=unit__std dbname="porddet.unit__std" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity__stduom dbname="porddet.quantity__stduom" initial="0" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=rate__stduom dbname="porddet.rate__stduom" initial="0" )
column=(type=char(5) update=yes updatewhereclause=yes name=pack_code dbname="porddet.pack_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=no_art dbname="porddet.no_art" initial="0" )
column=(type=char(120) update=yes updatewhereclause=yes name=pack_instr dbname="porddet.pack_instr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__dr dbname="porddet.acct_code__dr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__dr dbname="porddet.cctr_code__dr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__cr dbname="porddet.acct_code__cr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__cr dbname="porddet.cctr_code__cr" )
column=(type=char(120) updatewhereclause=yes name=item_descr dbname="item.descr" )
column=(type=char(1) update=yes updatewhereclause=yes name=discount_type dbname="porddet.discount_type" )
column=(type=char(10) update=yes updatewhereclause=yes name=supp_code__mnfr dbname="porddet.supp_code__mnfr" )
column=(type=char(1) update=yes updatewhereclause=yes name=order_opt dbname="porddet.order_opt" )
column=(type=char(10) update=yes updatewhereclause=yes name=bom_code dbname="porddet.bom_code" )
column=(type=char(3) update=yes updatewhereclause=yes name=line_no__sord dbname="porddet.line_no__sord" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=rate__clg dbname="porddet.rate__clg" initial="0" )
column=(type=char(0) updatewhereclause=yes name=contract_detail dbname="contract_detail" initial=" " )
column=(type=char(40) update=yes updatewhereclause=yes name=op_reason dbname="porddet.op_reason" )
column=(type=char(10) update=yes updatewhereclause=yes name=user_id__op dbname="porddet.user_id__op" )
column=(type=char(120) update=yes updatewhereclause=yes name=specific_instr dbname="porddet.specific_instr" )
column=(type=char(120) update=yes updatewhereclause=yes name=special_instr dbname="porddet.special_instr" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__qcaprv dbname="porddet.emp_code__qcaprv" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(10) update=yes updatewhereclause=yes name=proj_code dbname="porddet.proj_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code__mfg dbname="porddet.item_code__mfg" )
column=(type=char(120) updatewhereclause=yes name=mfg_item_descr dbname="item.descr" )
column=(type=char(15) update=yes updatewhereclause=yes name=spec_ref dbname="porddet.spec_ref" )
column=(type=char(120) updatewhereclause=yes name=descr dbname="specification.descr" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=operation dbname="porddet.operation" )
column=(type=decimal(4) update=yes updatewhereclause=yes name=std_rate dbname="porddet.std_rate" )
column=(type=char(4000) updatewhereclause=yes name=spl_instr dbname="spl_instr" )
column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=number updatewhereclause=yes name=actual_cost dbname="actual_cost" )
column=(type=decimal(6) updatewhereclause=yes name=exch_rate dbname="porder.exch_rate" )
column=(type=char(5) update=yes updatewhereclause=yes name=dept_code dbname="porddet.dept_code" )
column=(type=char(5) update=yes updatewhereclause=yes name=benefit_type dbname="porddet.benefit_type" initial="FS " values="Adv License AL /Drawback DR /DEPB DP /Free Shipping FS /EOU EU /DFIA DF /DEPB-PKG DK /PROV-DBK PR /" )
column=(type=char(20) update=yes updatewhereclause=yes name=licence_no dbname="porddet.licence_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__prov_dr dbname="porddet.acct_code__prov_dr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__prov_dr dbname="porddet.cctr_code__prov_dr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__prov_cr dbname="porddet.acct_code__prov_cr" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__prov_cr dbname="porddet.cctr_code__prov_cr" )
column=(type=char(250) update=yes updatewhereclause=yes name=spec_metadata dbname="porddet.spec_metadata" )
column=(type=char(250) update=yes updatewhereclause=yes name=spec_dimension dbname="porddet.spec_dimension" )
column=(type=char(20) update=yes updatewhereclause=yes name=supp_item__ref dbname="porddet.supp_item__ref" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity__fc dbname="porddet.quantity__fc" initial="0" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code__rfc dbname="porddet.prd_code__rfc" )
column=(type=char(20) update=yes updatewhereclause=yes name=form_no dbname="porddet.form_no" )
column=(type=char(1) update=yes updatewhereclause=yes name=duty_paid dbname="porddet.duty_paid" values="Yes Y/No N/" )
column=(type=number updatewhereclause=yes name=std_cost dbname="std_cost" )
column=(type=number updatewhereclause=yes name=variance dbname="variance" )
column=(type=char(5) update=yes updatewhereclause=yes name=anal_code dbname="porddet.anal_code" )
column=(type=char(40) updatewhereclause=yes name=analysis_descr dbname="analysis.descr" )
column=(type=char(10) update=yes updatewhereclause=yes name=acct_code__ap_adv dbname="porddet.acct_code__ap_adv" )
column=(type=char(4) update=yes updatewhereclause=yes name=cctr_code__ap_adv dbname="porddet.cctr_code__ap_adv" )
column=(type=char(15) update=yes updatewhereclause=yes name=lot_no__passign dbname="porddet.lot_no__passign" )
column=(type=datetime update=yes updatewhereclause=yes name=exp_date__passign dbname="porddet.exp_date__passign" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"porddet~" ) TABLE(NAME=~"item~" ALIAS=~"item_a~" ) TABLE(NAME=~"employee~" ) TABLE(NAME=~"item~" ALIAS=~"item_b~" ) TABLE(NAME=~"specification~" ) TABLE(NAME=~"porder~" ) TABLE(NAME=~"analysis~" ) COLUMN(NAME=~"porddet.purc_order~") COLUMN(NAME=~"porddet.line_no~") COLUMN(NAME=~"porddet.site_code~") COLUMN(NAME=~"porddet.ind_no~") COLUMN(NAME=~"porddet.item_code~") COLUMN(NAME=~"porddet.quantity~") COLUMN(NAME=~"porddet.unit~") COLUMN(NAME=~"porddet.rate~") COLUMN(NAME=~"porddet.discount~") COLUMN(NAME=~"porddet.req_date~") COLUMN(NAME=~"porddet.status~") COLUMN(NAME=~"porddet.status_date~") COLUMN(NAME=~"porddet.loc_code~") COLUMN(NAME=~"porddet.tax_class~") COLUMN(NAME=~"porddet.tax_chap~") COLUMN(NAME=~"porddet.tax_env~") COLUMN(NAME=~"porddet.remarks~") COLUMN(NAME=~"porddet.work_order~") COLUMN(NAME=~"porddet.tax_amt~") COLUMN(NAME=~"porddet.tot_amt~") COLUMN(NAME=~"porddet.dlv_date~") COLUMN(NAME=~"porddet.dlv_qty~") COLUMN(NAME=~"porddet.unit__rate~") COLUMN(NAME=~"porddet.conv__qty_stduom~") COLUMN(NAME=~"porddet.conv__rtuom_stduom~") COLUMN(NAME=~"porddet.unit__std~") COLUMN(NAME=~"porddet.quantity__stduom~") COLUMN(NAME=~"porddet.rate__stduom~") COLUMN(NAME=~"porddet.pack_code~") COLUMN(NAME=~"porddet.no_art~") COLUMN(NAME=~"porddet.pack_instr~") COLUMN(NAME=~"porddet.acct_code__dr~") COLUMN(NAME=~"porddet.cctr_code__dr~") COLUMN(NAME=~"porddet.acct_code__cr~") COLUMN(NAME=~"porddet.cctr_code__cr~") COLUMN(NAME=~"item_a.descr~") COLUMN(NAME=~"porddet.discount_type~") COLUMN(NAME=~"porddet.supp_code__mnfr~") COLUMN(NAME=~"porddet.order_opt~") COLUMN(NAME=~"porddet.bom_code~") COLUMN(NAME=~"porddet.line_no__sord~") COLUMN(NAME=~"porddet.rate__clg~") COMPUTE(NAME=~"'' contract_detail~") COLUMN(NAME=~"porddet.op_reason~") COLUMN(NAME=~"porddet.user_id__op~") COLUMN(NAME=~"porddet.specific_instr~") COLUMN(NAME=~"porddet.special_instr~") COLUMN(NAME=~"porddet.emp_code__qcaprv~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"porddet.proj_code~") COLUMN(NAME=~"porddet.item_code__mfg~") COLUMN(NAME=~"item_b.descr~") COLUMN(NAME=~"porddet.spec_ref~") COLUMN(NAME=~"specification.descr~") COLUMN(NAME=~"porddet.operation~") COLUMN(NAME=~"porddet.std_rate~") COMPUTE(NAME=~"space(500) as spl_instr~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COMPUTE(NAME=~"(~~~"PORDDET~~~".~~~"TOT_AMT~~~" - fn_get_po_recoamt(~~~"PORDDET~~~".~~~"PURC_ORDER~~~" , ~~~"PORDDET~~~".~~~"LINE_NO~~~", 'R' ,'D')) * exch_rate as actual_cost~") COLUMN(NAME=~"porder.exch_rate~") COLUMN(NAME=~"porddet.dept_code~") COLUMN(NAME=~"porddet.benefit_type~") COLUMN(NAME=~"porddet.licence_no~") COLUMN(NAME=~"porddet.acct_code__prov_dr~") COLUMN(NAME=~"porddet.cctr_code__prov_dr~") COLUMN(NAME=~"porddet.acct_code__prov_cr~") COLUMN(NAME=~"porddet.cctr_code__prov_cr~") COLUMN(NAME=~"porddet.spec_metadata~") COLUMN(NAME=~"porddet.spec_dimension~") COLUMN(NAME=~"porddet.supp_item__ref~") COLUMN(NAME=~"porddet.quantity__fc~") COLUMN(NAME=~"porddet.prd_code__rfc~") COLUMN(NAME=~"porddet.form_no~") COLUMN(NAME=~"porddet.duty_paid~") COMPUTE(NAME=~"(porddet.quantity * porddet.std_rate ) as std_cost~") COMPUTE(NAME=~"((porddet.quantity * porddet.std_rate ) - (~~~"PORDDET~~~".~~~"TOT_AMT~~~" - fn_get_po_recoamt(~~~"PORDDET~~~".~~~"PURC_ORDER~~~" , ~~~"PORDDET~~~".~~~"LINE_NO~~~", 'R' ,'D')) * exch_rate) as variance~") COLUMN(NAME=~"porddet.anal_code~") COLUMN(NAME=~"analysis.descr~") COLUMN(NAME=~"porddet.acct_code__ap_adv~") COLUMN(NAME=~"porddet.cctr_code__ap_adv~") COLUMN(NAME=~"porddet.lot_no__passign~") COLUMN(NAME=~"porddet.exp_date__passign~") JOIN (LEFT=~"porddet.emp_code__qcaprv~" OP =~"=~"RIGHT=~"employee.emp_code~" OUTER1 =~"porddet.emp_code__qcaprv~" ) JOIN (LEFT=~"porddet.item_code__mfg~" OP =~"=~"RIGHT=~"item_b.item_code~" OUTER1 =~"porddet.item_code__mfg~" ) JOIN (LEFT=~"porddet.spec_ref~" OP =~"=~"RIGHT=~"specification.spec_ref~" OUTER1 =~"porddet.spec_ref~" ) JOIN (LEFT=~"porddet.anal_code~" OP =~"=~"RIGHT=~"analysis.anal_code~" OUTER1 =~"porddet.anal_code~" ) JOIN (LEFT=~"porddet.item_code~" OP =~"=~"RIGHT=~"item_a.item_code~" ) JOIN (LEFT=~"porder.purc_order~" OP =~"=~"RIGHT=~"porddet.purc_order~" )WHERE( EXP1 =~"( ( porddet.purc_order~" OP =~"=~" EXP2 =~":po ) )~" ) ) ORDER(NAME=~"porddet.line_no~" ASC=yes ) ARG(NAME = ~"po~" TYPE = string) " update="PORDDET" updatewhere=0 updatekeyinplace=no arguments=(("po", string)) )
groupbox(band=detail text="Commercial"border="5" color="0" x="6" y="401" height="111" width="648" name=gb_4 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Inventory"border="5" color="33554432" x="6" y="310" height="86" width="648" name=gb_3 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Measures"border="5" color="0" x="6" y="191" height="113" width="648" name=gb_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Basic"border="5" color="33554432" x="6" y="6" height="181" width="647" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
groupbox(band=detail text="Others"border="5" color="0" x="6" y="516" height="904" width="648" name=gb_5 visible="1" font.face="Times New Roman" font.height="-10" font.weight="700" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Item :" border="0" color="0" x="14" y="46" height="16" width="180" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Purchase Order :" border="0" color="0" x="14" y="23" height="16" width="180" html.valueishtml="0" name=purc_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="0" x="199" y="46" height="16" width="106" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Delivery Date :" border="0" color="0" x="446" y="92" height="16" width="123" html.valueishtml="0" name=dlv_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Unit :" border="0" color="0" x="305" y="69" height="16" width="80" html.valueishtml="0" name=unit_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=30 border="5" color="0" x="391" y="69" height="16" width="41" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=3 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Quantity :" border="0" color="0" x="443" y="69" height="16" width="114" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Required Date :" border="0" color="0" x="285" y="92" height="16" width="80" html.valueishtml="0" name=req_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="69" height="16" width="57" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=10 alignment="0" tabsequence=60 border="5" color="0" x="371" y="92" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=req_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="1" tabsequence=40 border="5" color="0" x="562" y="69" height="17" width="79" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="23" height="16" width="85" format="[general]" html.valueishtml="0" name=purc_order visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Indent No :" border="0" color="0" x="288" y="23" height="16" width="101" html.valueishtml="0" name=ind_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=10 border="5" color="0" x="395" y="23" height="16" width="110" format="[general]" html.valueishtml="0" name=ind_no visible="1" edit.limit=12 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=36 alignment="0" tabsequence=32766 border="5" color="255" x="307" y="46" height="16" width="334" format="[general]" html.valueishtml="0" name=item_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Line No:" border="0" color="0" x="508" y="23" height="16" width="87" html.valueishtml="0" name=line_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="601" y="23" height="16" width="40" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Site :" border="0" color="0" x="14" y="69" height="16" width="180" html.valueishtml="0" name=site_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
compute(band=detail alignment="1" expression=" std_cost - actual_cost "border="5" color="255" x="681" y="129" height="16" width="89" format="#,##0.000" html.valueishtml="0" name=varience_org visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" height.autosize=yes)
text(band=detail alignment="1" text="Rate :" border="0" color="0" x="14" y="92" height="16" width="180" html.valueishtml="0" name=rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Remarks :" border="0" color="0" x="14" y="138" height="16" width="180" html.valueishtml="0" name=remarks_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=21 alignment="0" tabsequence=70 border="5" color="0" x="574" y="92" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=dlv_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Forcasted Quantity :" border="0" color="0" x="14" y="115" height="16" width="180" html.valueishtml="0" name=quantity__fc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Forcasted Month :" border="0" color="0" x="331" y="115" height="16" width="238" html.valueishtml="0" name=prd_code__rfc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=73 alignment="0" tabsequence=90 border="5" color="0" x="574" y="115" height="16" width="67" format="[general]" html.valueishtml="0" name=prd_code__rfc visible="1" edit.limit=6 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="As on :" border="0" color="0" x="455" y="161" height="16" width="114" html.valueishtml="0" name=status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="574" y="161" height="16" width="67" format="[shortdate] [time]" html.valueishtml="0" name=status_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=8 alignment="1" tabsequence=50 border="5" color="0" x="199" y="92" height="16" width="82" format="[general]" html.valueishtml="0" name=rate visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=72 alignment="1" tabsequence=80 border="5" color="0" x="199" y="115" height="16" width="82" format="##########0.000" html.valueishtml="0" name=quantity__fc visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
compute(band=detail alignment="1" expression=" quantity * std_rate "border="5" color="255" x="684" y="102" height="16" width="89" format="#,##0.000" html.valueishtml="0" name=std_cost_org visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="161" height="16" width="54" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Status :" border="0" color="0" x="14" y="161" height="16" width="180" html.valueishtml="0" name=status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=17 alignment="0" tabsequence=100 border="5" color="0" x="199" y="138" height="16" width="442" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=120 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=24 alignment="1" tabsequence=110 border="5" color="0" x="198" y="209" height="16" width="100" format="" html.valueishtml="0" name=conv__qty_stduom visible="1" edit.limit=0 edit.case=any edit.format="#0.0000000" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Rate Unit :" border="0" color="0" x="354" y="209" height="16" width="239" html.valueishtml="0" name=unit__rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=23 alignment="0" tabsequence=120 border="5" color="0" x="599" y="209" height="16" width="41" format="[general]" html.valueishtml="0" name=unit__rate visible="1" edit.limit=3 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Stdandard Rate :" border="0" color="0" x="355" y="232" height="16" width="204" html.valueishtml="0" name=std_rate_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Actual Cost :" border="0" color="0" x="354" y="255" height="16" width="191" html.valueishtml="0" name=actual_cost_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=detail alignment="1" text="Standard :" border="0" color="0" x="303" y="278" height="16" width="118" html.valueishtml="0" name=unit__std_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=27 alignment="1" tabsequence=32766 border="5" color="255" x="427" y="278" height="16" width="99" format="[general]" html.valueishtml="0" name=quantity__stduom visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="5" color="255" x="531" y="278" height="16" width="34" format="[general]" html.valueishtml="0" name=unit__std visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=56 alignment="1" tabsequence=32766 border="5" color="255" x="565" y="232" height="16" width="75" format="#0.0000" html.valueishtml="0" name=std_rate visible="1" edit.limit=15 edit.case=any edit.format="#0.0000" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=60 alignment="1" tabsequence=32766 border="5" color="255" x="551" y="255" height="16" width="89" format="#,##0.000" html.valueishtml="0" name=actual_cost visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=28 alignment="1" tabsequence=32766 border="5" color="255" x="570" y="278" height="16" width="70" format="[general]" html.valueishtml="0" name=rate__stduom visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="UOM Conversion :" border="0" color="0" x="14" y="209" height="16" width="180" html.valueishtml="0" name=conv__qty_stduom_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Rate Conversion :" border="0" color="0" x="14" y="232" height="16" width="180" html.valueishtml="0" name=conv__rtuom_stduom_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Standard Cost :" border="0" color="0" x="14" y="255" height="16" width="180" html.valueishtml="0" name=std_cost_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=detail alignment="1" text="Variance :" border="0" color="0" x="15" y="279" height="16" width="180" html.valueishtml="0" name=variance_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
column(band=detail id=13 alignment="0" tabsequence=140 border="5" color="0" x="198" y="328" height="16" width="97" format="[general]" html.valueishtml="0" name=loc_code visible="1" edit.limit=8 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="No. of Article :" border="0" color="0" x="428" y="328" height="16" width="159" html.valueishtml="0" name=no_art_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=30 alignment="1" tabsequence=150 border="5" color="0" x="593" y="328" height="16" width="47" format="#,##0.000" html.valueishtml="0" name=no_art visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=31 alignment="0" tabsequence=170 border="5" color="0" x="198" y="374" height="16" width="442" format="[general]" html.valueishtml="0" name=pack_instr visible="1" edit.limit=120 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=29 alignment="0" tabsequence=160 border="5" color="0" x="198" y="351" height="16" width="57" format="[general]" html.valueishtml="0" name=pack_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Location :" border="0" color="0" x="14" y="328" height="16" width="180" html.valueishtml="0" name=loc_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Packing :" border="0" color="0" x="14" y="351" height="16" width="180" html.valueishtml="0" name=pack_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Packing Instr. :" border="0" color="0" x="14" y="374" height="16" width="180" html.valueishtml="0" name=pack_instr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=37 alignment="0" tabsequence=180 border="5" color="0" x="199" y="418" height="16" width="37" format="[general]" html.valueishtml="0" name=discount_type visible="1" edit.limit=1 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Discount % :" border="0" color="0" x="350" y="418" height="16" width="216" html.valueishtml="0" name=discount_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=9 alignment="1" tabsequence=190 border="5" color="0" x="572" y="418" height="16" width="69" format="[general]" html.valueishtml="0" name=discount visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=200 border="5" color="0" x="199" y="441" height="16" width="57" format="[general]" html.valueishtml="0" name=tax_class visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Chapter :" border="0" color="0" x="262" y="441" height="16" width="60" html.valueishtml="0" name=tax_chap_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="0" tabsequence=210 border="5" color="0" x="328" y="441" height="16" width="106" format="[general]" html.valueishtml="0" name=tax_chap visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="0" tabsequence=220 border="5" color="0" x="535" y="441" height="16" width="106" format="[general]" html.valueishtml="0" name=tax_env visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="1" tabsequence=32766 border="5" color="255" x="199" y="464" height="16" width="79" format="[general]" html.valueishtml="0" name=tax_amt visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Total Amount :" border="0" color="0" x="329" y="464" height="16" width="227" html.valueishtml="0" name=tot_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Excise Clearing rate :" border="0" color="0" x="331" y="487" height="16" width="225" html.valueishtml="0" name=rate__clg_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="0" font.pitch="0" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=20 alignment="1" tabsequence=32766 border="5" color="255" x="562" y="464" height="16" width="79" format="[general]" html.valueishtml="0" name=tot_amt visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=42 alignment="1" tabsequence=230 border="5" color="0" x="562" y="487" height="16" width="79" format="#########0.0000" html.valueishtml="0" name=rate__clg visible="1" edit.limit=14 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Discount Type :" border="0" color="0" x="14" y="418" height="16" width="180" html.valueishtml="0" name=discount_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Tax Class :" border="0" color="0" x="14" y="441" height="16" width="180" html.valueishtml="0" name=tax_class_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Tax Amount :" border="0" color="0" x="14" y="464" height="16" width="180" html.valueishtml="0" name=tax_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Order Option :" border="0" color="0" x="266" y="530" height="16" width="125" html.valueishtml="0" name=order_opt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=39 alignment="0" tabsequence=240 border="5" color="0" x="397" y="530" height="16" width="40" format="[general]" html.valueishtml="0" name=order_opt visible="1" edit.limit=1 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Project :" border="0" color="0" x="447" y="530" height="16" width="110" html.valueishtml="0" name=proj_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=33 alignment="0" tabsequence=290 border="5" color="0" x="293" y="669" height="16" width="57" format="[general]" html.valueishtml="0" name=cctr_code__dr visible="1" edit.limit=4 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=34 alignment="0" tabsequence=300 border="5" color="0" x="487" y="669" height="16" width="93" format="[general]" html.valueishtml="0" name=acct_code__cr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=67 alignment="0" tabsequence=340 border="5" color="255" x="487" y="692" height="16" width="93" format="[general]" html.valueishtml="0" protect="0~t1" name=acct_code__prov_cr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=66 alignment="0" tabsequence=330 border="5" color="255" x="294" y="692" height="16" width="57" format="[general]" html.valueishtml="0" protect="0~t1" name=cctr_code__prov_dr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Sale Order Line :" border="0" color="0" x="14" y="530" height="16" width="180" html.valueishtml="0" name=line_no__sord_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Contract :" border="0" color="0" x="14" y="553" height="16" width="180" html.valueishtml="0" name=contract_detail_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79416533" )
text(band=detail alignment="1" text="Specific Reference :" border="0" color="0" x="14" y="576" height="16" width="180" html.valueishtml="0" name=spec_ref_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Specific Instruction:" border="0" color="0" x="13" y="623" height="16" width="180" html.valueishtml="0" name=specific_instr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Special Instruction:" border="0" color="0" x="14" y="646" height="16" width="180" html.valueishtml="0" name=special_instr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Environment :" border="0" color="0" x="443" y="441" height="16" width="86" html.valueishtml="0" name=tax_env_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Debit A/c. :" border="0" color="0" x="14" y="669" height="16" width="180" html.valueishtml="0" name=acct_code__dr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=47 alignment="0" tabsequence=270 border="5" color="0" x="199" y="646" height="16" width="442" format="[general]" html.valueishtml="0" name=special_instr visible="1" edit.limit=120 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Credit A/c. :" border="0" color="0" x="354" y="669" height="16" width="128" html.valueishtml="0" name=cctr_code__cr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Prov Credit A/c. :" border="0" color="0" x="355" y="692" height="16" width="127" html.valueishtml="0" name=acct_code__prov_cr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=54 alignment="0" tabsequence=32766 border="5" color="255" x="330" y="576" height="40" width="311" format="[General]" html.valueishtml="0" name=descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=50 alignment="0" tabsequence=250 border="5" color="0" x="562" y="530" height="16" width="79" format="[general]" html.valueishtml="0" name=proj_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=53 alignment="0" tabsequence=32766 border="5" color="0" x="199" y="576" height="16" width="127" format="[General]" html.valueishtml="0" name=spec_ref visible="1" edit.limit=15 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=41 alignment="1" tabsequence=32766 border="5" color="0" x="199" y="530" height="16" width="56" format="[general]" html.valueishtml="0" name=line_no__sord visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=46 alignment="0" tabsequence=260 border="5" color="0" x="199" y="623" height="16" width="442" format="[general]" html.valueishtml="0" name=specific_instr visible="1" edit.limit=120 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=43 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="553" height="16" width="442" format="[general]" html.valueishtml="0" name=contract_detail visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=25 alignment="1" tabsequence=130 border="5" color="0" x="198" y="232" height="16" width="82" format="#########0.0000" html.valueishtml="0" name=conv__rtuom_stduom visible="1" edit.limit=0 edit.case=any edit.format="#0.0000000" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=76 alignment="1" tabsequence=32766 border="5" color="255" x="198" y="258" height="16" width="89" format="#,##0.000" html.valueishtml="0" name=std_cost visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=77 alignment="1" tabsequence=32766 border="5" color="255" x="198" y="278" height="16" width="89" format="#,##0.000" html.valueishtml="0" name=variance visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Prov Debit A/c. :" border="0" color="0" x="14" y="692" height="16" width="180" html.valueishtml="0" name=acct_code__prov_dr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=65 alignment="0" tabsequence=320 border="5" color="255" x="199" y="692" height="16" width="88" format="[general]" html.valueishtml="0" protect="0~t1" name=acct_code__prov_dr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=78 alignment="0" tabsequence=360 border="5" color="0" x="199" y="715" height="16" width="70" format="[general]" html.valueishtml="0" name=anal_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=68 alignment="0" tabsequence=350 border="5" color="255" x="584" y="692" height="16" width="57" format="[general]" html.valueishtml="0" protect="0~t1" name=cctr_code__prov_cr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=79 alignment="0" tabsequence=32766 border="5" color="255" x="274" y="715" height="16" width="367" format="[general]" html.valueishtml="0" name=analysis_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Dept Code:" border="0" color="0" x="14" y="766" height="16" width="180" html.valueishtml="0" name=dept_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=62 alignment="0" tabsequence=390 border="5" color="0" x="199" y="766" height="16" width="63" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Work Order :" border="0" color="0" x="265" y="766" height="16" width="75" html.valueishtml="0" name=work_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=18 alignment="0" tabsequence=400 border="5" color="0" x="343" y="765" height="16" width="106" format="[general]" html.valueishtml="0" name=work_order visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Operation No :" border="0" color="0" x="453" y="766" height="16" width="83" html.valueishtml="0" name=operation_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=55 alignment="1" tabsequence=410 border="5" color="0" x="541" y="766" height="16" width="100" format="[general]" html.valueishtml="0" name=operation visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=49 alignment="0" tabsequence=32766 border="5" color="255" x="308" y="812" height="16" width="108" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=58 alignment="0" tabsequence=32766 border="5" color="255" x="421" y="812" height="16" width="108" format="[general]" html.valueishtml="0" name=emp_mname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Appr. User :" border="0" color="0" x="354" y="878" height="16" width="175" html.valueishtml="0" name=user_id__op_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="BOM :" border="0" color="0" x="14" y="789" height="16" width="180" html.valueishtml="0" name=bom_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="QC Approve :" border="0" color="0" x="14" y="812" height="16" width="180" html.valueishtml="0" name=emp_code__qcaprv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Mfg Item :" border="0" color="0" x="14" y="835" height="16" width="180" html.valueishtml="0" name=item_code__mfg_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Benefit Type :" border="0" color="0" x="14" y="856" height="16" width="180" html.valueishtml="0" name=benefit_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Licence No :" border="0" color="0" x="14" y="877" height="16" width="180" html.valueishtml="0" name=licence_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=40 alignment="0" tabsequence=420 border="5" color="0" x="199" y="789" height="16" width="106" format="[general]" html.valueishtml="0" name=bom_code visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=48 alignment="0" tabsequence=440 border="5" color="0" x="199" y="812" height="16" width="106" format="[general]" html.valueishtml="0" name=emp_code__qcaprv visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=51 alignment="0" tabsequence=450 border="5" color="0" x="199" y="835" height="16" width="106" format="[general]" html.valueishtml="0" name=item_code__mfg visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=63 alignment="0" tabsequence=460 border="5" color="0" x="199" y="856" height="16" width="106" format="[general]" html.valueishtml="0" name=benefit_type visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=64 alignment="0" tabsequence=470 border="5" color="0" x="199" y="878" height="16" width="106" format="[general]" html.valueishtml="0" name=licence_no visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=38 alignment="0" tabsequence=430 border="5" color="0" x="541" y="789" height="16" width="100" format="[general]" html.valueishtml="0" name=supp_code__mnfr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=59 alignment="0" tabsequence=32766 border="5" color="255" x="534" y="812" height="16" width="107" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=52 alignment="0" tabsequence=32766 border="5" color="255" x="308" y="835" height="36" width="333" format="[general]" html.valueishtml="0" name=mfg_item_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=45 alignment="0" tabsequence=32766 border="5" color="255" x="534" y="878" height="16" width="107" format="[general]" html.valueishtml="0" name=user_id__op visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Mfg Supply :" border="0" color="0" x="327" y="789" height="16" width="209" html.valueishtml="0" name=supp_code__mnfr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="CT3 Form No :" border="0" color="0" x="287" y="925" height="16" width="159" html.valueishtml="0" name=form_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Exc Order Reason :" border="0" color="0" x="14" y="901" height="16" width="180" html.valueishtml="0" name=op_reason_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=75 alignment="0" tabsequence=490 border="5" color="0" x="199" y="925" height="16" width="78" format="[general]" html.valueishtml="0" name=duty_paid tag="Full Duty Paid for EOU Site" visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=44 alignment="0" tabsequence=480 border="5" color="0" x="199" y="901" height="16" width="442" format="[general]" html.valueishtml="0" name=op_reason visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Duty Paid :" border="0" color="0" x="14" y="925" height="16" width="180" html.valueishtml="0" name=duty_paid_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=74 alignment="0" tabsequence=500 border="5" color="0" x="451" y="925" height="16" width="190" format="[general]" html.valueishtml="0" name=form_no tag="Ct3 Form No for EOU Site" visible="1" edit.limit=20 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=32 alignment="0" tabsequence=280 border="5" color="0" x="199" y="669" height="16" width="88" format="[general]" html.valueishtml="0" name=acct_code__dr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Analysis Code :" border="0" color="0" x="14" y="715" height="16" width="180" html.valueishtml="0" name=anal_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=35 alignment="0" tabsequence=310 border="5" color="0" x="584" y="669" height="16" width="57" format="[general]" html.valueishtml="0" name=cctr_code__cr visible="1" edit.limit=4 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="A.P Adv.a/c:" border="0" color="0" x="14" y="740" height="16" width="180" html.valueishtml="0" name=acct_code__ap_adv_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=80 alignment="0" tabsequence=370 border="5" color="0" x="199" y="740" height="16" width="88" format="[general]" html.valueishtml="0" name=acct_code__ap_adv visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=81 alignment="0" tabsequence=380 border="5" color="0" x="292" y="740" height="16" width="57" format="[general]" html.valueishtml="0" name=cctr_code__ap_adv visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=82 alignment="0" tabsequence=32766 border="5" color="0" x="199" y="948" height="16" width="100" format="[general]" html.valueishtml="0" name=lot_no__passign visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Pre Assign Lot No :" border="0" color="0" x="13" y="948" height="16" width="181" html.valueishtml="0" name=lot_no__passign_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Pre Assign Expiry Date :" border="0" color="0" x="308" y="948" height="16" width="252" html.valueishtml="0" name=exp_date__passign_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=83 alignment="0" tabsequence=32766 border="5" color="0" x="566" y="948" height="16" width="74" format="[shortdate] [time]" html.valueishtml="0" name=exp_date__passign visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=57 alignment="0" tabsequence=32766 border="5" color="255" x="16" y="974" height="200" width="624" format="[General]" html.valueishtml="0" name=spl_instr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autovscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="134217750" )
text(band=detail alignment="0" text="Spec Metadata :" border="0" color="0" x="19" y="1180" height="16" width="104" html.valueishtml="0" name=spec_metadata_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="0" text="Spec Dimension :" border="0" color="0" x="20" y="1274" height="16" width="104" html.valueishtml="0" name=spec_dimension_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Supplier Item Ref :" border="0" color="0" x="19" y="1369" height="16" width="99" html.valueishtml="0" name=supp_item__ref_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Delivery Qty :" border="0" color="0" x="20" y="1392" height="16" width="99" html.valueishtml="0" name=dlv_qty_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="5" color="255" x="123" y="1393" height="16" width="57" format="[general]" html.valueishtml="0" name=dlv_qty visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-8" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Exchange Rate :" border="0" color="0" x="385" y="1392" height="16" width="175" html.valueishtml="0" name=exch_rate_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=70 alignment="0" tabsequence=32766 border="5" color="255" x="15" y="1293" height="67" width="626" format="[general]" html.valueishtml="0" name=spec_dimension visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.autovscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=69 alignment="0" tabsequence=32766 border="5" color="255" x="16" y="1201" height="67" width="625" format="[general]" html.valueishtml="0" name=spec_metadata visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.autovscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=61 alignment="0" tabsequence=32766 border="5" color="255" x="566" y="1392" height="16" width="74" format="[general]" html.valueishtml="0" name=exch_rate visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=71 alignment="0" tabsequence=32766 border="5" color="255" x="123" y="1369" height="16" width="100" format="[general]" html.valueishtml="0" name=supp_item__ref visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
body {
font-family: Arial Unicode MS, Arial, sans-serif;
font-size: small;
height: 100%;
width: 100%;
overflow: auto;
position: fixed;/* Gulzar on 09/07/14 */
background-color: white;
background-color: #CBE2DA;
/* IE10 Consumer Preview */
background-image: -ms-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* Opera */
background-image: -o-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.6, #B0DBE3), color-stop(0.85, #CBE2DA), color-stop(1, #E8C4B1));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* W3C Markup, IE10 Release Preview */
background-image: linear-gradient(to bottom, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
}
.mainPage-Container {
height: 100%;
width: 100%;
position: fixed;/*Gulzar on 09/07/14*/
/*background-color: white;*/
background-color: #CBE2DA;
/* IE10 Consumer Preview */
background-image: -ms-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* Opera */
background-image: -o-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.6, #B0DBE3), color-stop(0.85, #CBE2DA), color-stop(1, #E8C4B1));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(top, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* W3C Markup, IE10 Release Preview */
background-image: linear-gradient(to bottom, #B0DBE3 60%, #CBE2DA 85%, #E8C4B1 100%);
/* overflow: auto; */
}
td {
padding-bottom: .2em;
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 12px;
}
label {
padding: 0 20px;
color: #62412E;
line-height: 35px;
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 14px;
text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
text-rendering: optimizeLegibility;
background-color: #e5e5e5;
}
#header {
margin: 0;
padding-right: 10px;
height: 40px;
width: 98%;
background-color: #4bc1d2;
border-bottom: none;
overflow:hidden;
}
#headingText {
padding-left: 40px;
padding-top: 8px;
position: absolute;
color: white;
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 18px;
text-shadow: 0 1px rgba(0, 0, 0, 0.2);
text-rendering: optimizeLegibility;
}
.button {
display: inline-block;
height: 28px;
margin: 5px;
padding: 0 16px;
color: #243140;
cursor: pointer;
line-height: 1;
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 14px;
text-align: center;
text-shadow: 0 1px rgba(255, 255, 255, 0.2);
text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
text-rendering: optimizeLegibility;
vertical-align: top;
background-color: #4EBD4A;
border: 0;
border-radius: 2px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.button:hover {
color: #243140;
background-color: #dcdfe7;
}
.button:active{
color: #1d2938;
background-color: #cdd1dc;
}
.button.disabled {
color:grey !IMPORTANT;
pointer-events:none !IMPORTANT;
}
.button.enabled {
color:white !IMPORTANT;
pointer-events:auto !IMPORTANT;
}
.editLabelClass {
position: absolute;
background-color: #COCOCO;
color: #62412E;
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
/* font-size: 14px; */
font-size: 12px;
text-align: right;
text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
text-rendering: optimizeLegibility;
white-space: nowrap;
}
.editDivClass
{border: 1px solid lightgray;color:#102132;background:#FFFFFF;width:96%;float:left;min-height:17px;
font-family: Arial Unicode MS, Arial, sans-serif;font-size:12px;}
.editInputClass
{
border: 1px solid lightgray;
color:#102132;
background:#FFFFFF;
text-align:left;
font-family: Arial Unicode MS, Arial, sans-serif !important;
font-size:12px !important;
}
.editDisplayClass
{border: 1px solid lightgray;color:#2087fc;background:#D6D2C7;text-align:left;font-family: Arial Unicode MS, Arial, sans-serif;font-size:12px;}
/* .tableClass
{margin-left:0px;margin-top:00px;width :100%;} */
.header_td
{border:inset 0;background:#4BC1D2;font-family:Arial;font-size:14px; height: 22px;color: #FFF;}
.tbody_td
{border:inset 1;font-family: Arial Unicode MS, Arial, sans-serif;font-size:12px;}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family: Arial Unicode MS, Arial, sans-serif;font-size:12px;}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family: Arial Unicode MS, Arial, sans-serif;font-size:12px;}
.td_leftAlign
{text-align:left;font-family: Arial Unicode MS, Arial, sans-serif;font-size:12px;}
.td_rightAlign
{text-align:right;font-family: Arial Unicode MS, Arial, sans-serif;font-size:12px;}
.pophelp-Btn {
position: absolute;
padding-left: 5px;
width: 15px;
height: 18;
color: white;
cursor: hand;
border: 1px solid green;
border-radius: 50%;
background-color: #4EBD4A;
opacity: .90;
z-index: 1;
}
/* .pophelp-Btn:after {
content: '?';
} */
.pophelp-Span{
position: absolute !important;
}
.calender-Btn {
/* position: absolute; */
/* padding-left: 5px; */
margin-left: -15px;
width: 15;
height: 18;
color: white;
cursor: hand;
border: 1px solid green;
border-radius: 50%;
background-color: #4EBD4A;
opacity: .90;
z-index: 1;
}
.calender-Btn:after {
content: '[]';
}
.calender-Span{
position: absolute !important;
}
/** Animation **/
.E12BTAnimate
{
-webkit-animation: myfirst 1s; /* Chrome, Safari, Opera */
animation: myfirst 1s;
}
/* Chrome, Safari, Opera */
@-webkit-keyframes myfirst {
from {margin-top: 0%;
}
to {margin-top: 10%;
}
}
/* Standard syntax */
@keyframes myfirst {
from {margin-top: 0%;
}
to {margin-top: 10%;
}
}
@-webkit-keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translate3d(0, -30%, 0);
transform: translate3d(0, -30%, 0);
}
100% {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translate3d(0, -30%, 0);
transform: translate3d(0, -30%, 0);
}
100% {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
.fadeInDown {
/* -webkit-animation-name: fadeInDown;
animation-name: fadeInDown; */
-webkit-animation: fadeInDown 1s;
animation: fadeInDown 1s;
}
/** table class **/
.tableClass
{text-align: center;
line-height: 25px;
text-align: left;
border-collapse: separate;
border-spacing: 0;
border-radius: 2px;
background-color: #FFF;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);}
.thClass>th
{padding: 0 10px;
color: white;
text-shadow: 0 1px rgba(0, 0, 0, 0.2);
border-width: 1px 1px 1px 0px;
border-style: solid;
border-color: #4bc1d2 #13AEC4 #5CCADA;
background-color: #4bc1d2;
background-image: -ms-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: -moz-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: -o-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.6, #4BC1D2), color-stop(1, #5ADAEC));
background-image: -webkit-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: linear-gradient(to bottom, #4BC1D2 60%, #5ADAEC 100%);
-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px rgba(0, 0, 0, 0.04);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px rgba(0, 0, 0, 0.04);
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
text-rendering: optimizeLegibility;
font-size: 14px;
font-weight: bold;}
.captionClass{
padding: 0 10px;
color: white;
text-shadow: 0 1px rgba(0, 0, 0, 0.2);
border-width: 1px 1px 1px 0px;
border-style: solid;
border-color: #4bc1d2 #13AEC4 #5CCADA;
background-color: #4bc1d2;
background-image: -ms-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: -moz-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: -o-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.6, #4BC1D2), color-stop(1, #5ADAEC));
background-image: -webkit-linear-gradient(top, #4BC1D2 60%, #5ADAEC 100%);
background-image: linear-gradient(to bottom, #4BC1D2 60%, #5ADAEC 100%);
-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px rgba(0, 0, 0, 0.04);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px rgba(0, 0, 0, 0.04);
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
text-rendering: optimizeLegibility;
font-size: 14px;
font-weight: bold;
}
.table-body>tr:nth-child(2n) {
background-color: #f9f9f9;
}
.table-body>tr>td
{padding: 0 10px;
border-right: 1px solid #eee;
border-right-color: rgba(0, 0, 0, 0.07);
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 12px;
text-shadow: 0 1px white;
/* text-shadow: 0 1px 1px rgba(255, 255, 255, .5); */
text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
text-rendering: optimizeLegib
}
/*Green*/
.green-Btn {
/*position: relative;*/
color: white;
line-height: 28px;
text-decoration: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.08);
background-color: #4EBD4A;
}
.green-Btn:hover {
color: white;
background-color: #6bc868;
}
.green-Btn:active {
color: white;
background-color: #3c9b39;
}
/*Red*/
.red-Btn {
/*position: relative;*/
color: white;
line-height: 28px;
text-decoration: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.08);
background-color: #ee4f3d;
}
.red-Btn:hover {
color: white;
background-color: #f17163;
}
.red-Btn:active {
color: white;
background-color: #e42914;
}
/*
* Use for Pophelp jsp
*/
.pophelp-Header {
position: absolute;
width : 100%;
height: 7%;
top: 0;
overflow: hidden;
background-color: #4bc1d2;
z-index: 1;
}
.pophelp-Container {
position: absolute;
max-width: 100%;
width: 100%;
height: 84%;
top: 7%;
overflow: auto;
/* background-color: white;
background-color: rgba(255, 255, 255, .50); */
}
.pophelp-Contents{
padding: 10px;
}
.pophelp-Footer {
position: absolute;
width : 100%;
height: 8%;
bottom: 0;
overflow: hidden;
background-color: white;
background-color: rgba(255, 255, 255, .75);
z-index: 1;
}
.pophelp-okcancel {
float: right;
right: 10px;
top: 17%;
bottom: 5px;
}
.pophelp-headerTitle {
height: 28px;
padding: 10px;
position: absolute;
color: white;
line-height: 28px;
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 18px;
text-rendering: optimizeLegibility;
text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
}
.headerPage-Container,
.footerPage-Container {
position: relative;
padding-right: 10px;
margin: 0px auto;
height: 15%;
background-color: white;
background-color: rgba(255, 255, 255, .5);
}
.pophelp-refresh {
float: left;
left: 10px;
top: 17%;
}
/** popup Div */
.popDiv{
height: 40px;
width: 100%;
margin: 0 auto;
background-color: white;
background-color: rgba(255, 255, 255, .75);
}
\ No newline at end of file
/*! jQuery UI - v1.10.4 - 2014-04-17
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
/* f6a828 */
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("images/animated-overlay.gif");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#4BC1D2 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #fbcb09;background:#fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#c77405}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fed22f;background:#ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat;color:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ef8c08_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
\ No newline at end of file
var weekend = [0];
var weekendColor = "#e0e0e0";
var fontface = "Verdana";
var fontsize = 2;
var DateArray= new Array();
var yforArray= new Array();
var gNow = new Date();
var ggWinCal;
var gTime = "";
var gDate= "";
isNav = (navigator.appName.indexOf("Netscape") != -1) ? true : false;
isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
Calendar.Months = ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"];
// Non-Leap year Month days..
Calendar.DOMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
// Leap year Month days..
Calendar.lDOMonth = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
function Calendar(p_item, p_WinCal, p_month, p_year, p_format) {
if ((p_month == null) && (p_year == null)) return;
if (p_WinCal == null)
this.gWinCal = ggWinCal;
else
this.gWinCal = p_WinCal;
if (p_month == null) {
this.gMonthName = null;
this.gMonth = null;
this.gYearly = true;
} else {
this.gMonthName = Calendar.get_month(p_month);
this.gMonth = new Number(p_month);
this.gYearly = false;
}
this.gYear = p_year;
this.gFormat = p_format;
this.gBGColor = "white";
this.gFGColor = "black";
this.gTextColor = "black";
this.gHeaderColor = "black";
this.gReturnItem = p_item;
}
Calendar.get_month = Calendar_get_month;
Calendar.get_daysofmonth = Calendar_get_daysofmonth;
Calendar.calc_month_year = Calendar_calc_month_year;
Calendar.print = Calendar_print;
function Calendar_get_month(monthNo) {
return Calendar.Months[monthNo];
}
function Calendar_get_daysofmonth(monthNo, p_year) {
/*
Check for leap year ..
1.Years evenly divisible by four are normally leap years, except for...
2.Years also evenly divisible by 100 are not leap years, except for...
3.Years also evenly divisible by 400 are leap years.
*/
if ((p_year % 4) == 0) {
if ((p_year % 100) == 0 && (p_year % 400) != 0)
return Calendar.DOMonth[monthNo];
return Calendar.lDOMonth[monthNo];
} else
return Calendar.DOMonth[monthNo];
}
function Calendar_calc_month_year(p_Month, p_Year, incr) {
/*
Will return an 1-D array with 1st element being the calculated month
and second being the calculated year
after applying the month increment/decrement as specified by 'incr' parameter.
'incr' will normally have 1/-1 to navigate thru the months.
*/
var ret_arr = new Array();
if (incr == -1) {
// B A C K W A R D
if (p_Month == 0) {
ret_arr[0] = 11;
ret_arr[1] = parseInt(p_Year) - 1;
}
else {
ret_arr[0] = parseInt(p_Month) - 1;
ret_arr[1] = parseInt(p_Year);
}
} else if (incr == 1) {
// F O R W A R D
if (p_Month == 11) {
ret_arr[0] = 0;
ret_arr[1] = parseInt(p_Year) + 1;
}
else {
ret_arr[0] = parseInt(p_Month) + 1;
ret_arr[1] = parseInt(p_Year);
}
}
return ret_arr;
}
function Calendar_print() {
ggWinCal.print();
}
function Calendar_calc_month_year(p_Month, p_Year, incr) {
/*
Will return an 1-D array with 1st element being the calculated month
and second being the calculated year
after applying the month increment/decrement as specified by 'incr' parameter.
'incr' will normally have 1/-1 to navigate thru the months.
*/
var ret_arr = new Array();
if (incr == -1) {
// B A C K W A R D
if (p_Month == 0) {
ret_arr[0] = 11;
ret_arr[1] = parseInt(p_Year) - 1;
}
else {
ret_arr[0] = parseInt(p_Month) - 1;
ret_arr[1] = parseInt(p_Year);
}
} else if (incr == 1) {
// F O R W A R D
if (p_Month == 11) {
ret_arr[0] = 0;
ret_arr[1] = parseInt(p_Year) + 1;
}
else {
ret_arr[0] = parseInt(p_Month) + 1;
ret_arr[1] = parseInt(p_Year);
}
}
return ret_arr;
}
// This is for compatibility with Navigator 3, we have to create and discard one object before the prototype object exists.
new Calendar();
Calendar.prototype.getMonthlyCalendarCode = function() {
var vCode = "";
var vHeader_Code = "";
var vData_Code = "";
// Begin Table Drawing code here..
vCode = vCode + "<TABLE BORDER=1 BGCOLOR=\"" + this.gBGColor + "\">";
vHeader_Code = this.cal_header();
vData_Code = this.cal_data();
vCode = vCode + vHeader_Code + vData_Code;
vCode = vCode + "</TABLE>";
return vCode;
}
Calendar.prototype.show = function() {
var vCode = "";
this.gWinCal.document.open();
// Setup the page...
this.wwrite("<html>");
this.wwrite("<head><title>Calendar</title>");
this.wwrite("</head>");
this.wwrite("<body bgcolor=\"#D6D2C7\" " +
"link=\"" + this.gLinkColor + "\" " +
"vlink=\"" + this.gLinkColor + "\" " +
"alink=\"" + this.gLinkColor + "\" " +
"text=\"" + this.gTextColor + "\">");
this.wwriteA("<FONT FACE='" + fontface + "' SIZE=2><B>");
this.wwriteA(this.gMonthName + " " + this.gYear);
this.wwriteA("</B><BR>");
// Show navigation buttons
var prevMMYYYY = Calendar.calc_month_year(this.gMonth, this.gYear, -1);
var prevMM = prevMMYYYY[0];
var prevYYYY = prevMMYYYY[1];
var nextMMYYYY = Calendar.calc_month_year(this.gMonth, this.gYear, 1);
var nextMM = nextMMYYYY[0];
var nextYYYY = nextMMYYYY[1];
this.wwrite("<TABLE WIDTH='100%' BORDER=1 CELLSPACING=0 CELLPADDING=0 BGCOLOR='#e0e0e0'><TR><TD ALIGN=center>");
this.wwrite("<font size=\"1\"><A HREF=\"" +
"javascript:window.opener.Build(" +
"'" + this.gReturnItem + "', '" + this.gMonth + "', '" + (parseInt(this.gYear)-1) + "', '" + this.gFormat + "'" +
");" +
"\"><B>Prev Yr</B><\/A></font></TD><TD ALIGN=center>");
this.wwrite("<font size=\"1\"><A HREF=\"" +
"javascript:window.opener.Build(" +
"'" + this.gReturnItem + "', '" + prevMM + "', '" + prevYYYY + "', '" + this.gFormat + "'" +
");" +
"\"><B>Prev Mth</B><\/A></font></TD><TD ALIGN=center>");
//this.wwrite("[<A HREF=\"javascript:window.print();\">Print</A>]</TD><TD ALIGN=center>");
this.wwrite("<font size=\"1\"><A HREF=\"" +
"javascript:window.opener.Build(" +
"'" + this.gReturnItem + "', '" + nextMM + "', '" + nextYYYY + "', '" + this.gFormat + "'" +
");" +
"\"><B>Next Mth</B><\/A></font></TD><TD ALIGN=center>");
this.wwrite("<font size=\"1\"><A HREF=\"" +
"javascript:window.opener.Build(" +
"'" + this.gReturnItem + "', '" + this.gMonth + "', '" + (parseInt(this.gYear)+1) + "', '" + this.gFormat + "'" +
");" +
"\"><B>Next Yr</B><\/A></font></TD></TR></TABLE><BR>");
// Get the complete calendar code for the month..
vCode = this.getMonthlyCalendarCode();
this.wwrite(vCode);
//Changed by Madhup on 05/03/2007 to handle timestamp.Start
//this.wwrite("</font></body></html>");
var date = new Date()
var hour = (date.getHours() <= 9)?("0"+date.getHours()):date.getHours();
var minutes = date.getMinutes() <= 9?("0"+date.getMinutes()):date.getMinutes();
var seconds = date.getSeconds() <=9?("0"+date.getSeconds()):date.getSeconds()
this.wwrite("<script> var prevSelTd =null;function setSelectionTd( obj ){ if( obj.className != 'selectedDate' ) { obj.className = 'selectedDate';obj.childNodes.item(0).firstChild.className = 'selectedDate' } if( prevSelTd != null && prevSelTd != obj ) { prevSelTd.className = 'deSelectedDate'; prevSelTd.childNodes.item(0).firstChild.className = 'deSelectedDate' } prevSelTd = obj;} </script>");
this.wwrite("<style>.selectedDate{color: #FFFFFF; background-color: darkblue;} .deSelectedDate{color:black;background-color: #FFFFFF;} </style>");
this.wwrite("</font>");
this.wwrite("</body></html>");
//Changed by Madhup on 05/03/2007 to handle timestamp.End
this.gWinCal.document.close();
}
Calendar.prototype.showY = function() {
var vCode = "";
var i;
var vr, vc, vx, vy; // Row, Column, X-coord, Y-coord
var vxf = 285; // X-Factor
var vyf = 200; // Y-Factor
var vxm = 10; // X-margin
var vym; // Y-margin
if (isIE) vym = 75;
else if (isNav) vym = 25;
//this.gWinCal.document.open();
this.wwrite("<html>");
this.wwrite("<head><title>Calendar</title>");
this.wwrite("<style type='text/css'>\n<!--");
for (i=0; i<12; i++) {
vc = i % 3;
if (i>=0 && i<= 2) vr = 0;
if (i>=3 && i<= 5) vr = 1;
if (i>=6 && i<= 8) vr = 2;
if (i>=9 && i<= 11) vr = 3;
vx = parseInt(vxf * vc) + vxm;
vy = parseInt(vyf * vr) + vym;
this.wwrite(".lclass" + i + " {position:absolute;top:" + vy + ";left:" + vx + ";}");
}
this.wwrite("-->\n</style>");
this.wwrite("</head>");
this.wwrite("<body " +
"link=\"" + this.gLinkColor + "\" " +
"vlink=\"" + this.gLinkColor + "\" " +
"alink=\"" + this.gLinkColor + "\" " +
"text=\"" + this.gTextColor + "\">");
this.wwrite("<FONT FACE='" + fontface + "' SIZE=2><B>");
this.wwrite("Year : " + this.gYear);
this.wwrite("</B><BR>");
// Show navigation buttons
var prevYYYY = parseInt(this.gYear) - 1;
var nextYYYY = parseInt(this.gYear) + 1;
this.wwrite("<TABLE WIDTH='100%' BORDER=1 CELLSPACING=0 CELLPADDING=0 BGCOLOR='#e0e0e0'><TR><TD ALIGN=center>");
this.wwrite("[<A HREF=\"" +
"javascript:window.opener.Build(" +
"'" + this.gReturnItem + "', null, '" + prevYYYY + "', '" + this.gFormat + "'" +
");" +
"\" alt='Prev Year'><<<\/A>]</TD><TD ALIGN=center>");
//this.wwrite("[<A HREF=\"javascript:window.print();\">Print</A>]</TD><TD ALIGN=center>");
this.wwrite("[<A HREF=\"" +
"javascript:window.opener.Build(" +
"'" + this.gReturnItem + "', null, '" + nextYYYY + "', '" + this.gFormat + "'" +
");" +
"\">>><\/A>]</TD></TR></TABLE><BR>");
// Get the complete calendar code for each month..
var j;
for (i=11; i>=0; i--) {
if (isIE)
this.wwrite("<DIV ID=\"layer" + i + "\" CLASS=\"lclass" + i + "\">");
else if (isNav)
this.wwrite("<LAYER ID=\"layer" + i + "\" CLASS=\"lclass" + i + "\">");
this.gMonth = i;
this.gMonthName = Calendar.get_month(this.gMonth);
vCode = this.getMonthlyCalendarCode();
this.wwrite(this.gMonthName + "/" + this.gYear + "<BR>");
this.wwrite(vCode);
if (isIE)
this.wwrite("</DIV>");
else if (isNav)
this.wwrite("</LAYER>");
}
this.wwrite("</font><BR></body></html>");
this.gWinCal.document.close();
}
Calendar.prototype.wwrite = function(wtext) {
this.gWinCal.document.writeln(wtext);
}
Calendar.prototype.wwriteA = function(wtext) {
this.gWinCal.document.write(wtext);
}
Calendar.prototype.cal_header = function() {
var vCode = "";
vCode = vCode + "<TR>";
vCode = vCode + "<TD WIDTH='14%'><FONT SIZE='2' FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Sun</B></FONT></TD>";
vCode = vCode + "<TD WIDTH='14%'><FONT SIZE='2' FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Mon</B></FONT></TD>";
vCode = vCode + "<TD WIDTH='14%'><FONT SIZE='2' FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Tue</B></FONT></TD>";
vCode = vCode + "<TD WIDTH='14%'><FONT SIZE='2' FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Wed</B></FONT></TD>";
vCode = vCode + "<TD WIDTH='14%'><FONT SIZE='2' FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Thu</B></FONT></TD>";
vCode = vCode + "<TD WIDTH='14%'><FONT SIZE='2' FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Fri</B></FONT></TD>";
vCode = vCode + "<TD WIDTH='16%'><FONT SIZE='2' FACE='" + fontface + "' COLOR='" + this.gHeaderColor + "'><B>Sat</B></FONT></TD>";
vCode = vCode + "</TR>";
return vCode;
}
Calendar.prototype.cal_data = function() {
var vDate = new Date();
vDate.setDate(1);
vDate.setMonth(this.gMonth);
vDate.setFullYear(this.gYear);
var vFirstDay=vDate.getDay();
var vDay=1;
var vLastDay=Calendar.get_daysofmonth(this.gMonth, this.gYear);
var vOnLastDay=0;
var vCode = "";
/*
Get day for the 1st of the requested month/year..
Place as many blank cells before the 1st day of the month as necessary.
*/
vCode = vCode + "<TR>";
for (i=0; i<vFirstDay; i++) {
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(i) + "><FONT SIZE='2' FACE='" + fontface + "'> </FONT></TD>";
}
for (j=vFirstDay; j<7; j++) {
//@Vidhya on 28/10/09[for Mozilla compatibility] Start
//vCode = vCode + "<TD onClick ='window.opener.gDate=this.id;setSelectionTd(this);' class ='' id ='"+this.format_data(vDay)+"' WIDTH='14%'" + this.write_weekend_string(j) + "><FONT SIZE='2' FACE='" + fontface + "'>" +
//"<A HREF='#' class =''" +
vCode = vCode + "<TD class ='' id ='"+this.format_data(vDay)+"' WIDTH='14%'" + this.write_weekend_string(j) + "><FONT SIZE='2' FACE='" + fontface + "'>" +
"<A HREF='javascript:void(0)' class =''" +
"onDblClick=\"window.opener.assignDate('"+this.format_data(vDay)+"');window.close();\">" +
this.format_day(vDay) +
"</A>" +
"</FONT></TD>";
vDay=vDay + 1;
}
vCode = vCode + "</TR>";
// Write the rest of the weeks
for (k=2; k<7; k++) {
vCode = vCode + "<TR>";
for (j=0; j<7; j++) {
//@Vidhya on 28/10/09[for mozilla compatibility] Start
//vCode = vCode + "<TD onClick ='window.opener.gDate=this.id;setSelectionTd(this);' class ='' id ='"+this.format_data(vDay)+"' WIDTH='14%'" + this.write_weekend_string(j) + "><FONT SIZE='2' FACE='" + fontface + "'>" +
//"<A HREF='#' class =''" +
vCode = vCode + "<TD class ='' id ='"+this.format_data(vDay)+"' WIDTH='14%'" + this.write_weekend_string(j) + "><FONT SIZE='2' FACE='" + fontface + "'>" +
"<A HREF='javascript:void(0)' class =''" +
"onDblClick=\"window.opener.assignDate('"+this.format_data(vDay)+"');window.close();\">" +
this.format_day(vDay) +
"</A>" +
"</FONT></TD>";
vDay=vDay + 1;
if (vDay > vLastDay) {
vOnLastDay = 1;
break;
}
}
if (j == 6)
vCode = vCode + "</TR>";
if (vOnLastDay == 1)
break;
}
// Fill up the rest of last week with proper blanks, so that we get proper square blocks
for (m=1; m<(7-j); m++) {
if (this.gYearly)
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(j+m) +
"><FONT SIZE='2' FACE='" + fontface + "' COLOR='gray'> </FONT></TD>";
else
vCode = vCode + "<TD WIDTH='14%'" + this.write_weekend_string(j+m) +
"><FONT SIZE='2' FACE='" + fontface + "' COLOR='gray'>" + m + "</FONT></TD>";
}
return vCode;
}
Calendar.prototype.format_day = function(vday) {
var vNowDay = gNow.getDate();
var vNowMonth = gNow.getMonth();
var vNowYear = gNow.getFullYear();
if (vday == vNowDay && this.gMonth == vNowMonth && this.gYear == vNowYear)
return ("<FONT COLOR=\"RED\"><B>" + vday + "</B></FONT>");
else
return (vday);
}
Calendar.prototype.write_weekend_string = function(vday) {
var i;
// Return special formatting for the weekend day.
for (i=0; i<weekend.length; i++) {
if (vday == weekend[i])
return (" BGCOLOR=\"" + weekendColor + "\"");
}
return "";
}
Calendar.prototype.format_data = function(p_day) {
var vData;
var vMonth = 1 + this.gMonth;
vMonth = (vMonth.toString().length < 2) ? "0" + vMonth : vMonth;
var vMon = Calendar.get_month(this.gMonth).substr(0,3);
var vFMon = Calendar.get_month(this.gMonth).toUpperCase();
var vY4 = new String(this.gYear);
var vY2 = new String(this.gYear.substr(2,2));
var vDD = (p_day.toString().length < 2) ? "0" + p_day : p_day;
switch (this.gFormat) {
case "MM\/DD\/YYYY" :
vData = vMonth + "\/" + vDD + "\/" + vY4;
break;
case "MM\/DD\/YY" :
vData = vMonth + "\/" + vDD + "\/" + vY2;
break;
case "MM-DD-YYYY" :
vData = vMonth + "-" + vDD + "-" + vY4;
break;
case "MM-DD-YY" :
vData = vMonth + "-" + vDD + "-" + vY2;
break;
case "DD\/MON\/YYYY" :
vData = vDD + "\/" + vMon + "\/" + vY4;
break;
case "DD\/MON\/YY" :
vData = vDD + "\/" + vMon + "\/" + vY2;
break;
case "dd-MMM-yyyy" :
this.gFormat = "DD-MON-YYYY";
case "DD-MON-YYYY" :
vData = vDD + "-" + vMon + "-" + vY4;
break;
case "DD-MON-YY" :
vData = vDD + "-" + vMon + "-" + vY2;
break;
case "DD\/MONTH\/YYYY" :
vData = vDD + "\/" + vFMon + "\/" + vY4;
break;
case "DD\/MONTH\/YY" :
vData = vDD + "\/" + vFMon + "\/" + vY2;
break;
case "DD-MONTH-YYYY" :
vData = vDD + "-" + vFMon + "-" + vY4;
break;
case "DD-MONTH-YY" :
vData = vDD + "-" + vFMon + "-" + vY2;
break;
case "DD\/MM\/YYYY" :
vData = vDD + "\/" + vMonth + "\/" + vY4;
break;
case "DD\/MM\/YY" :
vData = vDD + "\/" + vMonth + "\/" + vY2;
break;
case "DD-MM-YYYY" :
vData = vDD + "-" + vMonth + "-" + vY4;
break;
case "DD-MM-YY" :
vData = vDD + "-" + vMonth + "-" + vY2;
break;
case "dd/MM/yy" :
vData = vDD + "/" + vMonth + "/" + vY2;
break;
default :
vData = vMonth + "\/" + vDD + "\/" + vY4;
}
return vData;
}
function Build(p_item, p_month, p_year, p_format) {
var p_WinCal = ggWinCal;
gCal = new Calendar(p_item, p_WinCal, p_month, p_year, p_format);
// Customize your Calendar here..
gCal.gBGColor="white";
gCal.gLinkColor="black";
gCal.gTextColor="black";
gCal.gHeaderColor="darkgreen";
gDate = gCal.format_data( new Date().getDate() );
// Choose appropriate show function
if (gCal.gYearly) gCal.showY();
else { gCal.show(); }
}
function show_calendar() {
/*
p_month : 0-11 for Jan-Dec; 12 for All Months.
p_year : 4-digit year
p_format: Date format (mm/dd/yyyy, dd/mm/yy, ...)
p_item : Return Item.
*/
p_item = arguments[0]; // text box which will contain date
if (arguments[1] == "" || arguments[1] == null)
p_month = new String(gNow.getMonth());
else
p_month = arguments[1];
if (arguments[2] == "" || arguments[2] == null)
p_year = new String(gNow.getFullYear().toString());
else
p_year = arguments[2];
if (arguments[3] == "" || arguments[3] == null)
p_format = "DD/MM/YY";
else
p_format = arguments[3];
vWinCal = window.open("", "Calendar",
"width=250,height=220,status=no,resizable=no,top="+calendertop+",left="+calenderleft);
global_date_type = arguments[4];
vWinCal.opener = self;
ggWinCal = vWinCal;
Build(p_item, p_month, p_year, p_format);
return false ;
}
/*
Yearly Calendar Code Starts here
*/
function show_yearly_calendar(p_item, p_year, p_format) {
// Load the defaults..
if (p_year == null || p_year == "")
p_year = new String(gNow.getFullYear().toString());
if (p_format == null || p_format == "")
p_format = "DD-MON-YYYY";
var vWinCal = window.open("", "Calendar", "scrollbars=yes");
vWinCal.opener = self;
ggWinCal = vWinCal;
Build(p_item, null, p_year, p_format);
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/*!
* jQuery UI Accordion 1.9.0-beta.1
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Accordion
*
* Depends:
* jquery.ui.core.js
* jquery.ui.widget.js
*/
(function( $, undefined ) {
var uid = 0,
hideProps = {},
showProps = {},
showPropsAdjust = {};
hideProps.height = hideProps.paddingTop = hideProps.paddingBottom =
hideProps.borderTopWidth = hideProps.borderBottomWidth = "hide";
showProps.height = showProps.paddingTop = showProps.paddingBottom =
showProps.borderTopWidth = showProps.borderBottomWidth = "show";
$.extend( showPropsAdjust, showProps, { accordionHeight: "show" } );
$.fx.step.accordionHeight = function( fx ) {
var elem = $( fx.elem ),
data = elem.data( "ui-accordion-height" );
elem.height( data.total - elem.outerHeight() - data.toHide.outerHeight() + elem.height() );
};
$.widget( "ui.accordion", {
version: "1.9.0-beta.1",
options: {
active: 0,
animate: {},
collapsible: false,
event: "click",
header: "> li > :first-child,> :not(li):even",
heightStyle: "auto",
icons: {
activeHeader: "ui-icon-triangle-1-s",
header: "ui-icon-triangle-1-e"
},
// callbacks
activate: null,
beforeActivate: null
},
_create: function() {
var accordionId = this.accordionId = "ui-accordion-" +
(this.element.attr( "id" ) || ++uid),
options = this.options;
this.prevShow = this.prevHide = $();
this.element.addClass( "ui-accordion ui-widget ui-helper-reset" );
this.headers = this.element.find( options.header )
.addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" );
this._hoverable( this.headers );
this._focusable( this.headers );
this.headers.next()
.addClass( "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" )
.hide();
// don't allow collapsible: false and active: false
if ( !options.collapsible && options.active === false ) {
options.active = 0;
}
// handle negative values
if ( options.active < 0 ) {
options.active += this.headers.length;
}
this.active = this._findActive( options.active )
.addClass( "ui-accordion-header-active ui-state-active" )
.toggleClass( "ui-corner-all ui-corner-top" );
this.active.next()
.addClass( "ui-accordion-content-active" )
.show();
this._createIcons();
this.originalHeight = this.element[0].style.height;
this.refresh();
// ARIA
this.element.attr( "role", "tablist" );
this.headers
.attr( "role", "tab" )
.each(function( i ) {
var header = $( this ),
headerId = header.attr( "id" ),
panel = header.next(),
panelId = panel.attr( "id" );
if ( !headerId ) {
headerId = accordionId + "-header-" + i;
header.attr( "id", headerId );
}
if ( !panelId ) {
panelId = accordionId + "-panel-" + i;
panel.attr( "id", panelId );
}
header.attr( "aria-controls", panelId );
panel.attr( "aria-labelledby", headerId );
})
.next()
.attr( "role", "tabpanel" );
this.headers
.not( this.active )
.attr({
"aria-selected": "false",
tabIndex: -1
})
.next()
.attr({
"aria-expanded": "false",
"aria-hidden": "true"
})
.hide();
// make sure at least one header is in the tab order
if ( !this.active.length ) {
this.headers.eq( 0 ).attr( "tabIndex", 0 );
} else {
this.active.attr({
"aria-selected": "true",
tabIndex: 0
})
.next()
.attr({
"aria-expanded": "true",
"aria-hidden": "false"
});
}
this._on( this.headers, { keydown: "_keydown" });
this._on( this.headers.next(), { keydown: "_panelKeyDown" });
this._setupEvents( options.event );
},
_getCreateEventData: function() {
return {
header: this.active,
content: !this.active.length ? $() : this.active.next()
};
},
_createIcons: function() {
var icons = this.options.icons;
if ( icons ) {
$( "<span>" )
.addClass( "ui-accordion-header-icon ui-icon " + icons.header )
.prependTo( this.headers );
this.active.children( ".ui-accordion-header-icon" )
.removeClass( icons.header )
.addClass( icons.activeHeader );
this.headers.addClass( "ui-accordion-icons" );
}
},
_destroyIcons: function() {
this.headers
.removeClass( "ui-accordion-icons" )
.children( ".ui-accordion-header-icon" )
.remove();
},
_destroy: function() {
var contents;
// clean up main element
this.element
.removeClass( "ui-accordion ui-widget ui-helper-reset" )
.removeAttr( "role" );
// clean up headers
this.headers
.removeClass( "ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top" )
.removeAttr( "role" )
.removeAttr( "aria-selected" )
.removeAttr( "aria-controls" )
.removeAttr( "tabIndex" )
.each(function() {
if ( /^ui-accordion/.test( this.id ) ) {
this.removeAttribute( "id" );
}
});
this._destroyIcons();
// clean up content panels
contents = this.headers.next()
.css( "display", "" )
.removeAttr( "role" )
.removeAttr( "aria-expanded" )
.removeAttr( "aria-hidden" )
.removeAttr( "aria-labelledby" )
.removeClass( "ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled" )
.each(function() {
if ( /^ui-accordion/.test( this.id ) ) {
this.removeAttribute( "id" );
}
});
if ( this.options.heightStyle !== "content" ) {
this.element.css( "height", this.originalHeight );
contents.css( "height", "" );
}
},
_setOption: function( key, value ) {
if ( key === "active" ) {
// _activate() will handle invalid values and update this.options
this._activate( value );
return;
}
if ( key === "event" ) {
if ( this.options.event ) {
this._off( this.headers, this.options.event );
}
this._setupEvents( value );
}
this._super( key, value );
// setting collapsible: false while collapsed; open first panel
if ( key === "collapsible" && !value && this.options.active === false ) {
this._activate( 0 );
}
if ( key === "icons" ) {
this._destroyIcons();
if ( value ) {
this._createIcons();
}
}
// #5332 - opacity doesn't cascade to positioned elements in IE
// so we need to add the disabled class to the headers and panels
if ( key === "disabled" ) {
this.headers.add( this.headers.next() )
.toggleClass( "ui-state-disabled", !!value );
}
},
_keydown: function( event ) {
if ( event.altKey || event.ctrlKey ) {
return;
}
var keyCode = $.ui.keyCode,
length = this.headers.length,
currentIndex = this.headers.index( event.target ),
toFocus = false;
switch ( event.keyCode ) {
case keyCode.RIGHT:
case keyCode.DOWN:
toFocus = this.headers[ ( currentIndex + 1 ) % length ];
break;
case keyCode.LEFT:
case keyCode.UP:
toFocus = this.headers[ ( currentIndex - 1 + length ) % length ];
break;
case keyCode.SPACE:
case keyCode.ENTER:
this._eventHandler( event );
break;
case keyCode.HOME:
toFocus = this.headers[ 0 ];
break;
case keyCode.END:
toFocus = this.headers[ length - 1 ];
break;
}
if ( toFocus ) {
$( event.target ).attr( "tabIndex", -1 );
$( toFocus ).attr( "tabIndex", 0 );
toFocus.focus();
event.preventDefault();
}
},
_panelKeyDown : function( event ) {
if ( event.keyCode === $.ui.keyCode.UP && event.ctrlKey ) {
$( event.currentTarget ).prev().focus();
}
},
refresh: function() {
var maxHeight, overflow,
heightStyle = this.options.heightStyle,
parent = this.element.parent();
this.element.css( "height", this.originalHeight );
if ( heightStyle === "fill" ) {
// IE 6 treats height like minHeight, so we need to turn off overflow
// in order to get a reliable height
// we use the minHeight support test because we assume that only
// browsers that don't support minHeight will treat height as minHeight
if ( !$.support.minHeight ) {
overflow = parent.css( "overflow" );
parent.css( "overflow", "hidden");
}
maxHeight = parent.height();
this.element.siblings( ":visible" ).each(function() {
var elem = $( this ),
position = elem.css( "position" );
if ( position === "absolute" || position === "fixed" ) {
return;
}
maxHeight -= elem.outerHeight( true );
});
if ( overflow ) {
parent.css( "overflow", overflow );
}
this.headers.each(function() {
maxHeight -= $( this ).outerHeight( true );
});
this.headers.next()
.each(function() {
$( this ).height( Math.max( 0, maxHeight -
$( this ).innerHeight() + $( this ).height() ) );
})
.css( "overflow", "auto" );
} else if ( heightStyle === "auto" ) {
maxHeight = 0;
this.headers.next()
.each(function() {
maxHeight = Math.max( maxHeight, $( this ).height( "" ).height() );
})
.height( maxHeight );
}
if ( heightStyle !== "content" ) {
this.element.height( this.element.height() );
}
},
_activate: function( index ) {
var active = this._findActive( index )[ 0 ];
// trying to activate the already active panel
if ( active === this.active[ 0 ] ) {
return;
}
// trying to collapse, simulate a click on the currently active header
active = active || this.active[ 0 ];
this._eventHandler({
target: active,
currentTarget: active,
preventDefault: $.noop
});
},
_findActive: function( selector ) {
return typeof selector === "number" ? this.headers.eq( selector ) : $();
},
_setupEvents: function( event ) {
var events = {};
if ( !event ) {
return;
}
$.each( event.split(" "), function( index, eventName ) {
events[ eventName ] = "_eventHandler";
});
this._on( this.headers, events );
},
_eventHandler: function( event ) {
var options = this.options,
active = this.active,
clicked = $( event.currentTarget ),
clickedIsActive = clicked[ 0 ] === active[ 0 ],
collapsing = clickedIsActive && options.collapsible,
toShow = collapsing ? $() : clicked.next(),
toHide = active.next(),
eventData = {
oldHeader: active,
oldPanel: toHide,
newHeader: collapsing ? $() : clicked,
newPanel: toShow
};
event.preventDefault();
if (
// click on active header, but not collapsible
( clickedIsActive && !options.collapsible ) ||
// allow canceling activation
( this._trigger( "beforeActivate", event, eventData ) === false ) ) {
return;
}
options.active = collapsing ? false : this.headers.index( clicked );
// when the call to ._toggle() comes after the class changes
// it causes a very odd bug in IE 8 (see #6720)
this.active = clickedIsActive ? $() : clicked;
this._toggle( eventData );
// switch classes
// corner classes on the previously active header stay after the animation
active.removeClass( "ui-accordion-header-active ui-state-active" );
if ( options.icons ) {
active.children( ".ui-accordion-header-icon" )
.removeClass( options.icons.activeHeader )
.addClass( options.icons.header );
}
if ( !clickedIsActive ) {
clicked
.removeClass( "ui-corner-all" )
.addClass( "ui-accordion-header-active ui-state-active ui-corner-top" );
if ( options.icons ) {
clicked.children( ".ui-accordion-header-icon" )
.removeClass( options.icons.header )
.addClass( options.icons.activeHeader );
}
clicked
.next()
.addClass( "ui-accordion-content-active" );
}
},
_toggle: function( data ) {
var toShow = data.newPanel,
toHide = this.prevShow.length ? this.prevShow : data.oldPanel;
// handle activating a panel during the animation for another activation
this.prevShow.add( this.prevHide ).stop( true, true );
this.prevShow = toShow;
this.prevHide = toHide;
if ( this.options.animate ) {
this._animate( toShow, toHide, data );
} else {
toHide.hide();
toShow.show();
this._toggleComplete( data );
}
toHide.attr({
"aria-expanded": "false",
"aria-hidden": "true"
});
toHide.prev().attr( "aria-selected", "false" );
// if we're switching panels, remove the old header from the tab order
// if we're opening from collapsed state, remove the previous header from the tab order
// if we're collapsing, then keep the collapsing header in the tab order
if ( toShow.length && toHide.length ) {
toHide.prev().attr( "tabIndex", -1 );
} else if ( toShow.length ) {
this.headers.filter(function() {
return $( this ).attr( "tabIndex" ) === 0;
})
.attr( "tabIndex", -1 );
}
toShow
.attr({
"aria-expanded": "true",
"aria-hidden": "false"
})
.prev()
.attr({
"aria-selected": "true",
tabIndex: 0
});
},
_animate: function( toShow, toHide, data ) {
var total, easing, duration,
that = this,
down = toShow.length &&
( !toHide.length || ( toShow.index() < toHide.index() ) ),
animate = this.options.animate || {},
options = down && animate.down || animate,
complete = function() {
toShow.removeData( "ui-accordion-height" );
that._toggleComplete( data );
};
if ( typeof options === "number" ) {
duration = options;
}
if ( typeof options === "string" ) {
easing = options;
}
// fall back from options to animation in case of partial down settings
easing = easing || options.easing || animate.easing;
duration = duration || options.duration || animate.duration;
if ( !toHide.length ) {
return toShow.animate( showProps, duration, easing, complete );
}
if ( !toShow.length ) {
return toHide.animate( hideProps, duration, easing, complete );
}
total = toShow.show().outerHeight();
toHide.animate( hideProps, duration, easing );
toShow
.hide()
.data( "ui-accordion-height", {
total: total,
toHide: toHide
})
.animate( this.options.heightStyle === "content" ? showProps : showPropsAdjust,
duration, easing, complete );
},
_toggleComplete: function( data ) {
var toHide = data.oldPanel;
toHide
.removeClass( "ui-accordion-content-active" )
.prev()
.removeClass( "ui-corner-top" )
.addClass( "ui-corner-all" );
// Work around for rendering bug in IE (#5421)
if ( toHide.length ) {
toHide.parent()[0].className = toHide.parent()[0].className;
}
this._trigger( "activate", null, data );
}
});
// DEPRECATED
if ( $.uiBackCompat !== false ) {
// navigation options
(function( $, prototype ) {
$.extend( prototype.options, {
navigation: false,
navigationFilter: function() {
return this.href.toLowerCase() === location.href.toLowerCase();
}
});
var _create = prototype._create;
prototype._create = function() {
if ( this.options.navigation ) {
var that = this,
headers = this.element.find( this.options.header ),
content = headers.next(),
current = headers.add( content )
.find( "a" )
.filter( this.options.navigationFilter )
[ 0 ];
if ( current ) {
headers.add( content ).each( function( index ) {
if ( $.contains( this, current ) ) {
that.options.active = Math.floor( index / 2 );
return false;
}
});
}
}
_create.call( this );
};
}( jQuery, jQuery.ui.accordion.prototype ) );
// height options
(function( $, prototype ) {
$.extend( prototype.options, {
heightStyle: null, // remove default so we fall back to old values
autoHeight: true, // use heightStyle: "auto"
clearStyle: false, // use heightStyle: "content"
fillSpace: false // use heightStyle: "fill"
});
var _create = prototype._create,
_setOption = prototype._setOption;
$.extend( prototype, {
_create: function() {
this.options.heightStyle = this.options.heightStyle ||
this._mergeHeightStyle();
_create.call( this );
},
_setOption: function( key, value ) {
if ( key === "autoHeight" || key === "clearStyle" || key === "fillSpace" ) {
this.options.heightStyle = this._mergeHeightStyle();
}
_setOption.apply( this, arguments );
},
_mergeHeightStyle: function() {
var options = this.options;
if ( options.fillSpace ) {
return "fill";
}
if ( options.clearStyle ) {
return "content";
}
if ( options.autoHeight ) {
return "auto";
}
}
});
}( jQuery, jQuery.ui.accordion.prototype ) );
// icon options
(function( $, prototype ) {
$.extend( prototype.options.icons, {
activeHeader: null, // remove default so we fall back to old values
headerSelected: "ui-icon-triangle-1-s"
});
var _createIcons = prototype._createIcons;
prototype._createIcons = function() {
if ( this.options.icons ) {
this.options.icons.activeHeader = this.options.icons.activeHeader ||
this.options.icons.headerSelected;
}
_createIcons.call( this );
};
}( jQuery, jQuery.ui.accordion.prototype ) );
// expanded active option, activate method
(function( $, prototype ) {
prototype.activate = prototype._activate;
var _findActive = prototype._findActive;
prototype._findActive = function( index ) {
if ( index === -1 ) {
index = false;
}
if ( index && typeof index !== "number" ) {
index = this.headers.index( this.headers.filter( index ) );
if ( index === -1 ) {
index = false;
}
}
return _findActive.call( this, index );
};
}( jQuery, jQuery.ui.accordion.prototype ) );
// resize method
jQuery.ui.accordion.prototype.resize = jQuery.ui.accordion.prototype.refresh;
// change events
(function( $, prototype ) {
$.extend( prototype.options, {
change: null,
changestart: null
});
var _trigger = prototype._trigger;
prototype._trigger = function( type, event, data ) {
var ret = _trigger.apply( this, arguments );
if ( !ret ) {
return false;
}
if ( type === "beforeActivate" ) {
ret = _trigger.call( this, "changestart", event, {
oldHeader: data.oldHeader,
oldContent: data.oldPanel,
newHeader: data.newHeader,
newContent: data.newPanel
});
} else if ( type === "activate" ) {
ret = _trigger.call( this, "change", event, {
oldHeader: data.oldHeader,
oldContent: data.oldPanel,
newHeader: data.newHeader,
newContent: data.newPanel
});
}
return ret;
};
}( jQuery, jQuery.ui.accordion.prototype ) );
// animated option
// NOTE: this only provides support for "slide", "bounceslide", and easings
// not the full $.ui.accordion.animations API
(function( $, prototype ) {
$.extend( prototype.options, {
animate: null,
animated: "slide"
});
var _create = prototype._create;
prototype._create = function() {
var options = this.options;
if ( options.animate === null ) {
if ( !options.animated ) {
options.animate = false;
} else if ( options.animated === "slide" ) {
options.animate = 300;
} else if ( options.animated === "bounceslide" ) {
options.animate = {
duration: 200,
down: {
easing: "easeOutBounce",
duration: 1000
}
};
} else {
options.animate = options.animated;
}
}
_create.call( this );
};
}( jQuery, jQuery.ui.accordion.prototype ) );
}
})( jQuery );
/*!
* jQuery UI Datepicker 1.8.24
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Datepicker
*
* Depends:
* jquery.ui.core.js
*/
(function( $, undefined ) {
$.extend($.ui, { datepicker: { version: "1.8.24" } });
var PROP_NAME = 'datepicker';
var dpuuid = new Date().getTime();
var instActive;
/* Date picker manager.
Use the singleton instance of this class, $.datepicker, to interact with the date picker.
Settings for (groups of) date pickers are maintained in an instance object,
allowing multiple different settings on the same page. */
function Datepicker() {
this.debug = false; // Change this to true to start debugging
this._curInst = null; // The current instance in use
this._keyEvent = false; // If the last event was a key event
this._disabledInputs = []; // List of date picker inputs that have been disabled
this._datepickerShowing = false; // True if the popup picker is showing , false if not
this._inDialog = false; // True if showing within a "dialog", false if not
this._mainDivId = 'ui-datepicker-div'; // The ID of the main datepicker division
this._inlineClass = 'ui-datepicker-inline'; // The name of the inline marker class
this._appendClass = 'ui-datepicker-append'; // The name of the append marker class
this._triggerClass = 'ui-datepicker-trigger'; // The name of the trigger marker class
this._dialogClass = 'ui-datepicker-dialog'; // The name of the dialog marker class
this._disableClass = 'ui-datepicker-disabled'; // The name of the disabled covering marker class
this._unselectableClass = 'ui-datepicker-unselectable'; // The name of the unselectable cell marker class
this._currentClass = 'ui-datepicker-current-day'; // The name of the current day marker class
this._dayOverClass = 'ui-datepicker-days-cell-over'; // The name of the day hover marker class
this.regional = []; // Available regional settings, indexed by language code
this.regional[''] = { // Default regional settings
closeText: 'Done', // Display text for close link
prevText: 'Prev', // Display text for previous month link
nextText: 'Next', // Display text for next month link
currentText: 'Today', // Display text for current month link
monthNames: ['January','February','March','April','May','June',
'July','August','September','October','November','December'], // Names of months for drop-down and formatting
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], // For formatting
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], // For formatting
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], // For formatting
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday
weekHeader: 'Wk', // Column header for week of the year
dateFormat: 'mm/dd/yy', // See format options on parseDate
firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
isRTL: false, // True if right-to-left language, false if left-to-right
showMonthAfterYear: false, // True if the year select precedes month, false for month then year
yearSuffix: '' // Additional text to append to the year in the month headers
};
this._defaults = { // Global defaults for all the date picker instances
showOn: 'focus', // 'focus' for popup on focus,
// 'button' for trigger button, or 'both' for either
showAnim: 'fadeIn', // Name of jQuery animation for popup
showOptions: {}, // Options for enhanced animations
defaultDate: null, // Used when field is blank: actual date,
// +/-number for offset from today, null for today
appendText: '', // Display text following the input box, e.g. showing the format
buttonText: '...', // Text for trigger button
buttonImage: '', // URL for trigger button image
buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
hideIfNoPrevNext: false, // True to hide next/previous month links
// if not applicable, false to just disable them
navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links
gotoCurrent: false, // True if today link goes back to current selection instead
changeMonth: false, // True if month can be selected directly, false if only prev/next
changeYear: false, // True if year can be selected directly, false if only prev/next
yearRange: 'c-10:c+10', // Range of years to display in drop-down,
// either relative to today's year (-nn:+nn), relative to currently displayed year
// (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)
showOtherMonths: false, // True to show dates in other months, false to leave blank
selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable
showWeek: false, // True to show week of the year, false to not show it
calculateWeek: this.iso8601Week, // How to calculate the week of the year,
// takes a Date and returns the number of the week for it
shortYearCutoff: '+10', // Short year values < this are in the current century,
// > this are in the previous century,
// string value starting with '+' for current year + value
minDate: null, // The earliest selectable date, or null for no limit
maxDate: null, // The latest selectable date, or null for no limit
duration: 'fast', // Duration of display/closure
beforeShowDay: null, // Function that takes a date and returns an array with
// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or '',
// [2] = cell title (optional), e.g. $.datepicker.noWeekends
beforeShow: null, // Function that takes an input field and
// returns a set of custom settings for the date picker
onSelect: null, // Define a callback function when a date is selected
onChangeMonthYear: null, // Define a callback function when the month or year is changed
onClose: null, // Define a callback function when the datepicker is closed
numberOfMonths: 1, // Number of months to show at a time
showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
stepMonths: 1, // Number of months to step back/forward
stepBigMonths: 12, // Number of months to step back/forward for the big links
altField: '', // Selector for an alternate field to store selected dates into
altFormat: '', // The date format to use for the alternate field
constrainInput: true, // The input is constrained by the current date format
showButtonPanel: false, // True to show button panel, false to not show it
autoSize: false, // True to size the input for the date format, false to leave as is
disabled: false // The initial disabled state
};
$.extend(this._defaults, this.regional['']);
this.dpDiv = bindHover($('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'));
}
$.extend(Datepicker.prototype, {
/* Class name added to elements to indicate already configured with a date picker. */
markerClassName: 'hasDatepicker',
//Keep track of the maximum number of rows displayed (see #7043)
maxRows: 4,
/* Debug logging (if enabled). */
log: function () {
if (this.debug)
console.log.apply('', arguments);
},
// TODO rename to "widget" when switching to widget factory
_widgetDatepicker: function() {
return this.dpDiv;
},
/* Override the default settings for all instances of the date picker.
@param settings object - the new settings to use as defaults (anonymous object)
@return the manager object */
setDefaults: function(settings) {
extendRemove(this._defaults, settings || {});
return this;
},
/* Attach the date picker to a jQuery selection.
@param target element - the target input field or division or span
@param settings object - the new settings to use for this date picker instance (anonymous) */
_attachDatepicker: function(target, settings) {
// check for settings on the control itself - in namespace 'date:'
var inlineSettings = null;
for (var attrName in this._defaults) {
var attrValue = target.getAttribute('date:' + attrName);
if (attrValue) {
inlineSettings = inlineSettings || {};
try {
inlineSettings[attrName] = eval(attrValue);
} catch (err) {
inlineSettings[attrName] = attrValue;
}
}
}
var nodeName = target.nodeName.toLowerCase();
var inline = (nodeName == 'div' || nodeName == 'span');
if (!target.id) {
this.uuid += 1;
target.id = 'dp' + this.uuid;
}
var inst = this._newInst($(target), inline);
inst.settings = $.extend({}, settings || {}, inlineSettings || {});
if (nodeName == 'input') {
this._connectDatepicker(target, inst);
} else if (inline) {
this._inlineDatepicker(target, inst);
}
},
/* Create a new instance object. */
_newInst: function(target, inline) {
var id = target[0].id.replace(/([^A-Za-z0-9_-])/g, '\\\\$1'); // escape jQuery meta chars
return {id: id, input: target, // associated target
selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
drawMonth: 0, drawYear: 0, // month being drawn
inline: inline, // is datepicker inline or not
dpDiv: (!inline ? this.dpDiv : // presentation div
bindHover($('<div class="' + this._inlineClass + ' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')))};
},
/* Attach the date picker to an input field. */
_connectDatepicker: function(target, inst) {
var input = $(target);
inst.append = $([]);
inst.trigger = $([]);
if (input.hasClass(this.markerClassName))
return;
this._attachments(input, inst);
input.addClass(this.markerClassName).keydown(this._doKeyDown).
keypress(this._doKeyPress).keyup(this._doKeyUp).
bind("setData.datepicker", function(event, key, value) {
inst.settings[key] = value;
}).bind("getData.datepicker", function(event, key) {
return this._get(inst, key);
});
this._autoSize(inst);
$.data(target, PROP_NAME, inst);
//If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
if( inst.settings.disabled ) {
this._disableDatepicker( target );
}
},
/* Make attachments based on settings. */
_attachments: function(input, inst) {
var appendText = this._get(inst, 'appendText');
var isRTL = this._get(inst, 'isRTL');
if (inst.append)
inst.append.remove();
if (appendText) {
inst.append = $('<span class="' + this._appendClass + '">' + appendText + '</span>');
input[isRTL ? 'before' : 'after'](inst.append);
}
input.unbind('focus', this._showDatepicker);
if (inst.trigger)
inst.trigger.remove();
var showOn = this._get(inst, 'showOn');
if (showOn == 'focus' || showOn == 'both') // pop-up date picker when in the marked field
input.focus(this._showDatepicker);
if (showOn == 'button' || showOn == 'both') { // pop-up date picker when button clicked
var buttonText = this._get(inst, 'buttonText');
var buttonImage = this._get(inst, 'buttonImage');
inst.trigger = $(this._get(inst, 'buttonImageOnly') ?
$('<img/>').addClass(this._triggerClass).
attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
$('<button type="button"></button>').addClass(this._triggerClass).
html(buttonImage == '' ? buttonText : $('<img/>').attr(
{ src:buttonImage, alt:buttonText, title:buttonText })));
input[isRTL ? 'before' : 'after'](inst.trigger);
inst.trigger.click(function() {
if ($.datepicker._datepickerShowing && $.datepicker._lastInput == input[0])
$.datepicker._hideDatepicker();
else if ($.datepicker._datepickerShowing && $.datepicker._lastInput != input[0]) {
$.datepicker._hideDatepicker();
$.datepicker._showDatepicker(input[0]);
} else
$.datepicker._showDatepicker(input[0]);
return false;
});
}
},
/* Apply the maximum length for the date format. */
_autoSize: function(inst) {
if (this._get(inst, 'autoSize') && !inst.inline) {
var date = new Date(2009, 12 - 1, 20); // Ensure double digits
var dateFormat = this._get(inst, 'dateFormat');
if (dateFormat.match(/[DM]/)) {
var findMax = function(names) {
var max = 0;
var maxI = 0;
for (var i = 0; i < names.length; i++) {
if (names[i].length > max) {
max = names[i].length;
maxI = i;
}
}
return maxI;
};
date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ?
'monthNames' : 'monthNamesShort'))));
date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
'dayNames' : 'dayNamesShort'))) + 20 - date.getDay());
}
inst.input.attr('size', this._formatDate(inst, date).length);
}
},
/* Attach an inline date picker to a div. */
_inlineDatepicker: function(target, inst) {
var divSpan = $(target);
if (divSpan.hasClass(this.markerClassName))
return;
divSpan.addClass(this.markerClassName).append(inst.dpDiv).
bind("setData.datepicker", function(event, key, value){
inst.settings[key] = value;
}).bind("getData.datepicker", function(event, key){
return this._get(inst, key);
});
$.data(target, PROP_NAME, inst);
this._setDate(inst, this._getDefaultDate(inst), true);
this._updateDatepicker(inst);
this._updateAlternate(inst);
//If disabled option is true, disable the datepicker before showing it (see ticket #5665)
if( inst.settings.disabled ) {
this._disableDatepicker( target );
}
// Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements
// http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height
inst.dpDiv.css( "display", "block" );
},
/* Pop-up the date picker in a "dialog" box.
@param input element - ignored
@param date string or Date - the initial date to display
@param onSelect function - the function to call when a date is selected
@param settings object - update the dialog date picker instance's settings (anonymous object)
@param pos int[2] - coordinates for the dialog's position within the screen or
event - with x/y coordinates or
leave empty for default (screen centre)
@return the manager object */
_dialogDatepicker: function(input, date, onSelect, settings, pos) {
var inst = this._dialogInst; // internal instance
if (!inst) {
this.uuid += 1;
var id = 'dp' + this.uuid;
this._dialogInput = $('<input type="text" id="' + id +
'" style="position: absolute; top: -100px; width: 0px;"/>');
this._dialogInput.keydown(this._doKeyDown);
$('body').append(this._dialogInput);
inst = this._dialogInst = this._newInst(this._dialogInput, false);
inst.settings = {};
$.data(this._dialogInput[0], PROP_NAME, inst);
}
extendRemove(inst.settings, settings || {});
date = (date && date.constructor == Date ? this._formatDate(inst, date) : date);
this._dialogInput.val(date);
this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);
if (!this._pos) {
var browserWidth = document.documentElement.clientWidth;
var browserHeight = document.documentElement.clientHeight;
var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
var scrollY = document.documentElement.scrollTop || document.body.scrollTop;
this._pos = // should use actual width/height below
[(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];
}
// move input on screen for focus, but hidden behind dialog
this._dialogInput.css('left', (this._pos[0] + 20) + 'px').css('top', this._pos[1] + 'px');
inst.settings.onSelect = onSelect;
this._inDialog = true;
this.dpDiv.addClass(this._dialogClass);
this._showDatepicker(this._dialogInput[0]);
if ($.blockUI)
$.blockUI(this.dpDiv);
$.data(this._dialogInput[0], PROP_NAME, inst);
return this;
},
/* Detach a datepicker from its control.
@param target element - the target input field or division or span */
_destroyDatepicker: function(target) {
var $target = $(target);
var inst = $.data(target, PROP_NAME);
if (!$target.hasClass(this.markerClassName)) {
return;
}
var nodeName = target.nodeName.toLowerCase();
$.removeData(target, PROP_NAME);
if (nodeName == 'input') {
inst.append.remove();
inst.trigger.remove();
$target.removeClass(this.markerClassName).
unbind('focus', this._showDatepicker).
unbind('keydown', this._doKeyDown).
unbind('keypress', this._doKeyPress).
unbind('keyup', this._doKeyUp);
} else if (nodeName == 'div' || nodeName == 'span')
$target.removeClass(this.markerClassName).empty();
},
/* Enable the date picker to a jQuery selection.
@param target element - the target input field or division or span */
_enableDatepicker: function(target) {
var $target = $(target);
var inst = $.data(target, PROP_NAME);
if (!$target.hasClass(this.markerClassName)) {
return;
}
var nodeName = target.nodeName.toLowerCase();
if (nodeName == 'input') {
target.disabled = false;
inst.trigger.filter('button').
each(function() { this.disabled = false; }).end().
filter('img').css({opacity: '1.0', cursor: ''});
}
else if (nodeName == 'div' || nodeName == 'span') {
var inline = $target.children('.' + this._inlineClass);
inline.children().removeClass('ui-state-disabled');
inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
removeAttr("disabled");
}
this._disabledInputs = $.map(this._disabledInputs,
function(value) { return (value == target ? null : value); }); // delete entry
},
/* Disable the date picker to a jQuery selection.
@param target element - the target input field or division or span */
_disableDatepicker: function(target) {
var $target = $(target);
var inst = $.data(target, PROP_NAME);
if (!$target.hasClass(this.markerClassName)) {
return;
}
var nodeName = target.nodeName.toLowerCase();
if (nodeName == 'input') {
target.disabled = true;
inst.trigger.filter('button').
each(function() { this.disabled = true; }).end().
filter('img').css({opacity: '0.5', cursor: 'default'});
}
else if (nodeName == 'div' || nodeName == 'span') {
var inline = $target.children('.' + this._inlineClass);
inline.children().addClass('ui-state-disabled');
inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
attr("disabled", "disabled");
}
this._disabledInputs = $.map(this._disabledInputs,
function(value) { return (value == target ? null : value); }); // delete entry
this._disabledInputs[this._disabledInputs.length] = target;
},
/* Is the first field in a jQuery collection disabled as a datepicker?
@param target element - the target input field or division or span
@return boolean - true if disabled, false if enabled */
_isDisabledDatepicker: function(target) {
if (!target) {
return false;
}
for (var i = 0; i < this._disabledInputs.length; i++) {
if (this._disabledInputs[i] == target)
return true;
}
return false;
},
/* Retrieve the instance data for the target control.
@param target element - the target input field or division or span
@return object - the associated instance data
@throws error if a jQuery problem getting data */
_getInst: function(target) {
try {
return $.data(target, PROP_NAME);
}
catch (err) {
throw 'Missing instance data for this datepicker';
}
},
/* Update or retrieve the settings for a date picker attached to an input field or division.
@param target element - the target input field or division or span
@param name object - the new settings to update or
string - the name of the setting to change or retrieve,
when retrieving also 'all' for all instance settings or
'defaults' for all global defaults
@param value any - the new value for the setting
(omit if above is an object or to retrieve a value) */
_optionDatepicker: function(target, name, value) {
var inst = this._getInst(target);
if (arguments.length == 2 && typeof name == 'string') {
return (name == 'defaults' ? $.extend({}, $.datepicker._defaults) :
(inst ? (name == 'all' ? $.extend({}, inst.settings) :
this._get(inst, name)) : null));
}
var settings = name || {};
if (typeof name == 'string') {
settings = {};
settings[name] = value;
}
if (inst) {
if (this._curInst == inst) {
this._hideDatepicker();
}
var date = this._getDateDatepicker(target, true);
var minDate = this._getMinMaxDate(inst, 'min');
var maxDate = this._getMinMaxDate(inst, 'max');
extendRemove(inst.settings, settings);
// reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
if (minDate !== null && settings['dateFormat'] !== undefined && settings['minDate'] === undefined)
inst.settings.minDate = this._formatDate(inst, minDate);
if (maxDate !== null && settings['dateFormat'] !== undefined && settings['maxDate'] === undefined)
inst.settings.maxDate = this._formatDate(inst, maxDate);
this._attachments($(target), inst);
this._autoSize(inst);
this._setDate(inst, date);
this._updateAlternate(inst);
this._updateDatepicker(inst);
}
},
// change method deprecated
_changeDatepicker: function(target, name, value) {
this._optionDatepicker(target, name, value);
},
/* Redraw the date picker attached to an input field or division.
@param target element - the target input field or division or span */
_refreshDatepicker: function(target) {
var inst = this._getInst(target);
if (inst) {
this._updateDatepicker(inst);
}
},
/* Set the dates for a jQuery selection.
@param target element - the target input field or division or span
@param date Date - the new date */
_setDateDatepicker: function(target, date) {
var inst = this._getInst(target);
if (inst) {
this._setDate(inst, date);
this._updateDatepicker(inst);
this._updateAlternate(inst);
}
},
/* Get the date(s) for the first entry in a jQuery selection.
@param target element - the target input field or division or span
@param noDefault boolean - true if no default date is to be used
@return Date - the current date */
_getDateDatepicker: function(target, noDefault) {
var inst = this._getInst(target);
if (inst && !inst.inline)
this._setDateFromField(inst, noDefault);
return (inst ? this._getDate(inst) : null);
},
/* Handle keystrokes. */
_doKeyDown: function(event) {
var inst = $.datepicker._getInst(event.target);
var handled = true;
var isRTL = inst.dpDiv.is('.ui-datepicker-rtl');
inst._keyEvent = true;
if ($.datepicker._datepickerShowing)
switch (event.keyCode) {
case 9: $.datepicker._hideDatepicker();
handled = false;
break; // hide on tab out
case 13: var sel = $('td.' + $.datepicker._dayOverClass + ':not(.' +
$.datepicker._currentClass + ')', inst.dpDiv);
if (sel[0])
$.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);
var onSelect = $.datepicker._get(inst, 'onSelect');
if (onSelect) {
var dateStr = $.datepicker._formatDate(inst);
// trigger custom callback
onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]);
}
else
$.datepicker._hideDatepicker();
return false; // don't submit the form
break; // select the value on enter
case 27: $.datepicker._hideDatepicker();
break; // hide on escape
case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
-$.datepicker._get(inst, 'stepBigMonths') :
-$.datepicker._get(inst, 'stepMonths')), 'M');
break; // previous month/year on page up/+ ctrl
case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
+$.datepicker._get(inst, 'stepBigMonths') :
+$.datepicker._get(inst, 'stepMonths')), 'M');
break; // next month/year on page down/+ ctrl
case 35: if (event.ctrlKey || event.metaKey) $.datepicker._clearDate(event.target);
handled = event.ctrlKey || event.metaKey;
break; // clear on ctrl or command +end
case 36: if (event.ctrlKey || event.metaKey) $.datepicker._gotoToday(event.target);
handled = event.ctrlKey || event.metaKey;
break; // current on ctrl or command +home
case 37: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), 'D');
handled = event.ctrlKey || event.metaKey;
// -1 day on ctrl or command +left
if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ?
-$.datepicker._get(inst, 'stepBigMonths') :
-$.datepicker._get(inst, 'stepMonths')), 'M');
// next month/year on alt +left on Mac
break;
case 38: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, -7, 'D');
handled = event.ctrlKey || event.metaKey;
break; // -1 week on ctrl or command +up
case 39: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), 'D');
handled = event.ctrlKey || event.metaKey;
// +1 day on ctrl or command +right
if (event.originalEvent.altKey) $.datepicker._adjustDate(event.target, (event.ctrlKey ?
+$.datepicker._get(inst, 'stepBigMonths') :
+$.datepicker._get(inst, 'stepMonths')), 'M');
// next month/year on alt +right
break;
case 40: if (event.ctrlKey || event.metaKey) $.datepicker._adjustDate(event.target, +7, 'D');
handled = event.ctrlKey || event.metaKey;
break; // +1 week on ctrl or command +down
default: handled = false;
}
else if (event.keyCode == 36 && event.ctrlKey) // display the date picker on ctrl+home
$.datepicker._showDatepicker(this);
else {
handled = false;
}
if (handled) {
event.preventDefault();
event.stopPropagation();
}
},
/* Filter entered characters - based on date format. */
_doKeyPress: function(event) {
var inst = $.datepicker._getInst(event.target);
if ($.datepicker._get(inst, 'constrainInput')) {
var chars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat'));
var chr = String.fromCharCode(event.charCode == undefined ? event.keyCode : event.charCode);
return event.ctrlKey || event.metaKey || (chr < ' ' || !chars || chars.indexOf(chr) > -1);
}
},
/* Synchronise manual entry and field/alternate field. */
_doKeyUp: function(event) {
var inst = $.datepicker._getInst(event.target);
if (inst.input.val() != inst.lastVal) {
try {
var date = $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
(inst.input ? inst.input.val() : null),
$.datepicker._getFormatConfig(inst));
if (date) { // only if valid
$.datepicker._setDateFromField(inst);
$.datepicker._updateAlternate(inst);
$.datepicker._updateDatepicker(inst);
}
}
catch (err) {
$.datepicker.log(err);
}
}
return true;
},
/* Pop-up the date picker for a given input field.
If false returned from beforeShow event handler do not show.
@param input element - the input field attached to the date picker or
event - if triggered by focus */
_showDatepicker: function(input) {
input = input.target || input;
if (input.nodeName.toLowerCase() != 'input') // find from button/image trigger
input = $('input', input.parentNode)[0];
if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput == input) // already here
return;
var inst = $.datepicker._getInst(input);
if ($.datepicker._curInst && $.datepicker._curInst != inst) {
$.datepicker._curInst.dpDiv.stop(true, true);
if ( inst && $.datepicker._datepickerShowing ) {
$.datepicker._hideDatepicker( $.datepicker._curInst.input[0] );
}
}
var beforeShow = $.datepicker._get(inst, 'beforeShow');
var beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};
if(beforeShowSettings === false){
//false
return;
}
extendRemove(inst.settings, beforeShowSettings);
inst.lastVal = null;
$.datepicker._lastInput = input;
$.datepicker._setDateFromField(inst);
if ($.datepicker._inDialog) // hide cursor
input.value = '';
if (!$.datepicker._pos) { // position below input
$.datepicker._pos = $.datepicker._findPos(input);
$.datepicker._pos[1] += input.offsetHeight; // add the height
}
var isFixed = false;
$(input).parents().each(function() {
isFixed |= $(this).css('position') == 'fixed';
return !isFixed;
});
if (isFixed && $.browser.opera) { // correction for Opera when fixed and scrolled
$.datepicker._pos[0] -= document.documentElement.scrollLeft;
$.datepicker._pos[1] -= document.documentElement.scrollTop;
}
var offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
$.datepicker._pos = null;
//to avoid flashes on Firefox
inst.dpDiv.empty();
// determine sizing offscreen
inst.dpDiv.css({position: 'absolute', display: 'block', top: '-1000px'});
$.datepicker._updateDatepicker(inst);
// fix width for dynamic number of date pickers
// and adjust position before showing
offset = $.datepicker._checkOffset(inst, offset, isFixed);
inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ?
'static' : (isFixed ? 'fixed' : 'absolute')), display: 'none',
left: offset.left + 'px', top: offset.top + 'px'});
if (!inst.inline) {
var showAnim = $.datepicker._get(inst, 'showAnim');
var duration = $.datepicker._get(inst, 'duration');
var postProcess = function() {
var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
if( !! cover.length ){
var borders = $.datepicker._getBorders(inst.dpDiv);
cover.css({left: -borders[0], top: -borders[1],
width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()});
}
};
inst.dpDiv.zIndex($(input).zIndex()+1);
$.datepicker._datepickerShowing = true;
if ($.effects && $.effects[showAnim])
inst.dpDiv.show(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
else
inst.dpDiv[showAnim || 'show']((showAnim ? duration : null), postProcess);
if (!showAnim || !duration)
postProcess();
if (inst.input.is(':visible') && !inst.input.is(':disabled'))
inst.input.focus();
$.datepicker._curInst = inst;
}
},
/* Generate the date picker content. */
_updateDatepicker: function(inst) {
var self = this;
self.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
var borders = $.datepicker._getBorders(inst.dpDiv);
instActive = inst; // for delegate hover events
inst.dpDiv.empty().append(this._generateHTML(inst));
this._attachHandlers(inst);
var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only
if( !!cover.length ){ //avoid call to outerXXXX() when not in IE6
cover.css({left: -borders[0], top: -borders[1], width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()})
}
inst.dpDiv.find('.' + this._dayOverClass + ' a').mouseover();
var numMonths = this._getNumberOfMonths(inst);
var cols = numMonths[1];
var width = 17;
inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width('');
if (cols > 1)
inst.dpDiv.addClass('ui-datepicker-multi-' + cols).css('width', (width * cols) + 'em');
inst.dpDiv[(numMonths[0] != 1 || numMonths[1] != 1 ? 'add' : 'remove') +
'Class']('ui-datepicker-multi');
inst.dpDiv[(this._get(inst, 'isRTL') ? 'add' : 'remove') +
'Class']('ui-datepicker-rtl');
if (inst == $.datepicker._curInst && $.datepicker._datepickerShowing && inst.input &&
// #6694 - don't focus the input if it's already focused
// this breaks the change event in IE
inst.input.is(':visible') && !inst.input.is(':disabled') && inst.input[0] != document.activeElement)
inst.input.focus();
// deffered render of the years select (to avoid flashes on Firefox)
if( inst.yearshtml ){
var origyearshtml = inst.yearshtml;
setTimeout(function(){
//assure that inst.yearshtml didn't change.
if( origyearshtml === inst.yearshtml && inst.yearshtml ){
inst.dpDiv.find('select.ui-datepicker-year:first').replaceWith(inst.yearshtml);
}
origyearshtml = inst.yearshtml = null;
}, 0);
}
},
/* Retrieve the size of left and top borders for an element.
@param elem (jQuery object) the element of interest
@return (number[2]) the left and top borders */
_getBorders: function(elem) {
var convert = function(value) {
return {thin: 1, medium: 2, thick: 3}[value] || value;
};
return [parseFloat(convert(elem.css('border-left-width'))),
parseFloat(convert(elem.css('border-top-width')))];
},
/* Check positioning to remain on screen. */
_checkOffset: function(inst, offset, isFixed) {
var dpWidth = inst.dpDiv.outerWidth();
var dpHeight = inst.dpDiv.outerHeight();
var inputWidth = inst.input ? inst.input.outerWidth() : 0;
var inputHeight = inst.input ? inst.input.outerHeight() : 0;
var viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft());
var viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop());
offset.left -= (this._get(inst, 'isRTL') ? (dpWidth - inputWidth) : 0);
offset.left -= (isFixed && offset.left == inst.input.offset().left) ? $(document).scrollLeft() : 0;
offset.top -= (isFixed && offset.top == (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0;
// now check if datepicker is showing outside window viewport - move to a better place if so.
offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
Math.abs(offset.left + dpWidth - viewWidth) : 0);
offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
Math.abs(dpHeight + inputHeight) : 0);
return offset;
},
/* Find an object's position on the screen. */
_findPos: function(obj) {
var inst = this._getInst(obj);
var isRTL = this._get(inst, 'isRTL');
while (obj && (obj.type == 'hidden' || obj.nodeType != 1 || $.expr.filters.hidden(obj))) {
obj = obj[isRTL ? 'previousSibling' : 'nextSibling'];
}
var position = $(obj).offset();
return [position.left, position.top];
},
/* Hide the date picker from view.
@param input element - the input field attached to the date picker */
_hideDatepicker: function(input) {
var inst = this._curInst;
if (!inst || (input && inst != $.data(input, PROP_NAME)))
return;
if (this._datepickerShowing) {
var showAnim = this._get(inst, 'showAnim');
var duration = this._get(inst, 'duration');
var postProcess = function() {
$.datepicker._tidyDialog(inst);
};
if ($.effects && $.effects[showAnim])
inst.dpDiv.hide(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess);
else
inst.dpDiv[(showAnim == 'slideDown' ? 'slideUp' :
(showAnim == 'fadeIn' ? 'fadeOut' : 'hide'))]((showAnim ? duration : null), postProcess);
if (!showAnim)
postProcess();
this._datepickerShowing = false;
var onClose = this._get(inst, 'onClose');
if (onClose)
onClose.apply((inst.input ? inst.input[0] : null),
[(inst.input ? inst.input.val() : ''), inst]);
this._lastInput = null;
if (this._inDialog) {
this._dialogInput.css({ position: 'absolute', left: '0', top: '-100px' });
if ($.blockUI) {
$.unblockUI();
$('body').append(this.dpDiv);
}
}
this._inDialog = false;
}
},
/* Tidy up after a dialog display. */
_tidyDialog: function(inst) {
inst.dpDiv.removeClass(this._dialogClass).unbind('.ui-datepicker-calendar');
},
/* Close date picker if clicked elsewhere. */
_checkExternalClick: function(event) {
if (!$.datepicker._curInst)
return;
var $target = $(event.target),
inst = $.datepicker._getInst($target[0]);
if ( ( ( $target[0].id != $.datepicker._mainDivId &&
$target.parents('#' + $.datepicker._mainDivId).length == 0 &&
!$target.hasClass($.datepicker.markerClassName) &&
!$target.closest("." + $.datepicker._triggerClass).length &&
$.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst != inst ) )
$.datepicker._hideDatepicker();
},
/* Adjust one of the date sub-fields. */
_adjustDate: function(id, offset, period) {
var target = $(id);
var inst = this._getInst(target[0]);
if (this._isDisabledDatepicker(target[0])) {
return;
}
this._adjustInstDate(inst, offset +
(period == 'M' ? this._get(inst, 'showCurrentAtPos') : 0), // undo positioning
period);
this._updateDatepicker(inst);
},
/* Action for current link. */
_gotoToday: function(id) {
var target = $(id);
var inst = this._getInst(target[0]);
if (this._get(inst, 'gotoCurrent') && inst.currentDay) {
inst.selectedDay = inst.currentDay;
inst.drawMonth = inst.selectedMonth = inst.currentMonth;
inst.drawYear = inst.selectedYear = inst.currentYear;
}
else {
var date = new Date();
inst.selectedDay = date.getDate();
inst.drawMonth = inst.selectedMonth = date.getMonth();
inst.drawYear = inst.selectedYear = date.getFullYear();
}
this._notifyChange(inst);
this._adjustDate(target);
},
/* Action for selecting a new month/year. */
_selectMonthYear: function(id, select, period) {
var target = $(id);
var inst = this._getInst(target[0]);
inst['selected' + (period == 'M' ? 'Month' : 'Year')] =
inst['draw' + (period == 'M' ? 'Month' : 'Year')] =
parseInt(select.options[select.selectedIndex].value,10);
this._notifyChange(inst);
this._adjustDate(target);
},
/* Action for selecting a day. */
_selectDay: function(id, month, year, td) {
var target = $(id);
if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) {
return;
}
var inst = this._getInst(target[0]);
inst.selectedDay = inst.currentDay = $('a', td).html();
inst.selectedMonth = inst.currentMonth = month;
inst.selectedYear = inst.currentYear = year;
this._selectDate(id, this._formatDate(inst,
inst.currentDay, inst.currentMonth, inst.currentYear));
},
/* Erase the input field and hide the date picker. */
_clearDate: function(id) {
var target = $(id);
var inst = this._getInst(target[0]);
this._selectDate(target, '');
},
/* Update the input field with the selected date. */
_selectDate: function(id, dateStr) {
var target = $(id);
var inst = this._getInst(target[0]);
dateStr = (dateStr != null ? dateStr : this._formatDate(inst));
if (inst.input)
inst.input.val(dateStr);
this._updateAlternate(inst);
var onSelect = this._get(inst, 'onSelect');
if (onSelect)
onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback
else if (inst.input)
inst.input.trigger('change'); // fire the change event
if (inst.inline)
this._updateDatepicker(inst);
else {
this._hideDatepicker();
this._lastInput = inst.input[0];
if (typeof(inst.input[0]) != 'object')
inst.input.focus(); // restore focus
this._lastInput = null;
}
},
/* Update any alternate field to synchronise with the main field. */
_updateAlternate: function(inst) {
var altField = this._get(inst, 'altField');
if (altField) { // update alternate field too
var altFormat = this._get(inst, 'altFormat') || this._get(inst, 'dateFormat');
var date = this._getDate(inst);
var dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
$(altField).each(function() { $(this).val(dateStr); });
}
},
/* Set as beforeShowDay function to prevent selection of weekends.
@param date Date - the date to customise
@return [boolean, string] - is this date selectable?, what is its CSS class? */
noWeekends: function(date) {
var day = date.getDay();
return [(day > 0 && day < 6), ''];
},
/* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.
@param date Date - the date to get the week for
@return number - the number of the week within the year that contains this date */
iso8601Week: function(date) {
var checkDate = new Date(date.getTime());
// Find Thursday of this week starting on Monday
checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));
var time = checkDate.getTime();
checkDate.setMonth(0); // Compare with Jan 1
checkDate.setDate(1);
return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;
},
/* Parse a string value into a date object.
See formatDate below for the possible formats.
@param format string - the expected format of the date
@param value string - the date in the above format
@param settings Object - attributes include:
shortYearCutoff number - the cutoff year for determining the century (optional)
dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
dayNames string[7] - names of the days from Sunday (optional)
monthNamesShort string[12] - abbreviated names of the months (optional)
monthNames string[12] - names of the months (optional)
@return Date - the extracted date value or null if value is blank */
parseDate: function (format, value, settings) {
if (format == null || value == null)
throw 'Invalid arguments';
value = (typeof value == 'object' ? value.toString() : value + '');
if (value == '')
return null;
var shortYearCutoff = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff;
shortYearCutoff = (typeof shortYearCutoff != 'string' ? shortYearCutoff :
new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));
var dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort;
var dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames;
var monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort;
var monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames;
var year = -1;
var month = -1;
var day = -1;
var doy = -1;
var literal = false;
// Check whether a format character is doubled
var lookAhead = function(match) {
var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match);
if (matches)
iFormat++;
return matches;
};
// Extract a number from the string value
var getNumber = function(match) {
var isDoubled = lookAhead(match);
var size = (match == '@' ? 14 : (match == '!' ? 20 :
(match == 'y' && isDoubled ? 4 : (match == 'o' ? 3 : 2))));
var digits = new RegExp('^\\d{1,' + size + '}');
var num = value.substring(iValue).match(digits);
if (!num)
throw 'Missing number at position ' + iValue;
iValue += num[0].length;
return parseInt(num[0], 10);
};
// Extract a name from the string value and convert to an index
var getName = function(match, shortNames, longNames) {
var names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) {
return [ [k, v] ];
}).sort(function (a, b) {
return -(a[1].length - b[1].length);
});
var index = -1;
$.each(names, function (i, pair) {
var name = pair[1];
if (value.substr(iValue, name.length).toLowerCase() == name.toLowerCase()) {
index = pair[0];
iValue += name.length;
return false;
}
});
if (index != -1)
return index + 1;
else
throw 'Unknown name at position ' + iValue;
};
// Confirm that a literal character matches the string value
var checkLiteral = function() {
if (value.charAt(iValue) != format.charAt(iFormat))
throw 'Unexpected literal at position ' + iValue;
iValue++;
};
var iValue = 0;
for (var iFormat = 0; iFormat < format.length; iFormat++) {
if (literal)
if (format.charAt(iFormat) == "'" && !lookAhead("'"))
literal = false;
else
checkLiteral();
else
switch (format.charAt(iFormat)) {
case 'd':
day = getNumber('d');
break;
case 'D':
getName('D', dayNamesShort, dayNames);
break;
case 'o':
doy = getNumber('o');
break;
case 'm':
month = getNumber('m');
break;
case 'M':
month = getName('M', monthNamesShort, monthNames);
break;
case 'y':
year = getNumber('y');
break;
case '@':
var date = new Date(getNumber('@'));
year = date.getFullYear();
month = date.getMonth() + 1;
day = date.getDate();
break;
case '!':
var date = new Date((getNumber('!') - this._ticksTo1970) / 10000);
year = date.getFullYear();
month = date.getMonth() + 1;
day = date.getDate();
break;
case "'":
if (lookAhead("'"))
checkLiteral();
else
literal = true;
break;
default:
checkLiteral();
}
}
if (iValue < value.length){
throw "Extra/unparsed characters found in date: " + value.substring(iValue);
}
if (year == -1)
year = new Date().getFullYear();
else if (year < 100)
year += new Date().getFullYear() - new Date().getFullYear() % 100 +
(year <= shortYearCutoff ? 0 : -100);
if (doy > -1) {
month = 1;
day = doy;
do {
var dim = this._getDaysInMonth(year, month - 1);
if (day <= dim)
break;
month++;
day -= dim;
} while (true);
}
var date = this._daylightSavingAdjust(new Date(year, month - 1, day));
if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day)
throw 'Invalid date'; // E.g. 31/02/00
return date;
},
/* Standard date formats. */
ATOM: 'yy-mm-dd', // RFC 3339 (ISO 8601)
COOKIE: 'D, dd M yy',
ISO_8601: 'yy-mm-dd',
RFC_822: 'D, d M y',
RFC_850: 'DD, dd-M-y',
RFC_1036: 'D, d M y',
RFC_1123: 'D, d M yy',
RFC_2822: 'D, d M yy',
RSS: 'D, d M y', // RFC 822
TICKS: '!',
TIMESTAMP: '@',
W3C: 'yy-mm-dd', // ISO 8601
_ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) +
Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000),
/* Format a date object into a string value.
The format can be combinations of the following:
d - day of month (no leading zero)
dd - day of month (two digit)
o - day of year (no leading zeros)
oo - day of year (three digit)
D - day name short
DD - day name long
m - month of year (no leading zero)
mm - month of year (two digit)
M - month name short
MM - month name long
y - year (two digit)
yy - year (four digit)
@ - Unix timestamp (ms since 01/01/1970)
! - Windows ticks (100ns since 01/01/0001)
'...' - literal text
'' - single quote
@param format string - the desired format of the date
@param date Date - the date value to format
@param settings Object - attributes include:
dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
dayNames string[7] - names of the days from Sunday (optional)
monthNamesShort string[12] - abbreviated names of the months (optional)
monthNames string[12] - names of the months (optional)
@return string - the date in the above format */
formatDate: function (format, date, settings) {
if (!date)
return '';
var dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort;
var dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames;
var monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort;
var monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames;
// Check whether a format character is doubled
var lookAhead = function(match) {
var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match);
if (matches)
iFormat++;
return matches;
};
// Format a number, with leading zero if necessary
var formatNumber = function(match, value, len) {
var num = '' + value;
if (lookAhead(match))
while (num.length < len)
num = '0' + num;
return num;
};
// Format a name, short or long as requested
var formatName = function(match, value, shortNames, longNames) {
return (lookAhead(match) ? longNames[value] : shortNames[value]);
};
var output = '';
var literal = false;
if (date)
for (var iFormat = 0; iFormat < format.length; iFormat++) {
if (literal)
if (format.charAt(iFormat) == "'" && !lookAhead("'"))
literal = false;
else
output += format.charAt(iFormat);
else
switch (format.charAt(iFormat)) {
case 'd':
output += formatNumber('d', date.getDate(), 2);
break;
case 'D':
output += formatName('D', date.getDay(), dayNamesShort, dayNames);
break;
case 'o':
output += formatNumber('o',
Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
break;
case 'm':
output += formatNumber('m', date.getMonth() + 1, 2);
break;
case 'M':
output += formatName('M', date.getMonth(), monthNamesShort, monthNames);
break;
case 'y':
output += (lookAhead('y') ? date.getFullYear() :
(date.getYear() % 100 < 10 ? '0' : '') + date.getYear() % 100);
break;
case '@':
output += date.getTime();
break;
case '!':
output += date.getTime() * 10000 + this._ticksTo1970;
break;
case "'":
if (lookAhead("'"))
output += "'";
else
literal = true;
break;
default:
output += format.charAt(iFormat);
}
}
return output;
},
/* Extract all possible characters from the date format. */
_possibleChars: function (format) {
var chars = '';
var literal = false;
// Check whether a format character is doubled
var lookAhead = function(match) {
var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) == match);
if (matches)
iFormat++;
return matches;
};
for (var iFormat = 0; iFormat < format.length; iFormat++)
if (literal)
if (format.charAt(iFormat) == "'" && !lookAhead("'"))
literal = false;
else
chars += format.charAt(iFormat);
else
switch (format.charAt(iFormat)) {
case 'd': case 'm': case 'y': case '@':
chars += '0123456789';
break;
case 'D': case 'M':
return null; // Accept anything
case "'":
if (lookAhead("'"))
chars += "'";
else
literal = true;
break;
default:
chars += format.charAt(iFormat);
}
return chars;
},
/* Get a setting value, defaulting if necessary. */
_get: function(inst, name) {
return inst.settings[name] !== undefined ?
inst.settings[name] : this._defaults[name];
},
/* Parse existing date and initialise date picker. */
_setDateFromField: function(inst, noDefault) {
if (inst.input.val() == inst.lastVal) {
return;
}
var dateFormat = this._get(inst, 'dateFormat');
var dates = inst.lastVal = inst.input ? inst.input.val() : null;
var date, defaultDate;
date = defaultDate = this._getDefaultDate(inst);
var settings = this._getFormatConfig(inst);
try {
date = this.parseDate(dateFormat, dates, settings) || defaultDate;
} catch (event) {
this.log(event);
dates = (noDefault ? '' : dates);
}
inst.selectedDay = date.getDate();
inst.drawMonth = inst.selectedMonth = date.getMonth();
inst.drawYear = inst.selectedYear = date.getFullYear();
inst.currentDay = (dates ? date.getDate() : 0);
inst.currentMonth = (dates ? date.getMonth() : 0);
inst.currentYear = (dates ? date.getFullYear() : 0);
this._adjustInstDate(inst);
},
/* Retrieve the default date shown on opening. */
_getDefaultDate: function(inst) {
return this._restrictMinMax(inst,
this._determineDate(inst, this._get(inst, 'defaultDate'), new Date()));
},
/* A date may be specified as an exact value or a relative one. */
_determineDate: function(inst, date, defaultDate) {
var offsetNumeric = function(offset) {
var date = new Date();
date.setDate(date.getDate() + offset);
return date;
};
var offsetString = function(offset) {
try {
return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
offset, $.datepicker._getFormatConfig(inst));
}
catch (e) {
// Ignore
}
var date = (offset.toLowerCase().match(/^c/) ?
$.datepicker._getDate(inst) : null) || new Date();
var year = date.getFullYear();
var month = date.getMonth();
var day = date.getDate();
var pattern = /([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;
var matches = pattern.exec(offset);
while (matches) {
switch (matches[2] || 'd') {
case 'd' : case 'D' :
day += parseInt(matches[1],10); break;
case 'w' : case 'W' :
day += parseInt(matches[1],10) * 7; break;
case 'm' : case 'M' :
month += parseInt(matches[1],10);
day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
break;
case 'y': case 'Y' :
year += parseInt(matches[1],10);
day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
break;
}
matches = pattern.exec(offset);
}
return new Date(year, month, day);
};
var newDate = (date == null || date === '' ? defaultDate : (typeof date == 'string' ? offsetString(date) :
(typeof date == 'number' ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime()))));
newDate = (newDate && newDate.toString() == 'Invalid Date' ? defaultDate : newDate);
if (newDate) {
newDate.setHours(0);
newDate.setMinutes(0);
newDate.setSeconds(0);
newDate.setMilliseconds(0);
}
return this._daylightSavingAdjust(newDate);
},
/* Handle switch to/from daylight saving.
Hours may be non-zero on daylight saving cut-over:
> 12 when midnight changeover, but then cannot generate
midnight datetime, so jump to 1AM, otherwise reset.
@param date (Date) the date to check
@return (Date) the corrected date */
_daylightSavingAdjust: function(date) {
if (!date) return null;
date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
return date;
},
/* Set the date(s) directly. */
_setDate: function(inst, date, noChange) {
var clear = !date;
var origMonth = inst.selectedMonth;
var origYear = inst.selectedYear;
var newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new Date()));
inst.selectedDay = inst.currentDay = newDate.getDate();
inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();
inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();
if ((origMonth != inst.selectedMonth || origYear != inst.selectedYear) && !noChange)
this._notifyChange(inst);
this._adjustInstDate(inst);
if (inst.input) {
inst.input.val(clear ? '' : this._formatDate(inst));
}
},
/* Retrieve the date(s) directly. */
_getDate: function(inst) {
var startDate = (!inst.currentYear || (inst.input && inst.input.val() == '') ? null :
this._daylightSavingAdjust(new Date(
inst.currentYear, inst.currentMonth, inst.currentDay)));
return startDate;
},
/* Attach the onxxx handlers. These are declared statically so
* they work with static code transformers like Caja.
*/
_attachHandlers: function(inst) {
var stepMonths = this._get(inst, 'stepMonths');
var id = '#' + inst.id.replace( /\\\\/g, "\\" );
inst.dpDiv.find('[data-handler]').map(function () {
var handler = {
prev: function () {
window['DP_jQuery_' + dpuuid].datepicker._adjustDate(id, -stepMonths, 'M');
},
next: function () {
window['DP_jQuery_' + dpuuid].datepicker._adjustDate(id, +stepMonths, 'M');
},
hide: function () {
window['DP_jQuery_' + dpuuid].datepicker._hideDatepicker();
},
today: function () {
window['DP_jQuery_' + dpuuid].datepicker._gotoToday(id);
},
selectDay: function () {
window['DP_jQuery_' + dpuuid].datepicker._selectDay(id, +this.getAttribute('data-month'), +this.getAttribute('data-year'), this);
return false;
},
selectMonth: function () {
window['DP_jQuery_' + dpuuid].datepicker._selectMonthYear(id, this, 'M');
return false;
},
selectYear: function () {
window['DP_jQuery_' + dpuuid].datepicker._selectMonthYear(id, this, 'Y');
return false;
}
};
$(this).bind(this.getAttribute('data-event'), handler[this.getAttribute('data-handler')]);
});
},
/* Generate the HTML for the current state of the date picker. */
_generateHTML: function(inst) {
var today = new Date();
today = this._daylightSavingAdjust(
new Date(today.getFullYear(), today.getMonth(), today.getDate())); // clear time
var isRTL = this._get(inst, 'isRTL');
var showButtonPanel = this._get(inst, 'showButtonPanel');
var hideIfNoPrevNext = this._get(inst, 'hideIfNoPrevNext');
var navigationAsDateFormat = this._get(inst, 'navigationAsDateFormat');
var numMonths = this._getNumberOfMonths(inst);
var showCurrentAtPos = this._get(inst, 'showCurrentAtPos');
var stepMonths = this._get(inst, 'stepMonths');
var isMultiMonth = (numMonths[0] != 1 || numMonths[1] != 1);
var currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) :
new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));
var minDate = this._getMinMaxDate(inst, 'min');
var maxDate = this._getMinMaxDate(inst, 'max');
var drawMonth = inst.drawMonth - showCurrentAtPos;
var drawYear = inst.drawYear;
if (drawMonth < 0) {
drawMonth += 12;
drawYear--;
}
if (maxDate) {
var maxDraw = this._daylightSavingAdjust(new Date(maxDate.getFullYear(),
maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate()));
maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw);
while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) {
drawMonth--;
if (drawMonth < 0) {
drawMonth = 11;
drawYear--;
}
}
}
inst.drawMonth = drawMonth;
inst.drawYear = drawYear;
var prevText = this._get(inst, 'prevText');
prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText,
this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
this._getFormatConfig(inst)));
var prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
'<a class="ui-datepicker-prev ui-corner-all" data-handler="prev" data-event="click"' +
' title="' + prevText + '"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'e' : 'w') + '">' + prevText + '</span></a>' :
(hideIfNoPrevNext ? '' : '<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+ prevText +'"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'e' : 'w') + '">' + prevText + '</span></a>'));
var nextText = this._get(inst, 'nextText');
nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
this._getFormatConfig(inst)));
var next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
'<a class="ui-datepicker-next ui-corner-all" data-handler="next" data-event="click"' +
' title="' + nextText + '"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'w' : 'e') + '">' + nextText + '</span></a>' :
(hideIfNoPrevNext ? '' : '<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+ nextText + '"><span class="ui-icon ui-icon-circle-triangle-' + ( isRTL ? 'w' : 'e') + '">' + nextText + '</span></a>'));
var currentText = this._get(inst, 'currentText');
var gotoDate = (this._get(inst, 'gotoCurrent') && inst.currentDay ? currentDate : today);
currentText = (!navigationAsDateFormat ? currentText :
this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
var controls = (!inst.inline ? '<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">' +
this._get(inst, 'closeText') + '</button>' : '');
var buttonPanel = (showButtonPanel) ? '<div class="ui-datepicker-buttonpane ui-widget-content">' + (isRTL ? controls : '') +
(this._isInRange(inst, gotoDate) ? '<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" data-handler="today" data-event="click"' +
'>' + currentText + '</button>' : '') + (isRTL ? '' : controls) + '</div>' : '';
var firstDay = parseInt(this._get(inst, 'firstDay'),10);
firstDay = (isNaN(firstDay) ? 0 : firstDay);
var showWeek = this._get(inst, 'showWeek');
var dayNames = this._get(inst, 'dayNames');
var dayNamesShort = this._get(inst, 'dayNamesShort');
var dayNamesMin = this._get(inst, 'dayNamesMin');
var monthNames = this._get(inst, 'monthNames');
var monthNamesShort = this._get(inst, 'monthNamesShort');
var beforeShowDay = this._get(inst, 'beforeShowDay');
var showOtherMonths = this._get(inst, 'showOtherMonths');
var selectOtherMonths = this._get(inst, 'selectOtherMonths');
var calculateWeek = this._get(inst, 'calculateWeek') || this.iso8601Week;
var defaultDate = this._getDefaultDate(inst);
var html = '';
for (var row = 0; row < numMonths[0]; row++) {
var group = '';
this.maxRows = 4;
for (var col = 0; col < numMonths[1]; col++) {
var selectedDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay));
var cornerClass = ' ui-corner-all';
var calender = '';
if (isMultiMonth) {
calender += '<div class="ui-datepicker-group';
if (numMonths[1] > 1)
switch (col) {
case 0: calender += ' ui-datepicker-group-first';
cornerClass = ' ui-corner-' + (isRTL ? 'right' : 'left'); break;
case numMonths[1]-1: calender += ' ui-datepicker-group-last';
cornerClass = ' ui-corner-' + (isRTL ? 'left' : 'right'); break;
default: calender += ' ui-datepicker-group-middle'; cornerClass = ''; break;
}
calender += '">';
}
calender += '<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix' + cornerClass + '">' +
(/all|left/.test(cornerClass) && row == 0 ? (isRTL ? next : prev) : '') +
(/all|right/.test(cornerClass) && row == 0 ? (isRTL ? prev : next) : '') +
this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate,
row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers
'</div><table class="ui-datepicker-calendar"><thead>' +
'<tr>';
var thead = (showWeek ? '<th class="ui-datepicker-week-col">' + this._get(inst, 'weekHeader') + '</th>' : '');
for (var dow = 0; dow < 7; dow++) { // days of the week
var day = (dow + firstDay) % 7;
thead += '<th' + ((dow + firstDay + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end"' : '') + '>' +
'<span title="' + dayNames[day] + '">' + dayNamesMin[day] + '</span></th>';
}
calender += thead + '</tr></thead><tbody>';
var daysInMonth = this._getDaysInMonth(drawYear, drawMonth);
if (drawYear == inst.selectedYear && drawMonth == inst.selectedMonth)
inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);
var leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;
var curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
var numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043)
this.maxRows = numRows;
var printDate = this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays));
for (var dRow = 0; dRow < numRows; dRow++) { // create date picker rows
calender += '<tr>';
var tbody = (!showWeek ? '' : '<td class="ui-datepicker-week-col">' +
this._get(inst, 'calculateWeek')(printDate) + '</td>');
for (var dow = 0; dow < 7; dow++) { // create date picker days
var daySettings = (beforeShowDay ?
beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, '']);
var otherMonth = (printDate.getMonth() != drawMonth);
var unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||
(minDate && printDate < minDate) || (maxDate && printDate > maxDate);
tbody += '<td class="' +
((dow + firstDay + 6) % 7 >= 5 ? ' ui-datepicker-week-end' : '') + // highlight weekends
(otherMonth ? ' ui-datepicker-other-month' : '') + // highlight days from other months
((printDate.getTime() == selectedDate.getTime() && drawMonth == inst.selectedMonth && inst._keyEvent) || // user pressed key
(defaultDate.getTime() == printDate.getTime() && defaultDate.getTime() == selectedDate.getTime()) ?
// or defaultDate is current printedDate and defaultDate is selectedDate
' ' + this._dayOverClass : '') + // highlight selected day
(unselectable ? ' ' + this._unselectableClass + ' ui-state-disabled': '') + // highlight unselectable days
(otherMonth && !showOtherMonths ? '' : ' ' + daySettings[1] + // highlight custom dates
(printDate.getTime() == currentDate.getTime() ? ' ' + this._currentClass : '') + // highlight selected day
(printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different)
((!otherMonth || showOtherMonths) && daySettings[2] ? ' title="' + daySettings[2] + '"' : '') + // cell title
(unselectable ? '' : ' data-handler="selectDay" data-event="click" data-month="' + printDate.getMonth() + '" data-year="' + printDate.getFullYear() + '"') + '>' + // actions
(otherMonth && !showOtherMonths ? '&#xa0;' : // display for other months
(unselectable ? '<span class="ui-state-default">' + printDate.getDate() + '</span>' : '<a class="ui-state-default' +
(printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') +
(printDate.getTime() == currentDate.getTime() ? ' ui-state-active' : '') + // highlight selected day
(otherMonth ? ' ui-priority-secondary' : '') + // distinguish dates from other months
'" href="#">' + printDate.getDate() + '</a>')) + '</td>'; // display selectable date
printDate.setDate(printDate.getDate() + 1);
printDate = this._daylightSavingAdjust(printDate);
}
calender += tbody + '</tr>';
}
drawMonth++;
if (drawMonth > 11) {
drawMonth = 0;
drawYear++;
}
calender += '</tbody></table>' + (isMultiMonth ? '</div>' +
((numMonths[0] > 0 && col == numMonths[1]-1) ? '<div class="ui-datepicker-row-break"></div>' : '') : '');
group += calender;
}
html += group;
}
html += buttonPanel + ($.browser.msie && parseInt($.browser.version,10) < 7 && !inst.inline ?
'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>' : '');
inst._keyEvent = false;
return html;
},
/* Generate the month and year header. */
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
secondary, monthNames, monthNamesShort) {
var changeMonth = this._get(inst, 'changeMonth');
var changeYear = this._get(inst, 'changeYear');
var showMonthAfterYear = this._get(inst, 'showMonthAfterYear');
var html = '<div class="ui-datepicker-title">';
var monthHtml = '';
// month selection
if (secondary || !changeMonth)
monthHtml += '<span class="ui-datepicker-month">' + monthNames[drawMonth] + '</span>';
else {
var inMinYear = (minDate && minDate.getFullYear() == drawYear);
var inMaxYear = (maxDate && maxDate.getFullYear() == drawYear);
monthHtml += '<select class="ui-datepicker-month" data-handler="selectMonth" data-event="change">';
for (var month = 0; month < 12; month++) {
if ((!inMinYear || month >= minDate.getMonth()) &&
(!inMaxYear || month <= maxDate.getMonth()))
monthHtml += '<option value="' + month + '"' +
(month == drawMonth ? ' selected="selected"' : '') +
'>' + monthNamesShort[month] + '</option>';
}
monthHtml += '</select>';
}
if (!showMonthAfterYear)
html += monthHtml + (secondary || !(changeMonth && changeYear) ? '&#xa0;' : '');
// year selection
if ( !inst.yearshtml ) {
inst.yearshtml = '';
if (secondary || !changeYear)
html += '<span class="ui-datepicker-year">' + drawYear + '</span>';
else {
// determine range of years to display
var years = this._get(inst, 'yearRange').split(':');
var thisYear = new Date().getFullYear();
var determineYear = function(value) {
var year = (value.match(/c[+-].*/) ? drawYear + parseInt(value.substring(1), 10) :
(value.match(/[+-].*/) ? thisYear + parseInt(value, 10) :
parseInt(value, 10)));
return (isNaN(year) ? thisYear : year);
};
var year = determineYear(years[0]);
var endYear = Math.max(year, determineYear(years[1] || ''));
year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
inst.yearshtml += '<select class="ui-datepicker-year" data-handler="selectYear" data-event="change">';
for (; year <= endYear; year++) {
inst.yearshtml += '<option value="' + year + '"' +
(year == drawYear ? ' selected="selected"' : '') +
'>' + year + '</option>';
}
inst.yearshtml += '</select>';
html += inst.yearshtml;
inst.yearshtml = null;
}
}
html += this._get(inst, 'yearSuffix');
if (showMonthAfterYear)
html += (secondary || !(changeMonth && changeYear) ? '&#xa0;' : '') + monthHtml;
html += '</div>'; // Close datepicker_header
return html;
},
/* Adjust one of the date sub-fields. */
_adjustInstDate: function(inst, offset, period) {
var year = inst.drawYear + (period == 'Y' ? offset : 0);
var month = inst.drawMonth + (period == 'M' ? offset : 0);
var day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) +
(period == 'D' ? offset : 0);
var date = this._restrictMinMax(inst,
this._daylightSavingAdjust(new Date(year, month, day)));
inst.selectedDay = date.getDate();
inst.drawMonth = inst.selectedMonth = date.getMonth();
inst.drawYear = inst.selectedYear = date.getFullYear();
if (period == 'M' || period == 'Y')
this._notifyChange(inst);
},
/* Ensure a date is within any min/max bounds. */
_restrictMinMax: function(inst, date) {
var minDate = this._getMinMaxDate(inst, 'min');
var maxDate = this._getMinMaxDate(inst, 'max');
var newDate = (minDate && date < minDate ? minDate : date);
newDate = (maxDate && newDate > maxDate ? maxDate : newDate);
return newDate;
},
/* Notify change of month/year. */
_notifyChange: function(inst) {
var onChange = this._get(inst, 'onChangeMonthYear');
if (onChange)
onChange.apply((inst.input ? inst.input[0] : null),
[inst.selectedYear, inst.selectedMonth + 1, inst]);
},
/* Determine the number of months to show. */
_getNumberOfMonths: function(inst) {
var numMonths = this._get(inst, 'numberOfMonths');
return (numMonths == null ? [1, 1] : (typeof numMonths == 'number' ? [1, numMonths] : numMonths));
},
/* Determine the current maximum date - ensure no time components are set. */
_getMinMaxDate: function(inst, minMax) {
return this._determineDate(inst, this._get(inst, minMax + 'Date'), null);
},
/* Find the number of days in a given month. */
_getDaysInMonth: function(year, month) {
return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();
},
/* Find the day of the week of the first of a month. */
_getFirstDayOfMonth: function(year, month) {
return new Date(year, month, 1).getDay();
},
/* Determines if we should allow a "next/prev" month display change. */
_canAdjustMonth: function(inst, offset, curYear, curMonth) {
var numMonths = this._getNumberOfMonths(inst);
var date = this._daylightSavingAdjust(new Date(curYear,
curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1));
if (offset < 0)
date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));
return this._isInRange(inst, date);
},
/* Is the given date in the accepted range? */
_isInRange: function(inst, date) {
var minDate = this._getMinMaxDate(inst, 'min');
var maxDate = this._getMinMaxDate(inst, 'max');
return ((!minDate || date.getTime() >= minDate.getTime()) &&
(!maxDate || date.getTime() <= maxDate.getTime()));
},
/* Provide the configuration settings for formatting/parsing. */
_getFormatConfig: function(inst) {
var shortYearCutoff = this._get(inst, 'shortYearCutoff');
shortYearCutoff = (typeof shortYearCutoff != 'string' ? shortYearCutoff :
new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10));
return {shortYearCutoff: shortYearCutoff,
dayNamesShort: this._get(inst, 'dayNamesShort'), dayNames: this._get(inst, 'dayNames'),
monthNamesShort: this._get(inst, 'monthNamesShort'), monthNames: this._get(inst, 'monthNames')};
},
/* Format the given date for display. */
_formatDate: function(inst, day, month, year) {
if (!day) {
inst.currentDay = inst.selectedDay;
inst.currentMonth = inst.selectedMonth;
inst.currentYear = inst.selectedYear;
}
var date = (day ? (typeof day == 'object' ? day :
this._daylightSavingAdjust(new Date(year, month, day))) :
this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay)));
return this.formatDate(this._get(inst, 'dateFormat'), date, this._getFormatConfig(inst));
}
});
/*
* Bind hover events for datepicker elements.
* Done via delegate so the binding only occurs once in the lifetime of the parent div.
* Global instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.
*/
function bindHover(dpDiv) {
var selector = 'button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a';
return dpDiv.bind('mouseout', function(event) {
var elem = $( event.target ).closest( selector );
if ( !elem.length ) {
return;
}
elem.removeClass( "ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover" );
})
.bind('mouseover', function(event) {
var elem = $( event.target ).closest( selector );
if ($.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()[0] : instActive.input[0]) ||
!elem.length ) {
return;
}
elem.parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover');
elem.addClass('ui-state-hover');
if (elem.hasClass('ui-datepicker-prev')) elem.addClass('ui-datepicker-prev-hover');
if (elem.hasClass('ui-datepicker-next')) elem.addClass('ui-datepicker-next-hover');
});
}
/* jQuery extend now ignores nulls! */
function extendRemove(target, props) {
$.extend(target, props);
for (var name in props)
if (props[name] == null || props[name] == undefined)
target[name] = props[name];
return target;
};
/* Determine whether an object is an array. */
function isArray(a) {
return (a && (($.browser.safari && typeof a == 'object' && a.length) ||
(a.constructor && a.constructor.toString().match(/\Array\(\)/))));
};
/* Invoke the datepicker functionality.
@param options string - a command, optionally followed by additional parameters or
Object - settings for attaching new datepicker functionality
@return jQuery object */
$.fn.datepicker = function(options){
/* Verify an empty collection wasn't passed - Fixes #6976 */
if ( !this.length ) {
return this;
}
/* Initialise the date picker. */
if (!$.datepicker.initialized) {
$(document).mousedown($.datepicker._checkExternalClick).
find('body').append($.datepicker.dpDiv);
$.datepicker.initialized = true;
}
var otherArgs = Array.prototype.slice.call(arguments, 1);
if (typeof options == 'string' && (options == 'isDisabled' || options == 'getDate' || options == 'widget'))
return $.datepicker['_' + options + 'Datepicker'].
apply($.datepicker, [this[0]].concat(otherArgs));
if (options == 'option' && arguments.length == 2 && typeof arguments[1] == 'string')
return $.datepicker['_' + options + 'Datepicker'].
apply($.datepicker, [this[0]].concat(otherArgs));
return this.each(function() {
typeof options == 'string' ?
$.datepicker['_' + options + 'Datepicker'].
apply($.datepicker, [this].concat(otherArgs)) :
$.datepicker._attachDatepicker(this, options);
});
};
$.datepicker = new Datepicker(); // singleton instance
$.datepicker.initialized = false;
$.datepicker.uuid = new Date().getTime();
$.datepicker.version = "1.8.24";
// Workaround for #4055
// Add another global to avoid noConflict issues with inline event handlers
window['DP_jQuery_' + dpuuid] = $;
})(jQuery);
function supp_pop(field,fieldname,label,extra)
{
var url = "/ibase/webitm/jsp/PorderPopHelp.jsp?field="+field+"&fieldname="+fieldname+"&label="+label+"&extra="+extra;
var win = window.open( url, 'Supplier Code', 'toolbar=no,status=yes,resizable=no,scrollbars=yes,left=500,top=50,width=500,height=550');
}
function callpop(x)
{
document.getElementById("active").value=x;
var temp=document.getElementById("supp_code").value;
supp_pop('item_code','itmcode'+x,'Item Code',temp);
}
//this function is used to set the value in text field in wizard after selecting checkbox from pop help
function selectCheckbox()
{
var supp_code="";
var det="";
var extra="";
var otherField1 = "";
var otherField2 = "";
var otherField3 = "";
var descr1 = "";
var descr2 = "";
var descr3 = "";
var field = document.getElementById("erp").value;
if(field=="supp_code")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
otherField1=otherField1+document.getElementById("DetailITCode."+ i +".otherField1").value;
otherField2=otherField2+document.getElementById("DetailITCode."+ i +".otherField2").value;
otherField3=otherField3+document.getElementById("DetailITCode."+ i +".otherField3").value;
descr1=descr1+document.getElementById("DetailITCode."+ i +".descr1").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("xyz").value=supp_code;
window.opener.document.getElementById("pqr").value=det;
window.opener.document.getElementById("crterm").value=otherField1;
window.opener.document.getElementById("prlist").value=otherField2;
window.opener.document.getElementById("dlvterm").value=otherField3;
window.opener.document.getElementById("crdescr").value=descr1;
window.close();
}
}
else if(field=="tran_code")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
extra=extra+document.getElementById("DetailITCode."+ i +".otherField").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("trcode").value=supp_code;
window.opener.document.getElementById("trdescr").value=det;
window.opener.document.getElementById("trmode").value=extra;
window.close();
}
}
else if(field=="item_ser")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("itmser").value=supp_code;
window.opener.document.getElementById("itmdescr").value=det;
window.close();
}
}
else if(field=="cr_term")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("crterm").value=supp_code;
window.opener.document.getElementById("crdescr").value=det;
window.close();
}
}
else if(field=="dept_code")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("dcode").value=supp_code;
window.opener.document.getElementById("ddescr").value=det;
window.close();
}
}
else if(field=="price_list")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("prlist").value=supp_code;
window.opener.document.getElementById("prdescr").value=det;
window.close();
}
}
else if(field=="item_code")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
}
}
if(Wizard_SuppDetails.selectbox.length == undefined)
{
if (Wizard_SuppDetails.selectbox.checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ 1 +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ 1 +".fieldValue").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
var s=window.opener.document.getElementById("active").value;
window.opener.document.getElementById("itmcode"+s).value=supp_code;
window.opener.document.getElementById("itmdescription"+s).value=det;
window.opener.document.getElementById("main"+s).innerHTML=supp_code+" "+det;
itmparntChange(window.opener.document.getElementById("itmcode"+s).value, "l");
window.close();
}
}
else if(field=="type")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("type").value=supp_code;
window.opener.document.getElementById("typedescr").value=det;
window.close();
}
}
else if(field=="site_code")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
//i=i+1;
if (Wizard_SuppDetails.selectbox[i-1].checked)
{
supp_code=supp_code+document.getElementById("DetailITCode."+ i +".fieldId").value;
det=det+document.getElementById("DetailITCode."+ i +".fieldValue").value;
}
}
if(supp_code=="")
{
alert('No Selection Made ! \nPlease Select the Code !');
}
else
{
window.opener.document.getElementById("site_code").value=supp_code;
window.opener.document.getElementById("sitedescr").value=det;
window.close();
}
}
}
//this function used to tick on only one checkbox at a time
function checkone(id)
{
for (var i = 1;i<=Wizard_SuppDetails.selectbox.length; i++)
{
document.getElementById("DetailITCode."+ i +".selectbox").checked = false;
}
document.getElementById(id).checked = true;
}
//this function used to set checkbox tick when cliking on row in popup
function rowChecked(id)
{
for (var i = 1;i<=Wizard_SuppDetails.selectbox.length; i++)
{
document.getElementById("DetailITCode."+ i +".selectbox").checked = false;
}
document.getElementById("DetailITCode."+ id +".selectbox").checked = true;
}
//this function used to set checkbox tick after reopen popup
function easy(tick)
{
if(tick=="prlist")
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
if (document.getElementById("DetailITCode."+ i +".fieldId").value==window.opener.document.getElementById(tick).value && document.getElementById("DetailITCode."+ i +".fieldValue").value==window.opener.document.getElementById("prdescr").value)
{
document.getElementById("DetailITCode."+ i +".selectbox").checked = true;
break;
}
}
}
else
{
for (var i = 1; i<=Wizard_SuppDetails.selectbox.length; i++)
{
if (document.getElementById("DetailITCode."+ i +".fieldId").value==window.opener.document.getElementById(tick).value)
{
document.getElementById("DetailITCode."+ i +".selectbox").checked = true;
}
}
if(Wizard_SuppDetails.selectbox.length==undefined) //this is for if only one checkbox
{
if (document.getElementById("DetailITCode."+ 1 +".fieldId").value==window.opener.document.getElementById(tick).value)
{
Wizard_SuppDetails.selectbox.checked = true;
}
}
}
}
function sidebar()
{
var x=document.getElementById("tabs").value;
x++;
//alert('Tabs='+x);
document.getElementById("tabs").value=x;
var a="<h3 onclick='run("+x+")' style='font-family: Arial Unicode MS, Arial, sans-serif;'>Product Set"+
"<label id='main"+x+"' style='width:500px;background-color: transparent;'></label>"+
"</h3>"+
"<div style='padding: 0.8em 0.8em;' >"+
"<div id='suppDtlDiv"+x+"' style='height: 180px; overflow: auto; margin-left: 0px; width:100%;'>"+
"<table id='itemDtl' border='0' style='text-align: center;'>"+
"<tr>"+
"<td>"+
"<strong>Item Parent :</strong>"+
"<td>"+
"<td class='td_leftAlign'>"+
"<div style='position:relative; width: 90%;'>"+
"<input type='text' class='editInputClass' name='itmcode"+x+"' id='itmcode"+x+"' maxlength='10' ISCHANGED='false' readOnly = '1' style='width: 90%;'/>"+
"<div style='width:3%; float: right;'>"+
"<a href='javascript:callpop("+x+")' style='float: left;text-decoration: none;'>"+
"<img src='/ibase/webitm/images/DD/popup1.png' style='margin-left: -5px;' title='Select Item Code'/>"+
"</a>"+
"</div>"+
"</div>"+
"</td>"+
"<td colspan='2'>"+
"<input type='text' id='itmdescription"+x+"' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='margin-left: -9px;width: 200px'/>"+
"</td>"+
"<td colspan='2'>"+
" <strong>Delivery Date:</strong> <input type='text' name='dlv_date"+x+"' onchange='dateChange("+x+")' "+
"id='dlv_date"+x+"' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='width: 200px;' />"+
"</td>"+
"<tr>"+
"</table>"+
"</div>"+
"</div>";
//$( "#accordion" ).accordion();
$("#accordion").append(a);
$( "#accordion" ).accordion('destroy').accordion();
$("#accordion").accordion({ collapsible:true, active:false });
//document.getElementById("accordion").style.visibility = "visible";
$("#accordion").accordion('option', 'active' , x-1);
$( "#dlv_date"+x+"").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "d/m/y"});
var today = new Date();
var dd = today.getDate();
var mm = today.getMonth()+1;
var yyyy = today.getYear() % 100;
if(dd<10){dd='0'+dd}
if(mm<10){mm='0'+mm}
var today = dd+'/'+mm+'/'+yyyy;
document.getElementById("dlv_date"+x+"").value=today;
}
function itmparntChange( itmcode, objName)
{
//alert('Recived'+itmcode);
objName = "porderWiz";
var temp="S001";
var url = "/ibase/PorderTableServlet?ITEMCODE="+itmcode+"&OBJ_NAME="+objName;
makeRequest( url, setColumnValues);
}
function makeRequest( url, setColumnValues )
{
var sURL = unescape(window.location);
if( ! isServerBusy )
{
isServerBusy = true;
httpRequest.open("POST", url, false);
httpRequest.onreadystatechange = function()
{
receiveResponse( setColumnValues );
};
httpRequest.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8" );
httpRequest.send( null );
}
}
function receiveResponse( setColumnValues )
{
if (httpRequest.readyState == 4)
{
if(httpRequest.status == 200)
{
processResponse( setColumnValues );
}
else
{
alert("Error loading page\n"+ httpRequest.status +":"+ httpRequest.statusText);
}
}
}
function processResponse( setColumnValues )
{
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);
}
}
setColumnValues( xmldoc );
isServerBusy = false;
}
function setColumnValues( retVal )
{
var xmldoc = null;
var count = 0;
//alert("retVal["+retVal+"]");
retVal = retVal.replace(/(\r\n|\n|\r)/g, '');
xmldoc = loadXMLString(retVal);
if( xmldoc.nodeType != 9 )
{
return true;
}
var x = xmldoc.getElementsByTagName("tr");
//var len=x.length;
//alert("Lenght="+len);
if (x.length > 0)
appendSizesRow();
var sizesValue = new Array();
var tr = "";
var t=window.opener.document.getElementById("active").value; /*t variable for current tab check box id */
var temp = "";
for (var i = 0; i < x.length; i++)
{
if (x[i].nodeName != null && x[i].nodeName != undefined)
{
var y = x[i].childNodes;
/*alert("1 = ["+ x[i].childNodes[0].childNodes[0].nodeValue +"]");
alert("2 = ["+ x[i].childNodes[1].childNodes[0].nodeValue +"]");*/
if (x[i].childNodes[0] != undefined)
{
tr = tr + "<tr style='text-align: center;'>";
for (var j = 0; j < y.length; j++)
{
if (y[j].nodeName != null && y[j].nodeName != undefined)
{
if (y[j].childNodes[0] != undefined)
{
if (y[j].childNodes[0].nodeValue == 'X')
{
tr = tr + "<td>"+ y[j].childNodes[0].nodeValue +"</td>";
}
else if (j == 0)
{
tr = tr + "<td>"+ y[j].childNodes[0].nodeValue +"</td>";
}
else if (j == 1)
{
tr = tr + "<td>"+ y[j].childNodes[0].nodeValue +"</td>";
}
else
{
var rate=xmldoc.getElementsByTagName("rate");
var price = "";
//tr = tr + "<td><input type='text' placeholder='"+y[j].childNodes[0].nodeValue+"' title='Price="+rate[0].childNodes[0].nodeValue+"' onkeypress='return isNumberKey(event)' class='editInputClass' style='width: 60px;text-align: right;' id='Detail2."+t+"."+y[j].childNodes[0].nodeValue+"."+count+"'/></td>";
var fld = window.opener.document.getElementById("fld").value;
var dte = window.opener.document.getElementById("dlv_date"+t+"").value;
fld++;
window.opener.document.getElementById("fld").value = fld;
tr = tr + "<input type='hidden' id='Detail2."+fld+".selectbox' name='Detail2."+fld+".selectbox' checked='false' value='false' />";
tr = tr + "<input type='hidden' id='Detail2."+fld+".item_code' name='Detail2."+fld+".item_code' value='"+y[j].childNodes[0].nodeValue+"' class='editInputClass' style='width: 60px;text-align: right;' />";
tr = tr + "<input type='hidden' value='"+dte+"' id='Detail2."+fld+".dlv_date' name='Detail2."+fld+".dlv_date' class='editInputClass' style='width: 60px;text-align: right;'/>";
tr = tr + "<input type='hidden' value='"+dte+"' id='Detail2."+fld+".dlv_date' name='Detail2."+fld+".dlv_date' class='editInputClass' style='width: 60px;text-align: right;'/>";
tr = tr + "<td><input type='text' id='Detail2."+fld+".quantity' name='Detail2."+fld+".quantity' title='"+y[j].childNodes[0].nodeValue+"' onkeypress='return isNumberKey(event)' ISCHANGED='true' class='editInputClass' style='width: 60px;text-align: right;' /></td>";
temp = temp + fld +",";
count++;
}
}
}
}
tr = tr + "</tr>";
}
}
}
tr = tr + "<input type='hidden' value='"+temp+"' id='dlv_date_temp"+t+"' name='dlv_date"+t+"' class='editInputClass' style='width: 60px;text-align: right;'/>";
//alert("tr RECIVED="+tr);
var x=window.opener.document.getElementById("tabs").value;
var y=window.opener.document.getElementById("active").value;
var pSet = xmldoc.getElementsByTagName("SET");
//alert(pSet.length);
var pSetVal = "";
for (var k = 0; k < pSet.length; k++)
{
//alert(pSet[k]);
if (pSet[k].nodeName != null && pSet[k].nodeName != undefined)
{
pSetVal = pSetVal + "<th>"+pSet[k].childNodes[0].nodeValue+"</th>";
}
}
var a = "<table class='tableClass' id='itemDtl"+y+"' width='100%' style='text-align: left;'>" +
"<thead><tr class='thClass' style='text-align:center;'>"+
pSetVal
+"</tr></thead>" +
"<tbody class='table-body'>" +
"</tbody>" +
"</table>";
/*
window.opener.document.getElementById("itemDtlDiv").innerHTML = a;
window.opener.document.getElementById("ttt").innerHTML = tr;
$('#itemDtlDiv tbody', window.opener.document).append(tr); */
//alert("active="+y);
//alert("X="+x);
$('#itemDtl'+y, window.opener.document).remove();
$('#suppDtlDiv'+y, window.opener.document).append(a);
$('#itemDtl'+y+' tbody', window.opener.document).append(tr);
}
function loadXMLString(txt)
{
if (window.DOMParser)
{
parser=new DOMParser();
xmlDoc=parser.parseFromString(txt,"text/xml");
}
else
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.loadXML(txt);
}
return xmlDoc;
}
function appendSizesRow()
{
$("#itemDtl").remove();
$("#itemDtlDiv").append(
"<table class='tableClass' id='itemDtl' width='100%' style='text-align: left;'>" +
"<thead><tr class='thClass'><th style='width:10%'><input type='checkbox' id='chkSizeDtl'></th><th>Item_Code</th><th>Description</th></tr></thead>" +
"<tbody class='table-body fadeInDown'>" +
"</tbody>" +
"</table>"
);
}
function chkSizes(event, id)
{
if (event.target.type !== 'checkbox')
{
if ( document.getElementById("chkid"+id).checked )
{
document.getElementById("chkid"+id).checked = false;
}
else
{
document.getElementById("chkid"+id).checked = true;
}
}
sizeValues();
}
function checkAll()
{
var id=document.getElementById("active").value;
//alert("Active Tab="+id);
if(document.getElementById("chkSizeDtl"+id).checked)
{
for (var i = 0;i<=document.getElementById("hide"+id).value; i++)
{
document.getElementById("chkid."+id+"."+i+"").checked = true
}
}
else
{
for (var i = 0;i<=document.getElementById("hide"+id).value; i++)
{
document.getElementById("chkid."+id+"."+i+"").checked = false
}
}
}
function run(x)
{
//alert("Active tab"+x);
document.getElementById("active").value=x;
}
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
{
alert('Enter only numeric value');
return false;
}
else
{
return true;
}
}
function makexml()
{
var tot=document.getElementById("fld").value;
/*var supp_code=document.getElementById("supp_code").value;
var purc_order=document.getElementById("purc_order").value;
var ord_date=document.getElementById("ord_date").value;
var dept_code=document.getElementById("dept_code").value;
var item_ser=document.getElementById("item_ser").value;*/
var data="<DATA>";
var quan="";
var code="";
for(var i=1;i<=tot; i++)
{
if(document.getElementById("enter"+i) == undefined)
{
continue;
}
else if(document.getElementById("enter"+i).value != "")
{
var quan=document.getElementById("enter"+i).value;
var code=document.getElementById("enter"+i).title;
data=data+"<record>"+
"<quantity>"+quan+"</quantity>"+
"<code>"+code+"</code>"+
/*"<supp_code>"+supp_code+"</supp_code>"+
"<purc_order>"+purc_order+"</purc_order>"+
"<ord_date>"+ord_date+"</ord_date>"+
"<dept_code>"+dept_code+"</dept_code>"+
"<item_ser>"+item_ser+"</item_ser>"+*/
"</record>";
}
}
data=data+"</DATA>";
//alert(data);
var element = $( "input[name^='Detail2.0.']" );
var DOMeles = element.get();
var xmlString = "<?xml version = \"1.0\"?><Root><header><editFlag></editFlag></header>" +
"<Detail1 domID='1' selected = 'N'>";
for (var i = 0; i < DOMeles.length; i++)
{
if ( DOMeles[i] != null )
{
xmlString = xmlString + "<" + DOMeles[i].getAttribute('id') + ">" +
"<![CDATA[" + DOMeles[i].getAttribute('value') + "]]>" +
"</" + DOMeles[i].getAttribute('id') + ">";
}
}
xmlString = xmlString + "</Detail1>" + data +"</Root>";
alert(xmlString);
document.getElementById("NEXT_FORM_VAL").value=xmlString;
document.getElementById("porderWizFormII").action = "/ibase/PorderForm2Servlet";
document.getElementById("porderWizFormII").submit();
}
/*function setCheckedTrue()
{
//alert('ok');
var tot=document.getElementById("fld").value;
for(var i=1;i<=tot; i++)
{
if(document.getElementById("Detail2."+i+".quantity") == undefined)
{
continue;
}
else if(document.getElementById("Detail2."+i+".quantity").value != "")
{
document.getElementById("Detail2."+i+".selectbox").checked = true;
document.getElementById("Detail2."+i+".selectbox").value = true;
}
}
}*/
function setCheckedTrue()
{
var tot=document.getElementById("fld").value;
var count=0;
for(var i=1;i<=tot; i++)
{
if(document.getElementById("Detail2."+i+".quantity") == undefined)
{
continue;
}
else if(document.getElementById("Detail2."+i+".quantity").value != "")
{
document.getElementById("Detail2."+i+".selectbox").checked = true;
document.getElementById("Detail2."+i+".selectbox").value = true;
}
else
{
count++;
}
}
if(count==tot)
{
alert("Please enter at least 1 quantity...");
return false;
}
}
function dateChange(x)
{
var element = $( "input[name^='dlv_date"+x+"']" );
var DOMeles = element.get();
var dateStr = document.getElementById("dlv_date"+x+"").value;
//alert(dateStr);
for (var i = 0; i < DOMeles.length; i++)
{
if ( DOMeles[i] != null )
{
var str = DOMeles[i].getAttribute('id');
var nam = DOMeles[i].getAttribute('name');
//alert("str ["+str);
//alert("name ["+nam);
var pax = "dlv_date_temp"+x+"";
if(str == pax )
{
var tempVal = document.getElementById(pax).value;
//alert(tempVal);
var tempValStr = tempVal.split(",");
for (var j = 0; j < tempValStr.length; j++)
{
//alert(tempValStr[j]);
if(tempValStr[j] != "")
{
document.getElementById("Detail2."+tempValStr[j]+".dlv_date").value = dateStr
//alert( document.getElementById("Detail2."+x+".dlv_date").value);
}
}
}
}
}
//alert( document.getElementById("dlv_date"+x+"").value);
//document.getElementById("Detail2."+x+".dlv_date").value = document.getElementById("dlv_date"+x+"").value;
//alert( document.getElementById("Detail2."+x+".dlv_date").value);
}
function changeAmount(x)
{
var quantity=document.getElementById("Detail3."+x+".quantity").value;
var rate=document.getElementById("Detail3."+x+".rate").value;
var amount=quantity * rate;
document.getElementById("Detail3."+x+".tot_amt").value=amount;
}
function form2Pre()
{
var element = $( "input[name^='Detail2.0.']" );
var DOMeles = element.get();
var xmlString = "<?xml version = \"1.0\"?><Root><header><editFlag></editFlag></header>" +
"<Detail1 domID='1' selected = 'N'>";
for (var i = 0; i < DOMeles.length; i++)
{
if ( DOMeles[i] != null )
{
xmlString = xmlString + "<" + DOMeles[i].getAttribute('id') + ">" +
"<![CDATA[" + DOMeles[i].getAttribute('value') + "]]>" +
"</" + DOMeles[i].getAttribute('id') + ">";
}
}
xmlString = xmlString + "</Detail1></Root>";
//alert(xmlString);
document.getElementById("PRE_FORM_VAL").value = xmlString;
setActionVal( "previous" );
document.getElementById("porderWizFormII").action = "/ibase/PorderForm2Servlet";
document.getElementById("porderWizFormII").submit();
}
function validate()
{
if(document.getElementById("xyz").value == "")
{
alert("Please Select Supplier Code...!");
return false;
}
else if(document.getElementById("itmser").value == "")
{
alert("Please Select Item Series...!");
return false;
}
else if(document.getElementById("type").value == "")
{
alert("Please Select Purchase Order Type...!");
return false;
}
else if(document.getElementById("trcode").value == "")
{
alert("Please Select Transporter Code...!");
return false;
}
else if(document.getElementById("exch_rate").value == "")
{
alert("Please Enter Exchange Rate...!");
return false;
}
else if(document.getElementById("dcode").value == "")
{
alert("Please Select Department Code...!");
return false;
}
}
var calendertop = 100;
var calenderleft = 200;
var selectedObj = null;
var global_date_format ="dd/MM/yy";
var global_date_type= "date";
var currDate = new Date();
var tommorrowDate = new Date();
tommorrowDate.setDate(currDate.getDate() + 1);
function assignDate( date )
{
document.getElementById( selectedObj ).value = date;
document.getElementById( selectedObj ).focus();
}
function formatDate(d)
{
var month = d.getMonth();
var day = d.getDate();
var year = d.getFullYear();
year = year.toString().substr(2,2);
month = month + 1;
month = month + "";
if (month.length == 1)
{
month = "0" + month;
}
day = day + "";
if (day.length == 1)
{
day = "0" + day;
}
return day +"/"+ month +"/"+ year;
}
function checkAll(element)
{
var checkboxes = document.getElementsByTagName('input');
if (element.checked)
{
for (var i = 0; i < checkboxes.length; i++)
{
if (checkboxes[i].type == 'checkbox')
{
checkboxes[i].checked = true;
}
}
}
else
{
for (var i = 0; i < checkboxes.length; i++)
{
if (checkboxes[i].type == 'checkbox')
{
checkboxes[i].checked = false;
}
}
}
}
function setChecked(obj)
{
if( obj.value == 'false' )
{
obj.value ='true';
}
else
{
obj.value = 'false';
}
}
function setActionVal( value )
{
//alert(value);
document.getElementById("action").value = value;
}
/**
* selecting price or supplier clicking on row
*/
function chkRows(id)
{
if (document.getElementById(id).checked)
{
document.getElementById(id).checked = false;
document.getElementById(id).value = 'false';
}
else
{
document.getElementById(id).checked = true;
document.getElementById(id).value = 'true';
}
}
function chkAllCheckbox(count, element, chkElement)
{
var chkCount = 0;
for (var i = 0; i < count; i++)
{
/*alert("chk = "+document.getElementById(element+i).checked);*/
if (document.getElementById(element+i).checked)
{
chkCount++;
}
}
/*alert("count = "+ count +" chkCount = "+ chkCount);*/
if (count == chkCount)
{
document.getElementById(chkElement).checked = true;
}
}
/* ***************************** Server Response ************************************* */
var httpRequest;
var xmlHTTPResponse;
var isServerBusy = false;
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 makeRequest( url, setColumnValues )
{
var sURL = unescape(window.location);
if( ! isServerBusy )
{
isServerBusy = true;
httpRequest.open("POST", url, false);
httpRequest.onreadystatechange = function()
{
receiveResponse( setColumnValues );
};
httpRequest.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8" );
httpRequest.send( null );
}
}
function receiveResponse( setColumnValues )
{
if (httpRequest.readyState == 4)
{
if(httpRequest.status == 200)
{
processResponse( setColumnValues );
}
else
{
alert("Error loading page\n"+ httpRequest.status +":"+ httpRequest.statusText);
}
}
}
function processResponse( setColumnValues )
{
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);
}
}
setColumnValues( 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 setColumnValues( retVal )
{
var xmldoc = null;
var count = 0;
retVal = retVal.replace(/(\r\n|\n|\r)/g, '');
xmldoc = loadXMLString(retVal);
if( xmldoc.nodeType != 9 )
{
return true;
}
var x = xmldoc.getElementsByTagName("PROD_SIZE");
/*alert("val "+ xmldoc.getElementsByTagName("Root")[0].childNodes[1].nodeName);*/
if (x.length > 0)
appendSizesRow();
var sizesValue = new Array();
for (var i = 0; i < x.length; i++)
{
if (x[i].nodeName != null && x[i].nodeName != undefined)
{
var y = x[i].childNodes;
/*alert("1 = ["+ x[i].childNodes[0].childNodes[0].nodeValue +"]");
alert("2 = ["+ x[i].childNodes[1].childNodes[0].nodeValue +"]");*/
if (x[i].childNodes[0] != undefined)
{
var tr = tr + "<tr onclick='chkSizes(event, "+ count +")'>";
for (var j = 0; j < y.length; j++)
{
if (y[j].nodeName != null && y[j].nodeName != undefined)
{
if (y[j].childNodes[0] != undefined)
{
if (j == 0)
{
sizesValue.push(y[1].childNodes[0].nodeValue);
tr = tr + "<td><input type='checkbox' value='' id=chkid"+count+" onClick='sizeValues()' /></td>";
count++;
}
tr = tr + "<td>"+ y[j].childNodes[0].nodeValue +"</td>";
}
}
}
tr = tr + "</tr>";
}
}
}
$("#sizeDtl tbody").append(tr);
var count = $('#sizeDtl tbody tr').length;
for (var i = 0; i < count; i++)
{
document.getElementById("chkid"+i).value = sizesValue[i];
}
}
function isNumeric(element)
{
if (isNaN(parseFloat(element.value)))
{
document.getElementById(""+element.id).value = "0.000";
setTimeout(function(){element.focus();}, 1);
return false;
}
if (element.value == "")
element.value = 0;
document.getElementById(""+element.id).value = (parseFloat(element.value)).toFixed(3);
return true;
}
/**
* exapanding Div
*/
function expandDiv()
{
if (document.getElementById("showDiv").value == "1")
{
document.getElementById("headerDiv").style.visibility = 'hidden';
document.getElementById("headerDiv").style.height = 0+"%";
document.getElementById("detailDiv").style.height = 99+'%';
document.getElementById("detail").style.height = 70+'%';
document.getElementById("showDiv").value = "0";
document.getElementById("showDiv").src = "/ibase/webitm/images/DD/collapse1.png";
document.getElementById("showDiv").title = "Collapse";
}
else
{
document.getElementById("headerDiv").style.visibility = 'visible';
document.getElementById("headerDiv").style.height = 40+"%";
document.getElementById("detailDiv").style.height = 60+'%';
document.getElementById("detail").style.height = 150+'px';
document.getElementById("showDiv").value = "1";
document.getElementById("showDiv").src = "/ibase/webitm/images/DD/expand1.png";
document.getElementById("showDiv").title = "Expand";
}
}
/* *************************** Creating Div Start ********************************** */
var popupWindow = null;
var popupIsShown = false;
function MakePopup (event)
{
if (window.createPopup)
{
if (!popupWindow)
{
popupWindow = window.createPopup ();
var popupBody = popupWindow.document.body;
popupBody.style.backgroundColor = "lightblue";
popupBody.style.border = "solid black 1px";
popupBody.innerHTML = "";
}
popupWindow.show (100, 100, 150, 25, document.body);
}
else
{
if (!popupIsShown)
{
if (!popupWindow)
{
popupWindow = document.createElement ("div");
popupWindow.id = "someID";
popupWindow.style.backgroundColor = "lightblue";
popupWindow.style.border = "solid black 1px";
popupWindow.style.position = "absolute";
/*popupWindow.style.width = "400px";*/
popupWindow.style.height = "300px";
popupWindow.style.top = "60px";
popupWindow.style.right = "100px";
popupWindow.className = "fadeInDown";
popupWindow.innerHTML = "";
}
document.body.appendChild (popupWindow);
/*window.addEventListener ('click', RemovePopup, true);
popupIsShown = true;
event.stopPropagation ();*/
}
}
}
function RemovePopup (event) {
if (popupIsShown)
{
var relation = popupWindow.compareDocumentPosition (event.target);
var clickInPopup = (event.target == popupWindow) || (relation & Node.DOCUMENT_POSITION_CONTAINED_BY);
if (!clickInPopup)
{
document.body.removeChild (popupWindow);
window.removeEventListener ('click', RemovePopup, true);
popupIsShown = false;
}
}
}
/* ****** Creating Div End ********** */
// Expand/Collapse all
/*$('.accordion-expand-collapse a').click(function() {
$('.accordion .ui-accordion-header:not(.ui-state-active)').next().slideToggle();
$(this).text($(this).text() == 'Expand all' ? 'Collapse all' : 'Expand all');
$(this).toggleClass('collapse');
return false;
});*/
/**
* selecing sizes for perticular sizecodes
*/
function wizItemchange( sizeCode, objName)
{
objName = document.getElementById("OBJ_NAME").value;
var url = "/ibase/ProdWizItemChangeServlet?SIZECODE="+sizeCode+"&OBJ_NAME="+objName;
/*$.ajax({
async: false,
url: url,
dataType: 'text',
type: 'POST',
success: function(result) {
alert("Records Found!"+result);
setColumnValues(result);
},
error: function(result) {
alert("Records Not Found!", "Operation Failed!");
}
});*/
makeRequest( url, setColumnValues);
}
/**
* creating size details table
*/
function appendSizesRow() {
$("#sizeDtl").remove();
$("#sizeDtlDiv").append(
"<table class='tableClass' id='sizeDtl' width='100%' style='text-align: left;'>" +
"<thead><tr class='thClass'><th style='width:10%'><input type='checkbox' id='chkSizeDtl' onclick='checkAllSizes(this)'></th><th>Sizes</th><th>Desc</th></tr></thead>" +
"<tbody class='table-body fadeInDown'>" +
"</tbody>" +
"</table>"
);
}
/**
* check all sizes
*/
function checkAllSizes(element)
{
checkAll(element);
sizeValues();
}
/**
* values of selected sizes
*/
function sizeValues()
{
var count = $('#sizeDtl tbody tr').length;
var sizeDesc = "";
/*alert("count "+count);*/
for (var i = 0; i < count; i++)
{
if (document.getElementById("chkid"+i).checked == true)
{
sizeDesc = sizeDesc + document.getElementById("chkid"+i).value + ",";
}
}
document.getElementById("Detail1.1.size_type").value = sizeDesc;
}
/**
* selecting size clicking on rows
*/
function chkSizes(event, id)
{
if (event.target.type !== 'checkbox')
{
if ( document.getElementById("chkid"+id).checked )
{
document.getElementById("chkid"+id).checked = false;
}
else
{
document.getElementById("chkid"+id).checked = true;
}
}
sizeValues();
}
/* ********************** Screen - I PriceList Table ************************** */
/**
* creating site details table
*/
function createSitesTab(site, price, num, siteDesc)
{
$("#priceListDtl tbody").append(
"<tr>"+
"<td width='70%'><input type='hidden' id=prodsSite"+num+" value="+ site +" /><lable id=lblSite"+num+">"+ site +"</lable></td>"+
"<td width='20%'>" +
"<div style='position:relative; width: 100%;'>" +
"<input type='text' class='editInputClass' id=prodsPriceList"+num+" value='"+ price +"' style='width: 90%;' />" +
"<div style='width:2%; float: right'>" +
"<img src='/ibase/webitm/images/DD/popup1.png' id=priceList"+num+" style='margin-left: -5px;' />" +
"</div>" +
"</div>" +
"</td>"+
"<td width='5%'>" +
"<input type='text' class='editInputClass' id=prodsRate"+num+" size='8' value='0.000' style='text-align: right;' onchange='return isNumeric(this)' />" +
"</td>" +
/*"<td width='5%'>" +
"<input type='text' class='editInputClass' id=prodsCost"+num+" size='10' value='0.000' style='text-align: right;' onchange='return isValidCosts(this)' />" +
"</td>" +*/
"<td width='5%'>" +
"<input type='text' class='editInputClass' id=dtsFrom"+num+" size='9' style='text-align: right;' readonly='1' />" +
"</td>"+
"<td width='5%'>" +
"<input type='text' class='editInputClass' id=dtsTo"+num+" size='9' style='text-align: right;' readonly='1' />" +
"</td>"+
"</tr>"
);
document.getElementById("lblSite"+num).title = siteDesc;
document.getElementById("dtsFrom"+num).value = formatDate(currDate);
document.getElementById("dtsTo"+num).value = formatDate(tommorrowDate);
/*minDate: -20, maxDate: "+1M +10D", changeMonth: true, changeYear: true,*/
$(function() {
$( "#dtsFrom"+num ).datepicker(
{ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y",
onSelect: function( selectedDate ) {
$( "#dtsTo"+num ).datepicker( "option", "minDate", selectedDate );
$( "#dtsTo"+num ).datepicker( "option", "dateFormat", "dd/mm/y" );
}
});
$( "#dtsTo"+num ).datepicker(
{ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y",
onSelect: function( selectedDate ) {
$( "#dtsFrom"+num ).datepicker( "option", "maxDate", selectedDate );
$( "#dtsFrom"+num ).datepicker( "option", "dateFormat", "dd/mm/y" );
}
});
});
/*document.getElementById("fromDt"+num).setAttribute("onclick", "selectedObj = 'dtsFrom"+num+"'; javascript:show_calendar('dtsFrom"+num+"','','','DD/MM/YY');");
document.getElementById("toDt"+num).setAttribute("onclick", "selectedObj = 'dtsTo"+num+"'; javascript:show_calendar('dtsTo"+num+"','','','DD/MM/YY');");*/
document.getElementById("priceList"+num).setAttribute("onclick", "javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','pricelist', 'Price List', this.id);");
}
/**
* setting sites pricelist details
*/
function setPriceListDetails()
{
var count = $('#priceListDtl tbody tr').length;
var price = "";
for (var i = 0; i < count; i++)
{
var prodSite = document.getElementById("prodsSite"+i).value;
var prodPriceList = document.getElementById("prodsPriceList"+i).value;
var prodRate = document.getElementById("prodsRate"+i).value;
/*var prodCost = document.getElementById("prodsCost"+i).value;*/
var dtFrom = document.getElementById("dtsFrom"+i).value;
var dtTo = document.getElementById("dtsTo"+i).value;
if (prodPriceList == "")
{
alert("Please Select Price List for Site '"+ prodSite +"'.");
document.getElementById("prodsPriceList"+i).focus();
return false;
}
else if (prodRate == "")
{
alert("Please Enter Rate for Site '"+ prodSite +"'.");
document.getElementById("prodsRate"+i).focus();
return false;
}
/*else if (prodCost == "")
{
alert("Please Enter Cost for Site '"+ prodSite +"'.");
document.getElementById("prodsCost"+i).focus();
return false;
}*/
else if (dtFrom == "")
{
alert("Please Select From Date for Site '"+ prodSite +"'.");
document.getElementById("dtsFrom"+i).focus();
return false;
}
else if (dtFrom.length == 10)
{
alert("Please Select Valid From Date for Site '"+ prodSite +"'.");
document.getElementById("dtsFrom"+i).focus();
return false;
}
else if (dtTo == "")
{
alert("Please Select To Date for Site '"+ prodSite +"'.");
document.getElementById("dtsTo"+i).focus();
return false;
}
else if (dtTo.length == 10)
{
alert("Please Select Valid To Date for Site '"+ prodSite +"'.");
document.getElementById("dtsTo"+i).focus();
return false;
}
else
{
/*price = price + "||1:" + prodSite + ":" + prodPriceList + ":" + prodRate + ":" + prodCost + ":" + dtFrom + ":" + dtTo;*/
price = price + "||1:" + prodSite + ":" + prodPriceList + ":" + prodRate + ":" + "0" + ":" + dtFrom + ":" + dtTo;
}
}
document.getElementById("Detail1.1.price_list_dtl").value = price.substring(2,price.length);
return true;
}
/* ********************** Screen - I Supplier List Table ************************** */
/**
* creating supplier details table
*/
function createSupplierTab(supplier, price, num, suppDesc)
{
$("#suppListDtl tbody").append(
"<tr >"+
"<td width='80%'><input type='hidden' id=Supp"+num+" value='' /><lable id=lblSupp"+num+">"+ supplier +"</lable></td>"+
"<td width='5%'>" +
"<input type='hidden' class='editInputClass' id=SuppPriceList"+num+" value='"+ price +"' /><lable id=lblSuppPriceList"+num+">"+ price +"</lable>" +
"</td>"+
"<td width='5%'>" +
"<input type='text' class='editInputClass' id=SuppProdCost"+num+" size='8' value='0.000' style='text-align: right;' " +
" onchange='return isNumeric(this)' />" +
"</td>" +
/*"<td width='5%'>" +
"<input type='text' class='editInputClass' id=prodsCost"+num+" size='10' value='0.000' style='text-align: right;' onchange='return isValidCosts(this)' />" +
"</td>" +*/
"<td width='5%'>" +
"<input type='text' class='editInputClass' id=SuppDtFrom"+num+" size='9' style='text-align: right;' readonly='1' />" +
"</td>"+
"<td width='5%'>" +
"<input type='text' class='editInputClass' id=SuppDtTo"+num+" size='9' style='text-align: right;' readonly='1' />" +
"</td>"+
"</tr>"
);
document.getElementById("Supp"+num).value = supplier;
document.getElementById("lblSupp"+num).title = suppDesc;
document.getElementById("SuppDtFrom"+num).value = formatDate(currDate);
document.getElementById("SuppDtTo"+num).value = formatDate(tommorrowDate);
/*minDate: -20, maxDate: "+1M +10D", changeMonth: true, changeYear: true,*/
$(function() {
$( "#SuppDtFrom"+num ).datepicker(
{ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y",
onSelect: function( selectedDate ) {
$( "#SuppDtTo"+num ).datepicker( "option", "minDate", selectedDate );
$( "#SuppDtTo"+num ).datepicker( "option", "dateFormat", "dd/mm/y" );
}
});
$( "#SuppDtTo"+num ).datepicker(
{ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y",
onSelect: function( selectedDate ) {
$( "#SuppDtFrom"+num ).datepicker( "option", "maxDate", selectedDate );
$( "#SuppDtFrom"+num ).datepicker( "option", "dateFormat", "dd/mm/y" );
}
});
});
/*document.getElementById("fromDt"+num).setAttribute("onclick", "selectedObj = 'dtsFrom"+num+"'; javascript:show_calendar('dtsFrom"+num+"','','','DD/MM/YY');");
document.getElementById("toDt"+num).setAttribute("onclick", "selectedObj = 'dtsTo"+num+"'; javascript:show_calendar('dtsTo"+num+"','','','DD/MM/YY');");*/
/*document.getElementById("priceList"+num).setAttribute("onclick", "javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','pricelist', 'Price List', this.id);");*/
}
/**
* setting supplier cost details
*/
function setSuppListDetails()
{
var count = $('#suppListDtl tbody tr').length;
var SuppList = "";
for (var i = 0; i < count; i++)
{
var Supp = document.getElementById("Supp"+i).value;
var SuppPriceList = document.getElementById("SuppPriceList"+i).value;
var SuppProdCost = document.getElementById("SuppProdCost"+i).value;
var SuppDtFrom = document.getElementById("SuppDtFrom"+i).value;
var SuppDtTo = document.getElementById("SuppDtTo"+i).value;
if (SuppProdCost == "")
{
alert("Please Enter Cost for Supplier '"+ Supp +"'.");
document.getElementById("SuppProdCost"+i).focus();
return false;
}
else if (SuppDtFrom == "")
{
alert("Please Select From Date for Supplier '"+ Supp +"'.");
document.getElementById("SuppDtFrom"+i).focus();
return false;
}
else if (SuppDtFrom.length == 10)
{
alert("Please Select Valid From Date for Supplier '"+ Supp +"'.");
document.getElementById("SuppDtFrom"+i).focus();
return false;
}
else if (SuppDtTo == "")
{
alert("Please Select To Date for Supplier '"+ Supp +"'.");
document.getElementById("SuppDtTo"+i).focus();
return false;
}
else if (SuppDtTo.length == 10)
{
alert("Please Select Valid To Date for Site '"+ prodSite +"'.");
document.getElementById("SuppDtTo"+i).focus();
return false;
}
else
{
SuppList = SuppList + "||1:" + Supp + ":" + SuppPriceList + ":" + SuppProdCost + ":" + SuppDtFrom + ":" + SuppDtTo;
}
}
document.getElementById("Detail1.1.supp_item_desc").value = SuppList.substring(2,SuppList.length);
return true;
}
/* ********************** checkNullvalidation ************************** */
/**
* form-I validation on submit
*/
function checkNullvalidation()
{
if (document.getElementById("Detail1.1.item_parnt").value == "")
{
alert("Please Enter Parent Code.");
return false;
}
else if (document.getElementById("Detail1.1.item_parnt_desc").value == "")
{
alert("Please Enter Parent Code Description.");
document.getElementById("Detail1.1.item_parnt_desc").focus();
return false;
}
/*else if (document.getElementById("Detail1.1.item_type").value == "")
{
alert("Please Enter Product Type.");
document.getElementById("Detail1.1.item_type").focus();
return false;
}*/
else if (document.getElementById("Detail1.1.descr").value == "")
{
alert("Please Enter Item Description.");
document.getElementById("Detail1.1.descr").focus();
return false;
}
else if (document.getElementById("Detail1.1.item_ser").value == "")
{
alert("Please Select Item Series.");
document.getElementById("Detail1.1.item_ser").focus();
return false;
}
/*else if (document.getElementById("Detail1.1.grp_code").value == "")
{
alert("Please Select Group Code.");
document.getElementById("Detail1.1.grp_code").focus();
return false;
}*/
else if (document.getElementById("Detail1.1.item_category").value == "")
{
alert("Please Select Item Category.");
document.getElementById("Detail1.1.item_category").focus();
return false;
}
else if (document.getElementById("Detail1.1.supp_code").value == "")
{
alert("Please Select Supplier.");
document.getElementById("Detail1.1.supp_code").focus();
return false;
}
else if (!setSuppListDetails())
{
return false;
}
else if (document.getElementById("Detail1.1.site_codes").value == "")
{
alert("Please Select Site Availability.");
document.getElementById("Detail1.1.site_codes").focus();
return false;
}
else if (!setPriceListDetails())
{
return false;
}
/*else if (document.getElementById("Detail1.1.dimension_desc").value == "")
{
alert("Please Select Dimension.");
document.getElementById("Detail1.1.dimension_desc").focus();
return false;
}*/
else if (document.getElementById("Detail1.1.color_codes").value == "")
{
alert("Please Select Color Availability.");
document.getElementById("Detail1.1.color_codes").focus();
return false;
}
/*else if (document.getElementById("Detail1.1.size_codes").value == "")
{
alert("Please Select Size Availability.");
document.getElementById("Detail1.1.size_codes").focus();
return false;
}*/
else if (document.getElementById("Detail1.1.size_codes").value != "" && document.getElementById("Detail1.1.size_type").value == "")
{
alert("Please Select Size.");
document.getElementById("Detail1.1.size_type").focus();
return false;
}
document.getElementById("action").value = 'next';
return true;
}
/* ********************** onPageLoad ************************** */
/**
* onload function for assigning values
*/
function pageLoad()
{
var suppliers = document.getElementById("Detail1.1.supp_code").value;
var suppDescs = document.getElementById("Detail1.1.supplier_desc").value;
if (suppliers != "")
{
var supplier = suppliers.split(",");
var suppDesc = suppDescs.split(":");
var num = 0;
/*document.getElementById("suppListTr").style.display = "";*/
document.getElementById("suppListDtl").style.visibility = "visible";
$("#suppListDtl tbody").empty();
/*for (var i = 0; i < supplier.length; i++)
{
num++;
}*/
var suppListDtl = document.getElementById("Detail1.1.supp_item_desc").value;
if (suppListDtl != "")
{
var suppList = suppListDtl.split("||");
for (var i = 0; i < suppList.length; i++)
{
var suppLists = suppList[i].split(":");
createSupplierTab(suppLists[1], suppLists[2], i, suppDesc[i]);
document.getElementById("Supp"+i).value = suppLists[1];
document.getElementById("SuppPriceList"+i).value = suppLists[2];
document.getElementById("lblSuppPriceList"+i).innerHTML = suppLists[2];
document.getElementById("SuppProdCost"+i).value = suppLists[3];
document.getElementById("SuppDtFrom"+i).value = suppLists[4];
document.getElementById("SuppDtTo"+i).value = suppLists[5];
}
}
document.getElementById("supplier_desc").innerHTML = suppliers;
}
var sites = document.getElementById("Detail1.1.site_codes").value;
var sitesDescs = document.getElementById("Detail1.1.site_desc").value;
if (sites != "")
{
var site = sites.split(",");
var siteDesc = sitesDescs.split(",");
var num = 0;
/*document.getElementById("priceListTr").style.display = "";*/
document.getElementById("priceListDtl").style.visibility = "visible";
$("#priceListDtl tbody").empty();
for (var i = 0; i < site.length; i++)
{
createSitesTab(site[i], "", num, siteDesc[i]);
num++;
}
var priceListDtl = document.getElementById("Detail1.1.price_list_dtl").value;
if (priceListDtl != "")
{
var prodPrice = priceListDtl.split("||");
for (var i = 0; i < prodPrice.length; i++)
{
var prodPrice1 = prodPrice[i].split(":");
document.getElementById("prodsSite"+i).value = prodPrice1[1];
document.getElementById("prodsPriceList"+i).value= prodPrice1[2];
document.getElementById("prodsRate"+i).value = prodPrice1[3];
/*document.getElementById("prodsCost"+i).value = prodPrice1[4];*/
document.getElementById("dtsFrom"+i).value = prodPrice1[5];
document.getElementById("dtsTo"+i).value = prodPrice1[6];
}
}
document.getElementById("site_codes").innerHTML = sites;
}
var sizes = document.getElementById("Detail1.1.size_codes").value;
if (sizes != "")
{
wizItemchange(sizes, "l");
var sizeDesc = document.getElementById("Detail1.1.size_type").value;
var size = sizeDesc.split(",");
var count = $('#sizeDtl tbody tr').length;
for (var i = 0; i < count; i++)
{
for (var j = 0; j < size.length; j++)
{
if (document.getElementById("chkid"+i).value == size[j])
{
document.getElementById("chkid"+i).checked = true;
}
}
}
chkAllCheckbox(count, "chkid", "chkSizeDtl");
}
var dimension = document.getElementById("Detail1.1.dimension_desc").value;
if (dimension != "")
{
document.getElementById("dimension_desc").innerHTML = dimension;
}
var category = document.getElementById("Detail1.1.item_category").value;
if (category != "")
{
document.getElementById("item_category").innerHTML = category;
}
var colors = document.getElementById("Detail1.1.color_code_descr").value;
if (colors != "")
{
document.getElementById("color_code_descr").innerHTML = colors;
}
}
/* ********************** openSearchPopup on 'F2' ************************** */
/**
* Pressing 'F2' open popup
*/
function openSearchPopup(event, dbid, logincode, field, filedName, value)
{
if(event.keyCode == 113)
{
callListJSP(dbid, logincode, field, filedName, value);
}
}
<%@ page import="java.io.*" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.net.*" %>
<%@ page import="ibase.webitm.bean.wiz.*" %>
<%@ page import="ibase.utility.*" %>
<%@ page import="ibase.webitm.servlet.ITMWizardHandlerServlet" %>
<%@page import = "java.lang.*,java.util.*, ibase.webitm.bean.wms.PorderDetailBean"%>
<%
System.out.println("***********In Porder Page JSP********************");
String htmlData = "";
try
{
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )session.getAttribute( "USER_INFO" );
if( userInfo == null )
{
out.println("Your session has been expired. Please re-login.");
}
String objName = request.getParameter("OBJ_NAME");
String PRE_FORM_VAL = ( request.getParameter( "PRE_FORM_VAL" ) != null ) ? request.getParameter( "PRE_FORM_VAL" ) : "";
String formType = request.getParameter("formType");//Type of form
String editorId = request.getParameter("EDITOR_ID");
String directAcc = ( request.getParameter( "DIRECT_ACC" ) != null ) ? request.getParameter( "DIRECT_ACC" ) : "Y";
System.out.println("objName : " + objName);
ITMWizardBean itmWizardBean;
String transDB = userInfo.getTransDB();
System.out.println("TransDB E12 name is : " + transDB);
if(transDB != null && !"null".equalsIgnoreCase(transDB.trim()) && transDB.trim().length() > 0)
{
itmWizardBean = new ITMWizardBean( objName, request.getSession(), userInfo );
}
else
{
itmWizardBean = new ITMWizardBean( objName, request.getSession() );
}
request.getSession().setAttribute( "WIZARD_BEAN_" + objName, itmWizardBean );
PorderDetailBean supp = new PorderDetailBean();
htmlData = supp.nextForm("1", PRE_FORM_VAL);
}
catch(Exception e)
{
e.printStackTrace();
}
%>
<div id="detailData" style="display: ">
<%=htmlData%>
</div>
<%@page import = "java.lang.*,java.util.*, ibase.webitm.bean.wms.PorderDetailBean"%>
<%
System.out.println("=========In Supplier Code JSP==============");
String field = request.getParameter("field");
System.out.println("Field="+field);
String fieldname = request.getParameter("fieldname");
System.out.println("Field Name="+fieldname);
String label = request.getParameter("label");
System.out.println("Label="+label);
String extra = request.getParameter("extra");
System.out.println("Extra="+extra);
PorderDetailBean supp = new PorderDetailBean();
String htmlData = supp.getList(field,extra);
System.out.println("htmlData["+htmlData+"]");
%>
<html>
<head>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<link href="/ibase/webitm/css/Novartis/ProductWizard.css" rel="stylesheet"/>
<script>
function load()
{
var value = "<%=field%>";
var tick = "<%=fieldname%>";
document.getElementById("erp").value = value;
document.getElementById("tick").value = tick;
easy(tick);
}
</script>
</head>
<body style="margin: 0;" onload="load();">
<div id ="div1" class = "mainPage-Container">
<div class="headerPage-Container pophelp-Header" >
<span class="pophelp-headerTitle">
Select <%= label %>
</span>
</div>
<div class="detailPage-Container pophelp-Container">
<div id="dataDivID" class="pophelp-Contents" >
<%=htmlData%>
</div>
</div>
<div class="pophelp-Footer">
<input type="hidden" id="erp">
<input type="hidden" id="tick">
<div id="ok" class="button green-Btn pophelp-okcancel" onClick='selectCheckbox();'>
<span>Add</span>
</div>
<div id="cancel" class="button red-Btn pophelp-okcancel" onClick='self.close();'>
<span>Cancel</span>
</div>
</div>
</div>
</body>
</html>
<?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>
<body>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Form_I.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.accordion.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/ITMWizardCalendar.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.datepicker.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script>
<![CDATA[
$(function() {
$( "#orddate").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
$( "#confdate").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
$( "#trandate").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
$( "#accordion" ).accordion({ collapsible:true, active:false });
});
]]>
</script>
<form name="porderWizFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div id="header">
<div id="headingText">Purchase Wizard</div>
</div>
<div class="mainPage-Container" style="overflow: auto;">
<div style="margin-top: 8px; width:100%; padding: 0px; float: left;">
<div style="float: left; width:50%; border: 0px solid; padding: 0px;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<xsl:for-each select="//Detail1">
<xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable>
<xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable>
<xsl:variable name="ind_no"><xsl:value-of select="ind_no"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable>
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable>
<xsl:variable name="crterm_descr"><xsl:value-of select="crterm_descr"/></xsl:variable>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="confirmed"><xsl:value-of select="confirmed"/></xsl:variable>
<xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable>
<xsl:variable name="trans_mode"><xsl:value-of select="trans_mode"/></xsl:variable>
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="conf_date"><xsl:value-of select="conf_date"/></xsl:variable>
<xsl:variable name="exch_rate"><xsl:value-of select="exch_rate"/></xsl:variable>
<xsl:variable name="dept_code"><xsl:value-of select="dept_code"/></xsl:variable>
<xsl:variable name="department_descr"><xsl:value-of select="department_descr"/></xsl:variable>
<xsl:variable name="tran_code"><xsl:value-of select="tran_code"/></xsl:variable>
<xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
<xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable>
<xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable>
<xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable>
<xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<!-- <tr>
<td class="td_leftAlign" nowrap="true">
<strong>Purchase Order :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" id="purc_order" value="{purc_order}" name="Detail1.{normalize-space($dbID)}.purc_order" class="editInputClass" style="width: 100%"/>
</td>
</tr> -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Order Date :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.ord_date" id="orddate"
value="{$ord_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr>
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>IND Number :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" value="{$ind_no}" name="Detail1.{normalize-space($dbID)}.ind_no" class="editInputClass" style="width: 100%"/>
</td>
</tr> -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Item Series :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$item_ser}" id="itmser" name="Detail1.{normalize-space($dbID)}.item_ser"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('item_ser','itmser','Item Series');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Series"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.itmdescr" id="itmdescr"
value="" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Tran Type :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$pord_type}" id="type" name="Detail1.{normalize-space($dbID)}.pord_type"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('type','type','Tran Type');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tran Type"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.typedescr" id="typedescr"
value="" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Supplier Code :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{supp_code}" name="Detail1.{normalize-space($dbID)}.supp_code"
id="xyz" maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('supp_code','xyz','Supplier Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Supplier Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.supp_name" id="pqr"
value="{supp_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Credit Terms :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$cr_term}" id="crterm" name="Detail1.{normalize-space($dbID)}.cr_term"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('cr_term','crterm','Credit Term');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Credit Term"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.crterm_descr" id="crdescr"
value="{crterm_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Remarks :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" value="{remarks}" name="Detail1.{normalize-space($dbID)}.remarks" maxlength="310" class="editInputClass" style="width: 100%"/>
</td>
</tr>
<!-- <tr>
<td class="td_leftAlign" nowrap="true">
<strong>Confirmed :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.confirmed"
value="{$confirmed}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr> -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Site Code :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$site_code__dlv}" id="site_code" name="Detail1.{normalize-space($dbID)}.site_code__dlv"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<!-- <div style="width:3%; float: right;">
<a href="javascript:supp_pop('site_code','site_code','Site Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Site Code"/>
</a>
</div>-->
</div>
</td>
<!--<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.sitedescr" id="sitedescr"
value="" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td> -->
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Site Address1 :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_add1" value="{site_add1}" maxlength="40" class="editInputClass" style="width: 100%"/>
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Delivery Terms :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1"
id="dlvterm" value="{$dlv_term}" class="editInputClass" style="width: 100%"/>
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Transporter Code :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$tran_code}" id="trcode" name="Detail1.{normalize-space($dbID)}.tran_code"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('tran_code','trcode','Transporter Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Transporter Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.tran_name" id="trdescr"
value="{tran_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Transporter Mode :</strong>
</td>
<td class="td_leftAlign">
<input type="text" value="{$trans_mode}" name="Detail1.{normalize-space($dbID)}.trans_mode" class="editInputClass" id="trmode" maxlength="10" style='text-align: right; width: 20%'/>
</td>
</tr>
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Tran Date :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.tran_date" id="trandate"
value="{$tran_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr> -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Price List :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$price_list}" id="prlist" name="Detail1.{normalize-space($dbID)}.price_list"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('price_list','prlist','Price List');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Price List"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.price_list" id="prdescr"
value="{price_list}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Confirm Date :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.conf_date" id="confdate"
value="{$conf_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Exchange Rate :</strong>
</td>
<td class="td_leftAlign">
<input type="text" name="Detail1.{normalize-space($dbID)}.exch_rate" id="exch_rate"
value="{$exch_rate}" onkeypress='return isNumberKey(event)' class="editInputClass" maxlength="10" style='text-align: right; width: 90%'/>
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Department Code :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$dept_code}" id="dcode" name="Detail1.{normalize-space($dbID)}.dept_code"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('dept_code','dcode','Department Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Department Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.department_descr" id="ddescr"
value="{department_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr style="height: 10px;">
</tr>
<tr>
<td>
<input type="submit" onclick="javascript: return validate()" style="cursor:hand" value="Next" class="button" title='Next'/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.emp_code" value="{emp_code}" />
</td>
<!--<td>
<input type="button" style="cursor:hand" value="Add" class="button" title='Add'
onclick="sidebar()" />
</td>-->
</tr>
</xsl:for-each>
</table>
</div>
<!--<div style="float: left; width:45%; border: 0px solid; padding: 0px;">
<div id="accordion" style="position: fixed; float: left; margin-left: 5px; width:45%;">
<h3 style="font-family: Arial Unicode MS, Arial, sans-serif;">Item Availability</h3>
<div style="padding: 0.8em 0.8em;">
<div id="suppDtlDiv" style="height: 180px; overflow: auto; margin-left: 0px; width:100%;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Item Parent :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" id="itmcode" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 90%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('item_code','itmcode','Item Code','wasim');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" id="itmdescription" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 200px" />
</td>
</tr>
</table>
</div>
</div>
</div>
</div>-->
</div>
<div style="border: 1px solid transparent; width: 100%;">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
<!-- <input type="submit" style="cursor:hand" value="Next" class="button" title='' onclick="javascript:return checkNullvalidation()" /> -->
<table id="errorActivityTable" class="tableClass" border="0" cellSpacing="2" cellPadding="1" width="98%">
<xsl:for-each select="//error">
<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>
<xsl:if test="position() = 1">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%" >
<xsl:value-of select="message"/>
</td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%" >
Description : <xsl:value-of select="description"/>
</td>
</xsl:if>
<xsl:if test="$type = 'W'">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%">
Override Warnings :
<input type="checkbox" name="forceSave" value="false" onClick="setChecked(this)"/>
</td>
</xsl:if>
</tr>
</xsl:for-each>
</table>
</div>
</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 type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" />
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.accordion.js"></script>
<script>
<![CDATA[
$(function()
{
$( "#accordion" ).accordion({ collapsible:true, active:false });
$("#accordion").accordion('option', 'active' , 0);
$( "#dlv_date1").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "d/m/y"});
});
]]>
</script>
<body>
<form name="porderWizFormII" id="porderWizFormII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="mainPage-Container" style="overflow: auto;">
<div style="margin-top: 8px; width:100%; padding: 0px; float: left;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<div style="width: 99%; margin-top: 5px;">
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable>
<xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable>
<xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable>
<xsl:variable name="ind_no"><xsl:value-of select="ind_no"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable>
<xsl:variable name="crterm_descr"><xsl:value-of select="crterm_descr"/></xsl:variable>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="confirmed"><xsl:value-of select="confirmed"/></xsl:variable>
<xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable>
<xsl:variable name="tran_code"><xsl:value-of select="tran_code"/></xsl:variable>
<xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="conf_date"><xsl:value-of select="conf_date"/></xsl:variable>
<xsl:variable name="exch_rate"><xsl:value-of select="exch_rate"/></xsl:variable>
<xsl:variable name="dept_code"><xsl:value-of select="dept_code"/></xsl:variable>
<xsl:variable name="department_descr"><xsl:value-of select="department_descr"/></xsl:variable>
<xsl:variable name="trans_mode"><xsl:value-of select="trans_mode"/></xsl:variable>
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable>
<xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable>
<xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable>
<input type="hidden" value="{$supp_code}" name="Detail2.0.supp_code" id="supp_code" />
<input type="hidden" value="{$supp_name}" name="Detail2.0.supp_name" id="supp_name" />
<input type="hidden" value="{$purc_order}" name="Detail2.0.purc_order" id="purc_order" />
<input type="hidden" value="{$ord_date}" name="Detail2.0.ord_date" id="ord_date" />
<input type="hidden" value="{$ind_no}" name="Detail2.0.ind_no" id="ind_no" />
<input type="hidden" value="{$item_ser}" name="Detail2.0.item_ser" id="item_ser" />
<input type="hidden" value="{$cr_term}" name="Detail2.0.cr_term" id="cr_term" />
<input type="hidden" value="{$crterm_descr}" name="Detail2.0.crterm_descr" id="crterm_descr" />
<input type="hidden" value="{$remarks}" name="Detail2.0.remarks" id="remarks" />
<input type="hidden" value="{$confirmed}" name="Detail2.0.confirmed" id="confirmed" />
<input type="hidden" value="{$dlv_term}" name="Detail2.0.dlv_term" id="dlv_term" />
<input type="hidden" value="{$tran_code}" name="Detail2.0.tran_code" id="tran_code" />
<input type="hidden" value="{$tran_name}" name="Detail2.0.tran_name" id="tran_name" />
<input type="hidden" value="{$tran_date}" name="Detail2.0.tran_date" id="tran_date" />
<input type="hidden" value="{$price_list}" name="Detail2.0.price_list" id="price_list" />
<input type="hidden" value="{$conf_date}" name="Detail2.0.conf_date" id="conf_date" />
<input type="hidden" value="{$exch_rate}" name="Detail2.0.exch_rate" id="exch_rate" />
<input type="hidden" value="{$dept_code}" name="Detail2.0.dept_code" id="dept_code" />
<input type="hidden" value="{$department_descr}" name="Detail2.0.department_descr" id="department_descr" />
<input type="hidden" value="{$trans_mode}" name="Detail2.0.trans_mode" id="trans_mode" />
<input type="hidden" value="{$dlv_date}" name="Detail2.0.dlv_date" id="dlv_date" />
<input type="hidden" value="{$pord_type}" name="Detail2.0.pord_type" id="pord_type" />
<input type="hidden" value="{$site_code__dlv}" name="Detail2.0.site_code__dlv" id="site_code__dlv" />
<input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" />
<!--<input type="hidden" value="{normalize-space($supp_code)}" id="supp_code" />
<input type="hidden" value="{normalize-space($purc_order)}" id="purc_order" />
<input type="hidden" value="{normalize-space($ord_date)}" id="ord_date" />
<input type="hidden" value="{normalize-space($ind_no)}" id="ind_no" />
<input type="hidden" value="{normalize-space($dept_code)}" id="dept_code" />
<input type="hidden" value="{normalize-space($item_ser)}" id="item_ser" />-->
</xsl:for-each>
</div>
<tr>
<td>
<!-- <input type="checkbox" name="Detail2.2.selectbox" id="Detail2.2.selectbox" checked='true' value="true"/>
<input type="text" id="item_descr" value="123456" name="Detail2.2.item_descr" class="editInputClass" style="width: 100%"/> -->
<input type="button" style="cursor:hand" value="Add" class="button" title='Add' onclick="sidebar()" />
<input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="form2Pre()"/>
<input type="submit" style="cursor:hand" value="Next" class="button" title='Next' onclick="javascript:setActionVal('next');javascript: return setCheckedTrue()" />
<input type="hidden" value="1" name="TAB" ID="tabs" />
<input type="hidden" value="" name="active" ID="active" />
<input type="hidden" value="0" name="fld" ID="fld" />
<input type="hidden" name="NEXT_FORM_VAL" ID="NEXT_FORM_VAL" />
<input type="hidden" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
</td>
</tr>
</table>
</div>
<xsl:for-each select="//Detail2">
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<div style="float: left; width:100%; border: 0px solid; padding: 0px;">
<div id="accordion" style="float: left; margin-left: 5px; width:95%;">
<h3 onclick='run(1)' style="font-family: Arial Unicode MS, Arial, sans-serif;">Product Set
<label id='main1' style='background-color: transparent;'></label>
</h3>
<div style="padding: 0.8em 0.8em;">
<div id="suppDtlDiv1" style="height: 180px; overflow: auto; margin-left: 0px; width:100%;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Item Parent :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" id="itmcode1" name="itmcode1" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 90%;" />
<div style="width:3%; float: right;">
<a href="javascript:callpop(1);" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" id="itmdescription1" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 200px" />
</td>
<td colspan="2">
<strong>Delivery Date:</strong><input type="text" name="dlv_date1" onchange="dateChange(1)"
id="dlv_date1" value="{dlv_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 200px;" />
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</xsl:for-each>
<div style="border: 1px solid transparent; width: 100%;">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
<input type="hidden" value="1:MP:3" name="formType" id="formType" />
<!-- <input type="submit" style="cursor:hand" value="Next" class="button" title='' onclick="javascript:return checkNullvalidation()" /> -->
<table id="errorActivityTable" class="tableClass" border="0" cellSpacing="2" cellPadding="1" width="98%">
<xsl:for-each select="//error">
<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>
<xsl:if test="position() = 1">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%" >
<xsl:value-of select="message"/>
</td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%" >
Description : <xsl:value-of select="description"/>
</td>
</xsl:if>
<xsl:if test="$type = 'W'">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%">
Override Warnings :
<input type="checkbox" name="forceSave" value="false" onClick="setChecked(this)"/>
</td>
</xsl:if>
</tr>
</xsl:for-each>
</table>
</div>
</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 type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" />
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script>
<![CDATA[
$(function()
{
for(var i=0;i<=100;i++)
{
$( "#dlv_date"+i+"").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
}
});
]]>
</script>
<body>
<form name="porderWizFormIII" id="porderFormIII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="mainPage-Container" style="overflow: auto;">
<div id="header">
<div id="headingText">Purchase Wizard Details</div>
</div>
<table class="tableClass" id="Details" border="0" cellspacing="1" cellpadding="1" style="width:90%">
<thead class="table-head" style="text-align:center;">
<tr>
<th class="thClass" nowrap="true" width="5%">
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Code</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Quantity</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Rate</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Amount</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Description</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Supplier Code</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Order Date</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Delivery Date</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="3%">
<strong>Department Code</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="3%">
<strong>Item Series</strong>
</th>
</tr>
</thead>
<tbody class='table-body fadeInDown'>
<xsl:for-each select="//Detail3">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable>
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable>
<xsl:variable name="dept_code"><xsl:value-of select="dept_code"/></xsl:variable>
<xsl:variable name="rate"><xsl:value-of select="rate"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="unit"><xsl:value-of select="unit"/></xsl:variable>
<xsl:variable name="rate"><xsl:value-of select="rate"/></xsl:variable>
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<xsl:variable name="unit__std"><xsl:value-of select="unit__std"/></xsl:variable>
<xsl:variable name="unit__rate"><xsl:value-of select="unit__rate"/></xsl:variable>
<xsl:variable name="discount"><xsl:value-of select="discount"/></xsl:variable>
<xsl:variable name="tax_amt"><xsl:value-of select="tax_amt"/></xsl:variable>
<xsl:variable name="dlv_qty"><xsl:value-of select="dlv_qty"/></xsl:variable>
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<xsl:variable name="pack_code"><xsl:value-of select="pack_code"/></xsl:variable>
<xsl:variable name="rate__clg"><xsl:value-of select="rate__clg"/></xsl:variable>
<xsl:variable name="std_rate"><xsl:value-of select="std_rate"/></xsl:variable>
<xsl:variable name="conv__qty_stduom"><xsl:value-of select="conv__qty_stduom"/></xsl:variable>
<xsl:variable name="req_date"><xsl:value-of select="req_date"/></xsl:variable>
<xsl:variable name="loc_code"><xsl:value-of select="loc_code"/></xsl:variable>
<xsl:variable name="acct_code__dr"><xsl:value-of select="acct_code__dr"/></xsl:variable>
<xsl:variable name="cctr_code__dr"><xsl:value-of select="cctr_code__dr"/></xsl:variable>
<xsl:variable name="acct_code__cr"><xsl:value-of select="acct_code__cr"/></xsl:variable>
<xsl:variable name="cctr_code__cr"><xsl:value-of select="cctr_code__cr"/></xsl:variable>
<xsl:variable name="operation"><xsl:value-of select="operation"/></xsl:variable>
<xsl:variable name="git_qty"><xsl:value-of select="git_qty"/></xsl:variable>
<xsl:variable name="adj_qty"><xsl:value-of select="adj_qty"/></xsl:variable>
<xsl:variable name="quantity__fc"><xsl:value-of select="quantity__fc"/></xsl:variable>
<xsl:variable name="tot_amt"><xsl:value-of select="tot_amt"/></xsl:variable>
<tr style="text-align:center;">
<td>
<input type="checkbox" name="Detail3.{normalize-space($dbID)}.selectbox" id="Detail3.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</td>
<td>
<xsl:value-of select="item_code"/>
</td>
<td>
<input type="text" class="editInputClass" value="{$quantity}" name="Detail3.{normalize-space($dbID)}.quantity"
onkeypress='return isNumberKey(event)' id="Detail3.{normalize-space($dbID)}.quantity" maxlength="5" style="width:70px;" onchange="changeAmount({$dbID})"/>
</td>
<td>
<xsl:value-of select="rate"/>
</td>
<td>
<input type="text" ISCHANGED="false" readOnly = "1" value="{$tot_amt}" id="Detail3.{normalize-space($dbID)}.tot_amt" style="width: 75px;" />
</td>
<td>
<xsl:value-of select="descr"/>
</td>
<td>
<xsl:value-of select="supp_code"/>
</td>
<td>
<xsl:value-of select="ord_date"/>
</td>
<td>
<!-- <xsl:value-of select="dlv_date"/>-->
<input type="text"
id="dlv_date{normalize-space($dbID)}" value="{dlv_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100px;" />
</td>
<td>
<xsl:value-of select="dept_code"/>
</td>
<td>
<xsl:value-of select="item_ser"/>
</td>
<input type="hidden" class="editInputClass" value="{$item_code}" name="Detail3.{normalize-space($dbID)}.item_code"
id="Detail3.{normalize-space($dbID)}.item_code" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$rate}" name="Detail3.{normalize-space($dbID)}.rate"
id="Detail3.{normalize-space($dbID)}.rate" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$descr}" name="Detail3.1.descr"
id="Detail3.{normalize-space($dbID)}.descr" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$supp_code}" name="Detail3.1.supp_code"
id="Detail3.{normalize-space($dbID)}.supp_code" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$ord_date}" name="Detail3.{normalize-space($dbID)}.ord_date"
id="Detail3.{normalize-space($dbID)}.ord_date" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$unit}" name="Detail3.{normalize-space($dbID)}.unit"
id="Detail3.{normalize-space($dbID)}.unit" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$rate}" name="Detail3.{normalize-space($dbID)}.rate"
id="Detail3.{normalize-space($dbID)}.rate" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$dlv_date}" name="Detail3.{normalize-space($dbID)}.dlv_date"
id="Detail3.{normalize-space($dbID)}.dlv_date" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$unit__std}" name="Detail3.{normalize-space($dbID)}.unit__std"
id="Detail3.{normalize-space($dbID)}.unit__std" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$unit__rate}" name="Detail3.{normalize-space($dbID)}.unit__rate"
id="Detail3.{normalize-space($dbID)}.unit__rate" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$discount}" name="Detail3.{normalize-space($dbID)}.discount"
id="Detail3.{normalize-space($dbID)}.discount" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$tax_amt}" name="Detail3.{normalize-space($dbID)}.tax_amt"
id="Detail3.{normalize-space($dbID)}.tax_amt" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$tot_amt}" name="Detail3.{normalize-space($dbID)}.tot_amt"
id="Detail3.{normalize-space($dbID)}.tot_amt" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$dlv_qty}" name="Detail3.{normalize-space($dbID)}.dlv_qty"
id="Detail3.{normalize-space($dbID)}.dlv_qty" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$dlv_date}" name="Detail3.{normalize-space($dbID)}.dlv_date"
id="Detail3.{normalize-space($dbID)}.dlv_date" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$pack_code}" name="Detail3.{normalize-space($dbID)}.pack_code"
id="Detail3.{normalize-space($dbID)}.pack_code" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$rate__clg}" name="Detail3.{normalize-space($dbID)}.rate__clg"
id="Detail3.{normalize-space($dbID)}.rate__clg" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$std_rate}" name="Detail3.{normalize-space($dbID)}.std_rate"
id="Detail3.{normalize-space($dbID)}.std_rate" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$conv__qty_stduom}" name="Detail3.{normalize-space($dbID)}.conv__qty_stduom"
id="Detail3.{normalize-space($dbID)}.conv__qty_stduom" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$req_date}" name="Detail3.{normalize-space($dbID)}.req_date"
id="Detail3.{normalize-space($dbID)}.req_date" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$loc_code}" name="Detail3.{normalize-space($dbID)}.loc_code"
id="Detail3.{normalize-space($dbID)}.loc_code" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$acct_code__dr}" name="Detail3.{normalize-space($dbID)}.acct_code__dr"
id="Detail3.{normalize-space($dbID)}.acct_code__dr" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$cctr_code__dr}" name="Detail3.{normalize-space($dbID)}.cctr_code__dr"
id="Detail3.{normalize-space($dbID)}.cctr_code__dr" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$acct_code__cr}" name="Detail3.{normalize-space($dbID)}.acct_code__cr"
id="Detail3.{normalize-space($dbID)}.acct_code__cr" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$cctr_code__cr}" name="Detail3.{normalize-space($dbID)}.cctr_code__cr"
id="Detail3.{normalize-space($dbID)}.cctr_code__cr" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$operation}" name="Detail3.{normalize-space($dbID)}.operation"
id="Detail3.{normalize-space($dbID)}.operation" maxlength="10"/>
<input type="hidden" class="editInputClass" value="git_qty" name="Detail3.{normalize-space($dbID)}.git_qty"
id="Detail3.{normalize-space($dbID)}.git_qty" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$adj_qty}" name="Detail3.{normalize-space($dbID)}.adj_qty"
id="Detail3.{normalize-space($dbID)}.adj_qty" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$quantity__fc}" name="Detail3.{normalize-space($dbID)}.quantity__fc"
id="Detail3.{normalize-space($dbID)}.quantity__fc" maxlength="10"/>
<input type="hidden" class="editInputClass" value="{$dlv_date}" name="Detail3.{normalize-space($dbID)}.dlv_date"
id="Detail3.{normalize-space($dbID)}.dlv_date" maxlength="10"/>
</tr>
</xsl:for-each>
</tbody>
</table>
<table>
<tr>
<td colspan="2">
<input type="hidden" value="3" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="2:MP" name="formType" id="formType" />
<!-- <textarea name="PRE_FORM_VAL" ID="PRE_FORM_VAL" style="display:none;"></textarea> -->
<input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="javascript:setActionVal('previous')"/>
<input type="submit" style="cursor:hand" class="button" value="Finish" title='Finish' onclick="javascript:setActionVal('finish')"/>
</td>
</tr>
</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 type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" />
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<body onload="setUserTheme()">
<form name="Wizard_SuppDetails">
<table class="tableClass" id="Details" border="0" cellspacing="1" cellpadding="1">
<thead class="table-head">
<tr>
<th class="thClass" nowrap="true" width="5%">
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Code</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="75%">
<strong>Description</strong>
</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="//supp_code">
<xsl:variable name="fieldId"><xsl:value-of select="fieldId"/></xsl:variable>
<xsl:variable name="fieldValue"><xsl:value-of select="fieldValue"/></xsl:variable>
<xsl:variable name="otherField"><xsl:value-of select="otherField"/></xsl:variable>
<xsl:variable name="otherField1"><xsl:value-of select="otherField1"/></xsl:variable>
<xsl:variable name="otherField2"><xsl:value-of select="otherField2"/></xsl:variable>
<xsl:variable name="otherField3"><xsl:value-of select="otherField3"/></xsl:variable>
<xsl:variable name="descr1"><xsl:value-of select="descr1"/></xsl:variable>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<tr id="{normalize-space($dbID)}" onclick="rowChecked(this.id)">
<td>
<input type="checkbox" name="selectbox" value="false" id="DetailITCode.{normalize-space($dbID)}.selectbox" onClick="checkone(this.id)"/>
</td>
<td>
<xsl:value-of select="fieldId"/>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldId" id="DetailITCode.{normalize-space($dbID)}.fieldId"
value="{normalize-space($fieldId)}" />
</td>
<td>
<xsl:value-of select="fieldValue"/>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldValue" id="DetailITCode.{normalize-space($dbID)}.fieldValue"
value="{normalize-space($fieldValue)}" />
</td>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField" id="DetailITCode.{normalize-space($dbID)}.otherField"
value="{normalize-space($otherField)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField1" id="DetailITCode.{normalize-space($dbID)}.otherField1"
value="{normalize-space($otherField1)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField2" id="DetailITCode.{normalize-space($dbID)}.otherField2"
value="{normalize-space($otherField2)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField3" id="DetailITCode.{normalize-space($dbID)}.otherField3"
value="{normalize-space($otherField3)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.descr1" id="DetailITCode.{normalize-space($dbID)}.descr1"
value="{normalize-space($descr1)}" />
</tr>
</xsl:for-each>
</tbody>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
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