Commit 2c653ec9 authored by psawant's avatar psawant

Sales Forecast Wizard implementation

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198711 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 06be76d3
package ibase.webitm.ejb.fin;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.HashMap;
import java.util.Map;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class SalesForecastPosWizEJB extends ValidatorEJB
{
public String postSave(String domString, String tranId,String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException
{
Document dom = null;
String retString="";
E12GenericUtility genericUtility =new E12GenericUtility();
try
{
int count = 1;
int ctr;
String childNodeName = "";
String columnValue ="";
dom = genericUtility.parseString(domString);
NodeList parentNodeList = dom.getElementsByTagName("Detail2");
int parentNodeListLength = parentNodeList.getLength();
HashMap<Integer, HashMap<String, String> > updateSalesForecastMap = new HashMap<>();
for(int parent = 0; parent < parentNodeListLength; parent++)
{
HashMap<String, String> detailInfoMap = new HashMap<>();
Node parentNode = parentNodeList.item(parent);
NodeList childNodeList = parentNode.getChildNodes();
int childNodeListLength = childNodeList.getLength();
String quantity="",itemCode="",prdCode="",tranIdDet="";
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
Node childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
columnValue = "";
if( childNode.getFirstChild() != null)
{
columnValue = childNode.getFirstChild().getNodeValue().trim();
}
if(childNodeName == "quantity")
{
quantity = columnValue;
}
else if(childNodeName == "tran_id")
{
tranIdDet = columnValue;
}
else if(childNodeName == "item_code")
{
itemCode = columnValue;
}
else if(childNodeName == "prd_code__for")
{
prdCode = columnValue;
}
}
detailInfoMap.put("Quantity", quantity);
detailInfoMap.put("ItemCode", itemCode);
detailInfoMap.put("TranId", tranIdDet);
detailInfoMap.put("PrdCode", prdCode);
updateSalesForecastMap.put(count, detailInfoMap);
count++;
}
updateSalesForecastDet(updateSalesForecastMap,conn);
}
catch( Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return retString;
}
private void updateSalesForecastDet(HashMap<Integer, HashMap<String, String> > updateSalesForecastMap, Connection conn) throws ITMException, RemoteException
{
PreparedStatement pstmt = null;
try
{
String sql = "UPDATE SALESFORECAST_DET SET QUANTITY= ? WHERE TRAN_ID = ? AND ITEM_CODE = ? and PRD_CODE__FOR = ?";
pstmt = conn.prepareStatement(sql);
for (Map.Entry <Integer, HashMap <String, String>> detailMap: updateSalesForecastMap.entrySet())
{
int key = detailMap.getKey();
HashMap<String, String> detailInfoMap = detailMap.getValue();
pstmt.setString(1, detailInfoMap.get("Quantity"));
pstmt.setString(2, detailInfoMap.get("TranId"));
pstmt.setString(3, detailInfoMap.get("ItemCode"));
pstmt.setString(4, detailInfoMap.get("PrdCode"));
pstmt.addBatch();
}
pstmt.executeBatch();
}
catch(Exception exp)
{
BaseLogger.log("3",null,null,"Exception : updateSalesForecastDet :==>\n");
throw new ITMException(exp);
}
finally
{
try
{
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
BaseLogger.log("3",null,null,"Exception :SalesForecastWizEJB :defaultDataWiz :==>\n"+e.getMessage());
throw new ITMException(e);
}
}
}
}
\ No newline at end of file
package ibase.webitm.ejb.fin;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class SalesForecastWizEJB extends ValidatorEJB
{
private E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2,String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
String errString = null;
Document dom = null;
Document dom1 = null;
Document dom2 = null;
try
{
dom = parseString(xmlString);
dom1 = parseString(xmlString1);
dom2 = parseString(xmlString2);
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
}
catch(Exception e)
{
BaseLogger.log("3",null,null,"Exception : SalesForecastWizEJB.java : wfValData(String xmlString) : ==>\n"+e.getMessage());
throw new ITMException(e);
}
return errString;
}
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int ctr=0;
String childNodeName = null;
String userId = "",columnValue = "";
String errCode="";
String errString="";
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs=null;
int cnt=0;
int currentFormNo=0;
int childNodeListLength;
String prdCodeForm ="" ,prdCodeTo = "";
ConnDriver connDriver = new ConnDriver();
ArrayList <String> errList = new ArrayList<String>();
ArrayList <String>errFields = new ArrayList <String> ();
StringBuffer errStringXml = new StringBuffer("");
try
{
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
BaseLogger.log("3",null,null,"user ID form XtraParam : "+userId +"Edit Flag --: "+editFlag);
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(childNode.getFirstChild()!=null)
{
columnValue = childNode.getFirstChild().getNodeValue();
}
else
{
columnValue = "";
}
if (childNodeName.equalsIgnoreCase("prd_code__from"))
{
prdCodeForm = columnValue.trim();
if (prdCodeForm.length() < 6 || prdCodeForm.length() > 6)
{
errCode = "VTMONATD10";
errList.add( errCode );
errFields.add( childNodeName.toLowerCase() );
break;
}
}
else if (childNodeName.equalsIgnoreCase("prd_code__to"))
{
prdCodeTo = columnValue.trim();
if (prdCodeTo.length() < 6 || prdCodeTo.length() > 6)
{
errCode = "VTMONATD10";
errList.add( errCode );
errFields.add( childNodeName.toLowerCase() );
break;
}
prdCodeForm = prdCodeForm.substring(0,4)+'-'+prdCodeForm.substring(4)+'-';
prdCodeForm =prdCodeForm.concat("01");
prdCodeTo = prdCodeTo.substring(0,4)+'-'+prdCodeTo.substring(4)+'-';
prdCodeTo =prdCodeTo.concat("01");
LocalDate prdCodeFromDate = LocalDate.parse(prdCodeForm);
LocalDate prdCodeToDate = LocalDate.parse(prdCodeTo);
long monthsBetween = ChronoUnit.MONTHS.between( prdCodeFromDate , prdCodeToDate );
if (monthsBetween >= 4 )
{
errCode = "VMPRDLESS4";
errList.add( errCode );
errFields.add( childNodeName.toLowerCase() );
}
}
}
break;
} //end switch
int errListSize = errList.size();
cnt =0;
String errFldName = null;
if ( errList != null && errListSize > 0 )
{
for (cnt = 0; cnt < errListSize; cnt++ )
{
errCode = errList.get(cnt);
errFldName = errFields.get(cnt);
BaseLogger.log("3",null,null,"errCode ..........["+errCode+"]");
errString = getErrorString( errFldName, errCode, userId );
BaseLogger.log("3",null,null,"errString .................. ["+errString+"]");
errStringXml.append(errString);
break;
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
}
else
{
errStringXml = new StringBuffer( "" );
}
} //end try
catch(Exception e)
{
BaseLogger.log("3",null,null,"Exception ::"+e);
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(conn!=null)
{
conn.close();
conn = null;
}
if(connDriver!=null){
connDriver = null;
}
if(rs !=null)
{
rs.close();
rs=null;
}
}
catch(Exception d)
{
d.printStackTrace();
}
}
BaseLogger.log("3",null,null,"ErrString ::[ "+errStringXml.toString()+" ]");
return errStringXml.toString();
}
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = null;
E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
try
{
BaseLogger.log("3",null,null, "xmlString2 :" + xmlString2);
if (xmlString != null && xmlString.trim().length()!=0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length()!=0)
{
dom2 = genericUtility.parseString(xmlString2);
}
errString = itemChanged( dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams );
BaseLogger.log("3",null,null, "ErrString :" + errString);
}
catch (Exception e)
{
String errString1 = "";
StringBuffer errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
BaseLogger.log("3",null,null, "Exception :SalesForecastWizEJB :defaultDataWiz(String,String):" + e.getMessage() + ":" );
errString1 = genericUtility.createErrorString( e ) ;
BaseLogger.log("3",null,null, "errString :Exception :SalesForecastWizEJB :defaultDataWiz(String,String)::" +errString1 + ":" );
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);
BaseLogger.log("3",null,null,"errStringXml .........."+errStringXml);
errString1 = "";
}
errStringXml.append("</Errors></Root>\r\n");
errString = errStringXml.toString();
}
return errString;
}
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
String returnStr="";
try{
returnStr = defaultDataWiz(dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams);
}
catch(Exception e){
e.printStackTrace();
}
return returnStr;
}
private String defaultDataWiz( Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams ) throws RemoteException,ITMException
{
ResultSet rs = null;
Connection connectionObject = null;
PreparedStatement pstmt = null;
int count = 0;
String sql = "";
StringBuffer valueXmlString = new StringBuffer();
int currentFormNo = 0;
String prdCodeForm="",prdCodeTo= "";
E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
try
{
connectionObject = getConnection();
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<Errors>\r\n</Errors>\r\n" );
switch ( currentFormNo )
{
case 1:
{
if( currentColumn.equalsIgnoreCase( "itm_default" ))
{
count = 1;
valueXmlString.append( "<Detail1 domID='" + count + "' objContext = '"+currentFormNo+"' selected=\"Y\">\r\n");
valueXmlString.append( "<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\"/>\r\n");
valueXmlString.append( "<tran_id></tran_id>\r\n" );
valueXmlString.append( "<tran_date></tran_date>\r\n" );
valueXmlString.append( "<site_code></site_code>\r\n" );
valueXmlString.append( "<site_descr></site_descr>\r\n" );
valueXmlString.append( "<prd_code__from></prd_code__from>\r\n" );
valueXmlString.append( "<prd_code__to></prd_code__to>\r\n" );
valueXmlString.append( "<item_ser></item_ser>\r\n" );
valueXmlString.append( "</Detail1>");
}
}
break;
case 2 :
{
String columnValue="";
NodeList parentNodeList = dom1.getElementsByTagName("Detail1");
Node parentNode = parentNodeList.item(0);
NodeList childNodeList = parentNode.getChildNodes();
int childNodeListLength = childNodeList.getLength();
for(int ctr = 0; ctr < childNodeListLength; ctr++)
{
Node childNode = childNodeList.item(ctr);
String childNodeName = childNode.getNodeName();
if(childNode.getFirstChild()!=null)
{
columnValue = childNode.getFirstChild().getNodeValue();
}
else
{
columnValue = "";
}
if (childNodeName.equalsIgnoreCase("prd_code__from"))
{
prdCodeForm = columnValue.trim();
}
if (childNodeName.equalsIgnoreCase("prd_code__to"))
{
prdCodeTo = columnValue.trim();
}
}
if(currentColumn.equalsIgnoreCase("itm_default"))
{
count = 1;
String tranId ="";
prdCodeForm = prdCodeForm.substring(0,4)+'-'+prdCodeForm.substring(4)+'-';
prdCodeForm =prdCodeForm.concat("01");
prdCodeTo = prdCodeTo.substring(0,4)+'-'+prdCodeTo.substring(4)+'-';
prdCodeTo =prdCodeTo.concat("01");
LocalDate prdCodeFromDate = LocalDate.parse(prdCodeForm);
LocalDate prdCodeToDate = LocalDate.parse(prdCodeTo);
ArrayList<String> prdcodeArray = new ArrayList<>();
while (!prdCodeFromDate.isAfter(prdCodeToDate))
{
DateTimeFormatter formatters = DateTimeFormatter.ofPattern("uuuu-MM-d");
String value = prdCodeFromDate.format(formatters);
value = value.substring(0, (value.length()-2)).replace("-", "");
prdcodeArray.add(value);
prdCodeFromDate = prdCodeFromDate.plusMonths(1);
}
String prdCodes = prdcodeArray.toString().substring(1, prdcodeArray.toString().lastIndexOf("]"));
prdCodes = prdCodes.replace(",", "','");
prdCodes = prdCodes.replaceAll(" ", "");
String hdrTranId ="";
ArrayList<String> siteCodeArray =new ArrayList<String>();
ArrayList<String> prdCodeArray =new ArrayList<String>();
sql = "SELECT H.TRAN_ID, H.SITE_CODE,S.DESCR,D.ITEM_CODE,I.SH_DESCR,D.QUANTITY, D.PRD_CODE__FOR,D.UNIT,D.QUANTITY_ORG FROM SALESFORECAST_DET D,"
+ " SALESFORECAST_HDR H,SITE S,ITEM I WHERE H.TRAN_ID = D.TRAN_ID AND D.PRD_CODE__FOR IN ('"+ prdCodes +"') AND D.ITEM_CODE = I.ITEM_CODE AND H.SITE_CODE = S.SITE_CODE "
+ "ORDER BY H.SITE_CODE,D.TRAN_ID, D.ITEM_CODE, D.PRD_CODE__FOR";
pstmt = connectionObject.prepareStatement(sql);
rs = pstmt.executeQuery();
count = 1;
while(rs.next())
{
tranId = rs.getString(1);
if(!hdrTranId.equalsIgnoreCase(tranId))
{
hdrTranId = tranId;
valueXmlString.append(getDetailData(connectionObject,tranId,currentFormNo));
}
if(!siteCodeArray.contains(rs.getString(2)))
{
siteCodeArray.add(rs.getString(2));
}
if(!prdCodeArray.contains(rs.getString(7)))
{
prdCodeArray.add(rs.getString(7));
}
BaseLogger.log("3",null,null,"siteCodeArray ["+ siteCodeArray+"] prdCodeArray ["+ prdCodeArray +"]");
valueXmlString.append("<Detail2 domID='" + count + "' objContext = '"+currentFormNo+"' selected=\"Y\">\r\n");
valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\"/>\r\n");
valueXmlString.append( "<tran_id><![CDATA[" ).append( rs.getString(1) ).append( "]]></tran_id>\r\n" );
valueXmlString.append( "<site_code><![CDATA[" ).append( rs.getString(3)+"("+rs.getString(2)+")" ).append( "]]></site_code>\r\n" );
valueXmlString.append( "<site_descr><![CDATA[" ).append( rs.getString(3) ).append( "]]></site_descr>\r\n" );
valueXmlString.append( "<item_code><![CDATA[" ).append( rs.getString(4)).append( "]]></item_code>\r\n" );
valueXmlString.append( "<item_descr><![CDATA[" ).append( rs.getString(5)+" ("+rs.getString(4)+")" ).append( "]]></item_descr>\r\n" );
valueXmlString.append( "<prd_code__for><![CDATA[" ).append( rs.getString(7) ).append( "]]></prd_code__for>\r\n" );
valueXmlString.append( "<unit><![CDATA[" ).append( rs.getString(8) ).append( "]]></unit>\r\n" );
valueXmlString.append( "<quantity><![CDATA[" ).append( rs.getString(6) ).append( "]]></quantity>\r\n" );
valueXmlString.append( "<quantity_org><![CDATA[" ).append( rs.getString(9) ).append( "]]></quantity_org>\r\n" );
valueXmlString.append( "</Detail2>\r\n");
count++;
}
for(int i = 0 ;i < siteCodeArray.size();i++)
{
for(int j = 0;j < prdCodeArray.size() ;j++)
{
valueXmlString.append("<Detail2 domID='" + count + "'>\r\n");
valueXmlString.append("<attribute selected=\"N\" updateFlag=\"E\" status=\"O\" pkNames=\"\"/>\r\n");
valueXmlString.append( "<prd_code><![CDATA[" ).append(prdCodeArray.get(j) ).append( "]]></prd_code>\r\n" );
valueXmlString.append( "</Detail2>\r\n");
count++;
}
}
}
BaseLogger.log("3",null,null,"valxmlstring ["+valueXmlString+"]");
}
break;
}
}
catch(Exception e)
{
BaseLogger.log("3",null,null,"Exception :SalesForecastWizEJB :defaultDataWiz(Document,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( connectionObject != null && ! connectionObject.isClosed() )
{
connectionObject.close();
connectionObject = null;
}
}
catch(Exception e)
{
BaseLogger.log("3",null,null, "Exception :SalesForecastWizEJB :defaultDataWiz :==>\n"+e.getMessage());
throw new ITMException(e);
}
}
valueXmlString.append( "</Root>\r\n" );
return valueXmlString.toString();
}
private String getDetailData(Connection connectionObject,String tranId,int currentFormNo) throws SQLException
{
int count = 1;
PreparedStatement pstmt = null;
ResultSet rs = null;
StringBuffer valueXmlString =new StringBuffer();
try
{
String sqlQuery = "SELECT TRAN_ID,TRAN_DATE,SITE_CODE,PRD_CODE__FROM,PRD_CODE__TO,ITEM_SER "
+ "FROM SALESFORECAST_HDR WHERE TRAN_ID = ?";
pstmt = connectionObject.prepareStatement(sqlQuery);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if(rs.next())
{
valueXmlString.append("<Detail1 domID='" + count + "' objContext = '"+currentFormNo+"' selected=\"Y\">\r\n");
valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\"/>\r\n");
valueXmlString.append( "<tran_id><![CDATA[" ).append( rs.getString(1) ).append( "]]></tran_id>\r\n" );
valueXmlString.append( "<tran_date><![CDATA[" ).append(rs.getString(2)).append( "]]></tran_date>\r\n" );
valueXmlString.append( "<site_code><![CDATA[" ).append( rs.getString(3) ).append( "]]></site_code>\r\n" );
valueXmlString.append( "<prd_code__from><![CDATA[" ).append( rs.getString(4) ).append( "]]></prd_code__from>\r\n" );
valueXmlString.append( "<prd_code__to><![CDATA[" ).append( rs.getString(5) ).append( "]]></prd_code__to>\r\n" );
valueXmlString.append( "<item_ser><![CDATA[" ).append(rs.getString(6) ).append( "]]></item_ser>\r\n" );
valueXmlString.append( "</Detail1>");
}
BaseLogger.log("3",null,null,"valxmlString "+valueXmlString);
}
catch (SQLException e)
{
e.printStackTrace();
}
finally
{
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
}
return valueXmlString.toString();
}
}
\ No newline at end of file
$PBExportHeader$d_salesforecast_det_brow.srd
$PBExportComments$Browse datawindow for salesforecast detail
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 )
header(height=24 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="salesforecast_det.tran_id" )
column=(type=char(10) updatewhereclause=yes name=item_code dbname="salesforecast_det.item_code" )
column=(type=char(6) updatewhereclause=yes name=prd_code__plan dbname="salesforecast_det.prd_code__plan" )
column=(type=char(6) updatewhereclause=yes name=prd_code__for dbname="salesforecast_det.prd_code__for" )
column=(type=char(3) updatewhereclause=yes name=unit dbname="salesforecast_det.unit" )
column=(type=decimal(3) updatewhereclause=yes name=quantity dbname="salesforecast_det.quantity" )
column=(type=char(60) updatewhereclause=yes name=remarks dbname="salesforecast_det.remarks" )
column=(type=char(130) updatewhereclause=yes name=item_descr dbname="item.descr" )
column=(type=number updatewhereclause=yes name=quantity_2 dbname="quantity_2" )
column=(type=number updatewhereclause=yes name=quantity_3 dbname="quantity_3" )
column=(type=number updatewhereclause=yes name=quantity_4 dbname="quantity_4" )
column=(type=char(6) updatewhereclause=yes name=prd_2 dbname="prd_2" )
column=(type=char(6) updatewhereclause=yes name=prd_3 dbname="prd_3" )
column=(type=char(6) updatewhereclause=yes name=prd_4 dbname="prd_4" )
column=(type=decimal(3) updatewhereclause=yes name=quantity_org dbname="salesforecast_det.quantity_org" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"salesforecast_det~" ) TABLE(NAME=~"item~" ) COLUMN(NAME=~"salesforecast_det.tran_id~") COLUMN(NAME=~"salesforecast_det.item_code~") COLUMN(NAME=~"salesforecast_det.prd_code__plan~") COLUMN(NAME=~"salesforecast_det.prd_code__for~") COLUMN(NAME=~"salesforecast_det.unit~") COLUMN(NAME=~"salesforecast_det.quantity~") COLUMN(NAME=~"salesforecast_det.remarks~") COLUMN(NAME=~"item.descr~") COMPUTE(NAME=~"0.000 as quantity_2~") COMPUTE(NAME=~"0.000 as quantity_3~") COMPUTE(NAME=~"0.000 as quantity_4~") COMPUTE(NAME=~"' ' as prd_2~") COMPUTE(NAME=~"' ' as prd_3~") COMPUTE(NAME=~"' ' as prd_4~") COLUMN(NAME=~"salesforecast_det.quantity_org~") JOIN (LEFT=~"salesforecast_det.item_code~" OP =~"=~"RIGHT=~"item.item_code~" )WHERE( EXP1 =~"salesforecast_det.tran_id~" OP =~"=~" EXP2 =~":mtran_id~" ) ) ARG(NAME = ~"mtran_id~" TYPE = string) " arguments=(("mtran_id", string)) )
text(band=header alignment="0" text="Item Code" border="6" color="0" x="3" y="4" height="16" width="79" 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="1" background.color="536870912" )
text(band=header alignment="0" text="Prd Code" border="6" color="0" x="372" y="4" height="16" width="49" html.valueishtml="0" name=prd_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="0" text="Description" border="6" color="0" x="86" y="4" height="16" width="283" 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="1" background.color="536870912" )
text(band=header alignment="1" text="Quantity" border="6" color="0" x="424" y="4" height="16" width="75" 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="1" background.color="536870912" )
text(band=header alignment="0" text="Unit" border="6" color="0" x="502" y="4" height="16" width="28" 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="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="0" x="3" y="2" height="17" width="79" format="[general]" html.valueishtml="0" name=item_code 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=3 alignment="0" tabsequence=32766 border="5" color="0" x="372" y="2" height="17" width="49" format="[general]" html.valueishtml="0" name=prd_code__plan 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=8 alignment="0" tabsequence=32766 border="5" color="0" x="86" y="2" height="17" width="283" 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="16777215" )
column(band=detail id=6 alignment="1" tabsequence=32766 border="5" color="0" x="424" y="2" height="17" width="75" 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=5 alignment="0" tabsequence=32766 border="5" color="0" x="502" y="2" height="17" width="28" format="[general]" html.valueishtml="0" name=unit 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" )
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_salesforecast_det_edit.srd
$PBExportComments$Edit datawindow for salesforecast detail
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=435 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="salesforecast_det.tran_id" )
column=(type=char(10) updatewhereclause=yes name=item_code dbname="salesforecast_det.item_code" )
column=(type=char(6) updatewhereclause=yes name=prd_code__plan dbname="salesforecast_det.prd_code__plan" )
column=(type=char(6) updatewhereclause=yes name=prd_code__for dbname="salesforecast_det.prd_code__for" )
column=(type=char(3) updatewhereclause=yes name=unit dbname="salesforecast_det.unit" )
column=(type=decimal(3) updatewhereclause=yes name=quantity dbname="salesforecast_det.quantity" initial="0" )
column=(type=char(60) updatewhereclause=yes name=remarks dbname="salesforecast_det.remarks" )
column=(type=char(130) updatewhereclause=yes name=item_descr dbname="item.descr" )
column=(type=number updatewhereclause=yes name=quantity_2 dbname="quantity_2" initial="0" )
column=(type=number updatewhereclause=yes name=quantity_3 dbname="quantity_3" initial="0" )
column=(type=number updatewhereclause=yes name=quantity_4 dbname="quantity_4" initial="0" )
column=(type=char(6) updatewhereclause=yes name=prd_2 dbname="prd_2" )
column=(type=char(6) updatewhereclause=yes name=prd_3 dbname="prd_3" )
column=(type=char(6) updatewhereclause=yes name=prd_4 dbname="prd_4" )
column=(type=decimal(3) updatewhereclause=yes name=quantity_org dbname="salesforecast_det.quantity_org" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"salesforecast_det~" ) TABLE(NAME=~"item~" ) COLUMN(NAME=~"salesforecast_det.tran_id~") COLUMN(NAME=~"salesforecast_det.item_code~") COLUMN(NAME=~"salesforecast_det.prd_code__plan~") COLUMN(NAME=~"salesforecast_det.prd_code__for~") COLUMN(NAME=~"salesforecast_det.unit~") COLUMN(NAME=~"salesforecast_det.quantity~") COLUMN(NAME=~"salesforecast_det.remarks~") COLUMN(NAME=~"item.descr~") COMPUTE(NAME=~"0.000 as quantity_2~") COMPUTE(NAME=~"0.000 as quantity_3~") COMPUTE(NAME=~"0.000 as quantity_4~") COMPUTE(NAME=~"' ' as prd_2~") COMPUTE(NAME=~"' ' as prd_3~") COMPUTE(NAME=~"' ' as prd_4~") COLUMN(NAME=~"salesforecast_det.quantity_org~") JOIN (LEFT=~"salesforecast_det.item_code~" OP =~"=~"RIGHT=~"item.item_code~" )WHERE( EXP1 =~"~~~"SALESFORECAST_DET~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"~~~"SALESFORECAST_DET~~~".~~~"ITEM_CODE~~~"~" OP =~"=~" EXP2 =~":item_code~" LOGIC =~"And~" ) WHERE( EXP1 =~"~~~"SALESFORECAST_DET~~~".~~~"PRD_CODE__PLAN~~~"~" OP =~"=~" EXP2 =~":prd_code__plan~" LOGIC =~"And~" ) WHERE( EXP1 =~"~~~"SALESFORECAST_DET~~~".~~~"PRD_CODE__FOR~~~"~" OP =~"=~" EXP2 =~":prd_code__for~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"item_code~" TYPE = string) ARG(NAME = ~"prd_code__plan~" TYPE = string) ARG(NAME = ~"prd_code__for~" TYPE = string) " arguments=(("tran_id", string),("item_code", string),("prd_code__plan", string),("prd_code__for", string)) )
groupbox(band=detail text="Basic"border="2" color="0" x="7" y="19" height="268" width="776" name=gb_2 visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="255" y="40" height="43" width="312" format="[general]" html.valueishtml="0" name=item_descr visible="1" edit.limit=120 edit.case=any 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="79741120" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="143" y="40" height="17" width="107" 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" )
column(band=detail id=7 alignment="0" tabsequence=70 border="5" color="0" x="143" y="139" height="18" width="424" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 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=6 alignment="1" tabsequence=30 border="5" color="0" x="143" y="116" height="18" width="96" format="[number]" html.valueishtml="0" name=quantity visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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=9 alignment="1" tabsequence=40 border="5" color="0" x="252" y="116" height="18" width="96" format="[number]" html.valueishtml="0" name=quantity_2 visible="1~tif(len(trim( prd_2)) >0,1,0)" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1" tabsequence=50 border="5" color="0" x="361" y="116" height="18" width="96" format="[number]" html.valueishtml="0" name=quantity_3 visible="1~tif(len(trim( prd_3)) >0,1,0)" edit.limit=14 edit.case=any edit.format="#########0.000" 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=11 alignment="1" tabsequence=60 border="5" color="0" x="470" y="116" height="18" width="96" format="[number]" html.valueishtml="0" name=quantity_4 visible="1~tif(len(trim( prd_4)) >0,1,0)" edit.limit=14 edit.case=any edit.format="#########0.000" 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="0"border="0" color="16711680" x="252" y="163" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_budget_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" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="362" y="163" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_budget_3 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="0"border="0" color="16711680" x="470" y="163" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_budget_4 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="0"border="0" color="16711680" x="252" y="184" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_lastyr_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" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="361" y="184" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_lastyr_3 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="0"border="0" color="16711680" x="470" y="184" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_lastyr_4 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="0"border="0" color="16711680" x="252" y="205" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_prevyr_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" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="361" y="205" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_prevyr_3 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="0"border="0" color="16711680" x="470" y="205" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_prevyr_4 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="0"border="0" color="16711680" x="252" y="226" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_upto_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" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="361" y="226" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_upto_3 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="0"border="0" color="16711680" x="470" y="226" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_upto_4 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="0"border="0" color="16711680" x="252" y="247" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_act_sales_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" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="361" y="247" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_act_sales_3 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="0"border="0" color="16711680" x="470" y="247" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_act_sales_4 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="0"border="0" color="16711680" x="143" y="163" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_budget_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="143" y="247" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_act_sales_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="143" y="226" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_upto_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="143" y="205" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_prevyr_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
compute(band=detail alignment="1" expression="0"border="0" color="16711680" x="143" y="184" height="16" width="96" format="[GENERAL]" html.valueishtml="0" name=c_lastyr_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="255" x="143" y="67" height="17" width="39" 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="79741120" )
text(band=detail alignment="1" text="Actual Sales:" border="0" color="0" x="28" y="247" height="16" width="111" html.valueishtml="0" name=act_sales_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=detail alignment="1" text="Forecast Upto Mon :" border="0" color="0" x="28" y="226" height="16" width="111" html.valueishtml="0" name=upto_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=detail alignment="1" text="Item Code:" border="0" color="0" x="28" y="40" height="17" width="111" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Period :" border="6" color="16711680" x="591" y="140" height="16" width="111" html.valueishtml="0" name=period_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="536870912" )
text(band=detail alignment="1" text="Budget for Period:" border="0" color="0" x="28" y="163" height="16" width="111" html.valueishtml="0" name=budget_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=detail alignment="1" text="Remarks:" border="0" color="0" x="28" y="140" height="16" width="111" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Quantity :" border="0" color="0" x="28" y="118" height="15" width="111" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Last Year Sales:" border="0" color="0" x="28" y="184" height="16" width="111" html.valueishtml="0" name=lastyr_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=detail alignment="1" text="Unit:" border="0" color="0" x="28" y="67" height="16" width="111" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Prev Year Sales:" border="0" color="0" x="28" y="205" height="16" width="111" html.valueishtml="0" name=prevyr_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" )
groupbox(band=detail text="Others"border="2" color="0" x="10" y="298" height="45" width="777" name=gb_1 visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Tran Id:" border="0" color="0" x="40" y="316" height="16" width="81" html.valueishtml="0" name=tran_id_t visible="1~t0" 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=1 alignment="0" tabsequence=32766 border="5" color="0" x="120" y="316" height="16" width="52" format="[general]" html.valueishtml="0" name=tran_id visible="1~t0" 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=3 alignment="1" tabsequence=32766 border="0" color="16711680" x="144" y="93" height="16" width="96" format="[number]" html.valueishtml="0" name=prd_code__plan 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="79741120" )
text(band=detail alignment="1" text="Period Code Plan :" border="0" color="0" x="28" y="93" height="15" width="110" html.valueishtml="0" name=prd_code__plan_t visible="1~t0" 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=12 alignment="1" tabsequence=32766 border="0" color="16711680" x="251" y="93" height="16" width="96" format="[number]" html.valueishtml="0" name=prd_2 visible="1~tif(len(trim( prd_2)) >0,1,0)" edit.limit=6 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=13 alignment="1" tabsequence=32766 border="0" color="16711680" x="361" y="93" height="16" width="96" format="[number]" html.valueishtml="0" name=prd_3 visible="1~tif(len(trim( prd_3 )) >0,1,0)" edit.limit=6 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=14 alignment="1" tabsequence=32766 border="0" color="16711680" x="470" y="93" height="16" width="96" format="[number]" html.valueishtml="0" name=prd_4 visible="1~tif(len(trim( prd_4 )) >0,1,0)" edit.limit=6 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="Period Code For:" border="0" color="0" x="601" y="93" height="15" width="98" html.valueishtml="0" name=prd_code__for_t visible="1~t0" 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=4 alignment="0" tabsequence=32766 border="5" color="0" x="702" y="93" height="17" width="36" format="[number]" html.valueishtml="0" name=prd_code__for visible="1~t0" edit.limit=6 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" )
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_salesforecast_hdr_brow.srd
$PBExportComments$Browse datawindow for salesforecast
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 )
header(height=21 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=20 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="salesforecast_hdr.tran_id" )
column=(type=datetime updatewhereclause=yes name=tran_date dbname="salesforecast_hdr.tran_date" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="salesforecast_hdr.site_code" )
column=(type=char(1) updatewhereclause=yes name=confirmed dbname="salesforecast_hdr.confirmed" )
column=(type=char(6) updatewhereclause=yes name=prd_code__from dbname="salesforecast_hdr.prd_code__from" )
column=(type=char(6) updatewhereclause=yes name=prd_code__to dbname="salesforecast_hdr.prd_code__to" )
column=(type=char(5) updatewhereclause=yes name=item_ser dbname="salesforecast_hdr.item_ser" )
column=(type=char(10) updatewhereclause=yes name=emp_code__aprv dbname="salesforecast_hdr.emp_code__aprv" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"salesforecast_hdr~" ) COLUMN(NAME=~"salesforecast_hdr.tran_id~") COLUMN(NAME=~"salesforecast_hdr.tran_date~") COLUMN(NAME=~"salesforecast_hdr.site_code~") COLUMN(NAME=~"salesforecast_hdr.confirmed~") COLUMN(NAME=~"salesforecast_hdr.prd_code__from~") COLUMN(NAME=~"salesforecast_hdr.prd_code__to~") COLUMN(NAME=~"salesforecast_hdr.item_ser~") COLUMN(NAME=~"salesforecast_hdr.emp_code__aprv~")WHERE( EXP1 =~"salesforecast_hdr.tran_date~" OP =~">=~" EXP2 =~":mdate_from~" LOGIC =~"and~" ) WHERE( EXP1 =~"salesforecast_hdr.tran_date~" OP =~"<=~" EXP2 =~":mdate_to~" ) ) ARG(NAME = ~"mdate_from~" TYPE = datetime) ARG(NAME = ~"mdate_to~" TYPE = datetime) " arguments=(("mdate_from", datetime),("mdate_to", datetime)) )
text(band=header alignment="0" text="Tran Date" border="6" color="0" x="107" y="3" height="16" width="54" html.valueishtml="0" name=tran_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="0" text="Site Code" border="6" color="0" x="165" y="3" height="16" width="51" 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="1" background.color="536870912" )
text(band=header alignment="0" text="Prd Code From" border="6" color="0" x="220" y="3" height="16" width="82" html.valueishtml="0" name=prd_code__from_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="Prd Code To" border="6" color="0" x="306" y="3" height="16" width="70" html.valueishtml="0" name=prd_code__to_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="Item Ser" border="6" color="0" x="380" y="3" height="16" width="43" 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="0" text="Confirmed" border="6" color="0" x="427" y="3" height="16" width="26" 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="0" text="Approved by" border="6" color="0" x="457" y="3" height="16" width="88" 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="0" text="Tran Id" border="6" color="0" x="4" y="3" height="16" width="99" html.valueishtml="0" name=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="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="0" x="107" y="1" height="16" width="54" format="[shortdate] [time]" html.valueishtml="0" name=tran_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=3 alignment="0" tabsequence=30 border="5" color="0" x="165" y="1" height="16" width="51" format="[general]" html.valueishtml="0" name=site_code 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=5 alignment="0" tabsequence=50 border="5" color="0" x="220" y="1" height="16" width="82" format="[general]" html.valueishtml="0" name=prd_code__from visible="1" edit.limit=6 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=60 border="5" color="0" x="306" y="1" height="16" width="70" format="[general]" html.valueishtml="0" name=prd_code__to visible="1" edit.limit=6 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=7 alignment="0" tabsequence=70 border="5" color="0" x="380" y="1" height="16" width="43" format="[general]" html.valueishtml="0" name=item_ser 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=4 alignment="0" tabsequence=40 border="5" color="0" x="427" y="1" height="16" width="26" format="[general]" html.valueishtml="0" name=confirmed 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=8 alignment="0" tabsequence=80 border="5" color="0" x="457" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=emp_code__aprv 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=1 alignment="0" tabsequence=10 border="5" color="0" x="4" y="1" height="16" width="99" format="[general]" html.valueishtml="0" name=tran_id 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" )
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_salesforecast_hdr_edit.srd
$PBExportComments$Edit datawindow for salesforecast
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=261 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=tran_id dbname="salesforecast_hdr.tran_id" )
column=(type=datetime updatewhereclause=yes name=tran_date dbname="salesforecast_hdr.tran_date" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="salesforecast_hdr.site_code" )
column=(type=char(6) updatewhereclause=yes name=prd_code__from dbname="salesforecast_hdr.prd_code__from" )
column=(type=char(6) updatewhereclause=yes name=prd_code__to dbname="salesforecast_hdr.prd_code__to" )
column=(type=char(5) updatewhereclause=yes name=item_ser dbname="salesforecast_hdr.item_ser" )
column=(type=char(10) updatewhereclause=yes name=emp_code__aprv dbname="salesforecast_hdr.emp_code__aprv" )
column=(type=char(1) updatewhereclause=yes name=confirmed dbname="salesforecast_hdr.confirmed" initial="N" )
column=(type=datetime updatewhereclause=yes name=conf_date dbname="salesforecast_hdr.conf_date" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="salesforecast_hdr.chg_date" )
column=(type=char(10) updatewhereclause=yes name=chg_user dbname="salesforecast_hdr.chg_user" )
column=(type=char(15) updatewhereclause=yes name=chg_term dbname="salesforecast_hdr.chg_term" )
column=(type=char(15) updatewhereclause=yes name=employee_emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=employee_emp_lname dbname="employee.emp_lname" )
column=(type=char(60) updatewhereclause=yes name=site_descr dbname="site.descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"salesforecast_hdr~" ) TABLE(NAME=~"site~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"salesforecast_hdr.tran_id~") COLUMN(NAME=~"salesforecast_hdr.tran_date~") COLUMN(NAME=~"salesforecast_hdr.site_code~") COLUMN(NAME=~"salesforecast_hdr.prd_code__from~") COLUMN(NAME=~"salesforecast_hdr.prd_code__to~") COLUMN(NAME=~"salesforecast_hdr.item_ser~") COLUMN(NAME=~"salesforecast_hdr.emp_code__aprv~") COLUMN(NAME=~"salesforecast_hdr.confirmed~") COLUMN(NAME=~"salesforecast_hdr.conf_date~") COLUMN(NAME=~"salesforecast_hdr.chg_date~") COLUMN(NAME=~"salesforecast_hdr.chg_user~") COLUMN(NAME=~"salesforecast_hdr.chg_term~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"site.descr~") JOIN (LEFT=~"salesforecast_hdr.emp_code__aprv~" OP =~"=~"RIGHT=~"employee.emp_code~" OUTER1 =~"salesforecast_hdr.emp_code__aprv~" ) JOIN (LEFT=~"salesforecast_hdr.site_code~" OP =~"=~"RIGHT=~"site.site_code~" )WHERE( EXP1 =~"salesforecast_hdr.tran_id~" OP =~"=~" EXP2 =~":mtran_id~" ) ) ARG(NAME = ~"mtran_id~" TYPE = string) " arguments=(("mtran_id", string)) )
groupbox(band=detail text="Status"border="2" color="33554432" x="13" y="159" height="56" width="526" name=gb_2 visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
groupbox(band=detail text="Basic"border="2" color="33554432" x="12" y="14" height="139" width="522" name=gb_1 visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Tran Id:" border="0" color="0" x="28" y="43" height="18" width="108" html.valueishtml="0" name=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="1" background.color="536870912" )
text(band=detail alignment="1" text="Tran Date:" border="0" color="0" x="250" y="43" height="18" width="63" html.valueishtml="0" name=tran_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" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="0" x="318" y="43" height="18" width="61" format="dd/mm/yy" html.valueishtml="0" name=tran_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="Item Ser:" border="0" color="0" x="386" y="43" height="18" width="58" 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" )
column(band=detail id=6 alignment="0" tabsequence=20 border="5" color="0" x="447" y="43" height="18" width="60" 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="16777215" )
text(band=detail alignment="1" text="Site Code:" border="0" color="0" x="28" y="77" height="18" width="108" 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Period Code From:" border="0" color="0" x="28" y="111" height="18" width="108" html.valueishtml="0" name=prd_code__from_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" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0~tif (isrownew(),rgb(0,0,0),rgb(255,0,0))" x="140" y="111" height="18" width="77" format="[general]" html.valueishtml="0" protect="0~tif(isrownew(),0,1)" name=prd_code__from visible="1" edit.limit=6 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="0" background.color="16777215~tif (isrownew(),rgb(255,255,255),long(describe(~"sh_descr.background.color~")))" )
text(band=detail alignment="1" text="Period Code To:" border="0" color="0" x="319" y="111" height="18" width="107" html.valueishtml="0" name=prd_code__to_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" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="43" height="18" width="103" format="[general]" html.valueishtml="0" name=tran_id 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=3 alignment="0" tabsequence=30 border="5" color="0" x="140" y="77" height="18" width="60" 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="16777215" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0~tif (isrownew(),rgb(0,0,0),rgb(255,0,0))" x="430" y="111" height="18" width="77" format="[general]" html.valueishtml="0" protect="0~tif(isrownew(),0,1)" name=prd_code__to visible="1" edit.limit=6 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="0" background.color="16777215~tif (isrownew(),rgb(255,255,255),long(describe(~"sh_descr.background.color~")))" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="207" y="77" height="18" width="300" format="[general]" html.valueishtml="0" name=site_descr visible="1" edit.limit=60 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="Approved by:" border="0" color="0" x="28" y="179" height="18" width="108" 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" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="140" y="179" height="18" width="100" 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=13 alignment="0" tabsequence=32766 border="5" color="255" x="244" y="179" height="18" width="131" format="[general]" html.valueishtml="0" name=employee_emp_fname 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="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="379" y="179" height="18" width="128" format="[general]" html.valueishtml="0" name=employee_emp_lname 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
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
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="/ibase/webitm/js/SalesForecast.js"></script>
</head>
<body style="font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background-color: #f7f8fa; text-align : left; font-size: 14px;">
<script>
</script>
<LINK HREF="/ibase/webitm/css/theme/galaxy-theme.css" TYPE="text/css" REL="stylesheet"></LINK>
<style type="text/css">
.header_class
{border:inset 0;font-family: 'MuseoLight-300', sans-serif; color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.input_editablecenter
{border:solid 0; font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.tableClass_rep
{margin-left:0px}
.td_leftAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:left;
}
.input_editable
{border:solid 1px;font-family: 'MuseoLight-300', sans-serif; border-color: #ccc;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.td_rightAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:right;
}
.editDisplayheder
{readOnly:true; TEXT-ALIGN:left; color:#000; padding:5px 5px 10px 5px; font-size:16px; }
.editDisplayColumnClass
{readOnly:true; margin-left:2px; BACKGROUND:#fff; TEXT-ALIGN:LEFT; margin-bottom:10px; border-top: #6cf 3px solid; border-bottom:solid 1px #ebebeb; border-right:solid 1px #ebebeb; border-left:solid 1px #ebebeb;}
.editDisplayColumnClass td
{ padding:5px; border-bottom: none; font-size:14px;}
.button{
border: 1px solid #E7E7E7;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
color: #333;
height: 22px;
font-family: 'MuseoLight-300', sans-serif;
font-size: 12px;
background-color: #e7e7e7;
cursor: pointer;
margin-left:10px;
}
.button:hover
{
border: 1px solid #E7E7E7 !important;
background-color: #e7e7e7 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
text-shadow: none;
}
.button:active
{
text-shadow: none;
background-color: #d6d6d6 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
border: 1px solid #E7E7E7 !important;
}
.divclass
{
border : solid 1px lightgray;
line-height : 23px;
width:99.5%
}
.button.disabled {
background: #EBEBEB !important;
color:gray !IMPORTANT;
pointer-events:none !IMPORTANT;
}
.button.enabled {
color:#333 !IMPORTANT;
pointer-events:auto !IMPORTANT;
}
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css"/>
<form name = "Wizard_activity" METHOD="POST" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;" onSubmit="javascript:disableButtons(1);">
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Sales Forecast
</TD>
</TR>
</TABLE>
<table id="errorActivityTable" width="100%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="100%" cellPadding="5">
<xsl:for-each select="//Detail1">
<xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="prd_code__from"><xsl:value-of select="prd_code__from"/></xsl:variable>
<xsl:variable name="prd_code__to"><xsl:value-of select="prd_code__to"/></xsl:variable>
<xsl:variable name="emp_code__aprv"><xsl:value-of select="emp_code__aprv"/></xsl:variable>
<xsl:variable name="employee_emp_fname"><xsl:value-of select="employee_emp_fname"/></xsl:variable>
<xsl:variable name="employee_emp_lname"><xsl:value-of select="employee_emp_lname"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>Period Code From :</strong>
</td>
<td class="td_leftAlign" >
<input type="text" value="{$prd_code__from}" name="Detail1.{normalize-space($dbID)}.prd_code__from" id="Detail1.{normalize-space($dbID)}.prd_code__from" placeholder="YYYYMM" ISCHANGED="false"/>
</td>
</tr>
<tr width ="100%">
<td class="td_rightAlign" nowrap="true" width = "1%">
<strong>Period Code To :</strong>
</td>
<td class="td_leftAlign" >
<input type="text" value="{$prd_code__to}" name="Detail1.{normalize-space($dbID)}.prd_code__to" id="Detail1.{normalize-space($dbID)}.prd_code__to" placeholder="YYYYMM" ISCHANGED="false"/>
</td>
</tr >
<!-- <tr width ="100%" visibility="hidden" >
<td class="td_rightAlign" nowrap="true" width = "1%" style =" visibility: hidden;">
<strong>Tran Id:</strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" value="{$tran_id}" name="Detail1.{normalize-space($dbID)}.sales_pers" id="Detail1.{normalize-space($dbID)}.sales_pers" ISCHANGED="false" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true" width = "1%" style =" visibility: hidden;" >
<strong>Tran Date :</strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" value="{$tran_date}" name="Detail1.{normalize-space($dbID)}.tran_date" id="Detail1.{normalize-space($dbID)}.tran_date" ISCHANGED="false"/>
</td>
<td class="td_rightAlign" nowrap="true" width = "1%" style =" visibility: hidden;" >
<strong>Item Series :</strong>
</td>
<td class="td_leftAlign" style =" visibility: hidden;" >
<input type="hidden" value="{$item_ser}" name="Detail1.{normalize-space($dbID)}.item_ser" id="Detail1.{normalize-space($dbID)}.item_ser" ISCHANGED="false"/>
<a href="javascript:callPrdCode( '{normalize-space($dbID)}','{normalize-space($item_ser)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0" style =" visibility: hidden;"/> </a>
</td>
<td class="td_rightAlign" nowrap="true" width = "1%" style =" visibility: hidden;">
<strong>Site Code :</strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code" id="Detail1.{normalize-space($dbID)}.site_code" ISCHANGED="false"/>
<a href="javascript:callPrdCode( '{normalize-space($dbID)}','{normalize-space($site_code)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0" style =" visibility: hidden;"/> </a>
<input type="hidden" value="{$site_descr}" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr" ISCHANGED="false" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true" width = "1%" style =" visibility: hidden;">
<strong>Emp Approve :</strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" value="{$emp_code__aprv}" name="Detail1.{normalize-space($dbID)}.emp_code__aprv" id="Detail1.{normalize-space($dbID)}.emp_code__aprv" ISCHANGED="false" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true" width = "1%" style =" visibility: hidden;">
<strong>Emp First Name :</strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" value="{$employee_emp_fname}" name="Detail1.{normalize-space($dbID)}.employee_emp_fname" id="Detail1.{normalize-space($dbID)}.employee_emp_fname" ISCHANGED="false" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true" width = "1%" style =" visibility: hidden;">
<strong>Emp Last Name :</strong>
</td>
<td class="td_leftAlign" >
<input type="hidden" value="{$employee_emp_lname}" name="Detail1.{normalize-space($dbID)}.employee_emp_lname" id="Detail1.{normalize-space($dbID)}.employee_emp_lname" ISCHANGED="false" readonly="true"/>
</td>
</tr> -->
</xsl:for-each>
</table>
<table>
<tr width ="100%">
<td colspan="2">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="salesforecast_wiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="submit" style="cursor:hand" CLASS="button" value="Next" name = "ActNext" id = "ActNext" title='' onclick="return setActionVal('next')"/>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" />
<xsl:decimal-format NaN="0" />
<xsl:key name="site_code" match="//Detail2/site_code/text()" use="." />
<xsl:key name="item_descr" match="//Detail2/item_descr/text()" use="." />
<xsl:key name="tran_id" match="//Detail2/tran_id/text()" use="." />
<xsl:key name="prd_code" match="//Detail2/prd_code/text()" use="." />
<xsl:template match="/">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="/ibase/webitm/js/SalesForecast.js"></script>
</head>
<body
style="font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background-color: #f7f8fa; text-align : left; font-size: 14px;">
<LINK HREF="/ibase/webitm/css/theme/galaxy-theme.css" TYPE="text/css" REL="stylesheet"></LINK>
<style type="text/css">
.header_class
{border:inset 0;font-family:
'MuseoLight-300', sans-serif; color : #COCOCO;
background : #FFF;
text-align : left; font-size: 14px;}
.input_editablecenter
{border:solid 0; font-family: 'MuseoLight-300', sans-serif;
border-color:
lightgrey;color : #COCOCO; background : #FFF;
text-align : left;
font-size: 14px;}
.tableClass_rep
{margin-left:0px}
.td_leftAlign{
background-color: #FFF;
font-family:
"MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:left;
}
.input_editable
{border:solid 1px;font-family:
'MuseoLight-300', sans-serif; border-color:
#ccc;color : #COCOCO;
background : #FFF; text-align : left;
font-size: 14px;
width: 60px;}
.td_rightAlign{
background-color: #FFF;
font-family:
"MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:right;
}
.editDisplayheder
{readOnly:true; TEXT-ALIGN:left;
color:#000; padding:5px 5px 10px 5px;
font-size:16px; }
.editDisplayColumnClass
{readOnly:true; margin-left:2px;
BACKGROUND:#fff; TEXT-ALIGN:LEFT;
margin-bottom:10px; border-top:
#6cf 3px solid; border-bottom:solid
1px #ebebeb; border-right:solid
1px #ebebeb; border-left:solid 1px
#ebebeb;}
.editDisplayColumnClass
td
{ padding:5px; border-bottom: none; font-size:14px;}
.button{
border: 1px solid #E7E7E7;
border-radius: 2px;
-moz-border-radius:
2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 0 1px 1px rgba(0,
0, 0, 0.5);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
color: #333;
height: 22px;
font-family: 'MuseoLight-300', sans-serif;
font-size: 12px;
background-color: #e7e7e7;
cursor: pointer;
margin-left:10px;
}
.button:hover
{
border: 1px solid #E7E7E7 !important;
background-color: #e7e7e7 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
text-shadow:
none;
}
.button:active
{
text-shadow: none;
background-color: #d6d6d6
!important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px
rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0,
0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5)
!important;
border: 1px solid #E7E7E7 !important;
}
.divclass
{
border :
solid 1px lightgray;
line-height : 23px;
width:99.5%
}
.button.disabled {
background: #EBEBEB !important;
color:gray
!IMPORTANT;
pointer-events:none !IMPORTANT;
}
.button.enabled {
color:#333 !IMPORTANT;
pointer-events:auto !IMPORTANT;
}
</style>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/xsl/Standard/WIZARD/css/htmlWizard.css" />
<form name="Wizard_activity" METHOD="POST" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;" onSubmit="javascript:disableButtons(1);">
<TABLE border="0" width="99%" height="2%" class="header_td"
cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%">
Sales Forecast
</TD>
</TR>
</TABLE>
<table id="errorActivityTable" width="100%" class="tableClass"
style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px"
border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')">
<font style="color:#000;text-decoration:none;padding-right:5px;">
<b>X</b>
</font>
</a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message">
<xsl:value-of select="message" />
</xsl:variable>
<xsl:variable name="description">
<xsl:value-of select="description" />
</xsl:variable>
<xsl:variable name="type">
<xsl:value-of select="type" />
</xsl:variable>
<xsl:variable name="dbID">
<xsl:value-of select="@domId" />
</xsl:variable>
<xsl:variable name="column_name">
<xsl:value-of select="@column_name" />
</xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true">
<xsl:value-of select="message" />
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true">
<xsl:value-of select="description" />
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type">
<xsl:value-of select="type" />
</xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true"
checked="checked" onClick="setChecked(this)" />
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);"
nowrap="true">
</td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
<table style="display:none;">
<tr>
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="tran_id">
<xsl:value-of select="tran_id" />
</xsl:variable>
<xsl:variable name="tran_date">
<xsl:value-of select="tran_date" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code" />
</xsl:variable>
<xsl:variable name="prd_code__from">
<xsl:value-of select="prd_code__from" />
</xsl:variable>
<xsl:variable name="prd_code__to">
<xsl:value-of select="prd_code__to" />
</xsl:variable>
<td class="td_leftAlign">
<input type="checkbox" value="true"
name="Detail1.{normalize-space($dbID)}.selectbox" id="Detail1.{normalize-space($dbID)}.selectbox"
checked='Y' style="display:none;" />
<input type="hidden" value="{$tran_id}" class="input_editable"
name="Detail1.{normalize-space($dbID)}.tran_id" id="Detail1.{normalize-space($dbID)}.tran_id"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$tran_date}" class="input_editable"
name="Detail1.{normalize-space($dbID)}.tran_date" id="Detail1.{normalize-space($dbID)}.tran_date"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$item_ser}" class="input_editable"
name="Detail1.{normalize-space($dbID)}.item_ser" id="Detail1.{normalize-space($dbID)}.item_ser"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$prd_code__from}" class="input_editable"
name="Detail1.{normalize-space($dbID)}.prd_code__from" id="Detail1.{normalize-space($dbID)}.prd_code__from"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$prd_code__to}" class="input_editable"
name="Detail1.{normalize-space($dbID)}.prd_code__to" id="Detail1.{normalize-space($dbID)}.prd_code__to"
ISCHANGED="false" style="text-align: right;" />
</td>
</xsl:for-each>
</tr>
</table>
<div class="editDisplayColumnClass" id="dataDiv" style="overflow: auto;">
<table id="activityTable" border="0" cellSpacing="0" width1="100%"
cellPadding="5">
<tr>
<td>
</td>
<xsl:for-each
select="//Detail2/site_code/text()[generate-id()= generate-id(key('site_code',.)[1])]">
<td class="td_leftAlign" style="text-align:center"
colspan="{count(//Detail2/prd_code/text()[generate-id()= generate-id(key('prd_code',.)[1])])}">
<xsl:value-of select="." />
</td>
</xsl:for-each>
</tr>
<tr>
<td></td>
<xsl:for-each select="//Detail2">
<xsl:variable name="prd_code"><xsl:value-of select="prd_code" />
</xsl:variable>
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:if test="$prd_code != ''">
<td class="td_leftAlign" style="width: 70px;text-align:center1">
&#160;&#160;
<xsl:value-of select="prd_code" />
<input type="checkbox"
name="Detail2.{normalize-space($dbID)}.selectbox" id="Detail2.{normalize-space($dbID)}.selectbox"
checked='N' value="true" style="display:none;" />
<input type="hidden" value="{$prd_code}" class="input_editable"
name="Detail2.{normalize-space($dbID)}.prd_code" id="Detail2.{normalize-space($dbID)}.prd_code"
ISCHANGED="false" style="text-align: center;" />
</td>
</xsl:if>
</xsl:for-each>
</tr>
<xsl:for-each
select="//Detail2/item_descr/text()[generate-id()= generate-id(key('item_descr',.)[1])]">
<xsl:variable name="parent_item_descr">
<xsl:value-of select="." />
</xsl:variable>
<tr width1="100%">
<td class="td_leftAlign" nowrap="true" style="max-width: 333px;">
<strong>
<xsl:value-of select="$parent_item_descr" />
</strong>
</td>
<xsl:for-each select="//Detail2">
<xsl:sort select="site_code"/>
<xsl:sort select="prd_code__for" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="tran_id">
<xsl:value-of select="tran_id" />
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code" />
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="prd_code__for">
<xsl:value-of select="prd_code__for" />
</xsl:variable>
<xsl:variable name="quantity">
<xsl:value-of select="quantity" />
</xsl:variable>
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr" />
</xsl:variable>
<xsl:if test="$parent_item_descr = $item_descr ">
<td class="td_leftAlign" style="width: 70px;">
<input type="checkbox"
name="Detail2.{normalize-space($dbID)}.selectbox" id="Detail2.{normalize-space($dbID)}.selectbox"
checked='Y' value="true" style="display:none;" />
<input type="number" value="{$quantity}" class="input_editable"
name="Detail2.{normalize-space($dbID)}.quantity" id="Detail2.{normalize-space($dbID)}.quantity"
ISCHANGED="false" style="text-align: right;" onfocus="setOldQuantity(this )" onchange="quantitySet ( this )" />
<input type="hidden" value="{$item_code}" class="input_editable"
name="Detail2.{normalize-space($dbID)}.item_code" id="Detail2.{normalize-space($dbID)}.item_code"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$site_code}" class="input_editable"
name="Detail2.{normalize-space($dbID)}.site_code" id="Detail2.{normalize-space($dbID)}.site_code"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$tran_id}" class="input_editable"
name="Detail2.{normalize-space($dbID)}.tran_id" id="Detail2.{normalize-space($dbID)}.tran_id"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$prd_code__for}" class="input_editable"
name="Detail2.{normalize-space($dbID)}.prd_code__for" id="Detail2.{normalize-space($dbID)}.prd_code__for"
ISCHANGED="false" style="text-align: right;" />
<input type="hidden" value="{$item_descr}" class="input_editable"
name="Detail2.{normalize-space($dbID)}.item_descr" id="Detail2.{normalize-space($dbID)}.item_descr"
ISCHANGED="false" style="text-align: right;" />
</td>
</xsl:if>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>
</div>
<table>
<tr width="100%">
<td colspan="2">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="salesforecast_wiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="Cancel" style="cursor:hand; width: 22%;"
CLASS="button" value="Cancel" name="ActCancel" id="ActCancel"
title=''
onclick="window.location.href='/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=salesforecast_wiz&amp;FORM_NO=1'" />
<input type="submit" style="cursor:hand" CLASS="button"
value="Finish" name="ActFinish" id="ActFinish" title=''
onclick="return checkActionVal('finish')" />
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
var oldQuantity = 0 ;
function setActionVal ( value )
{
document.getElementById("action").value = value;
var prdCodeFrom = document.getElementById( "Detail1.1.prd_code__from").value;
var prdCodeTo = document.getElementById( "Detail1.1.prd_code__to").value;
if(prdCodeFrom == null || prdCodeFrom.length == 0)
{
alert("Period code from cannot be blank ");
}
else if(prdCodeTo == null || prdCodeTo.length == 0)
{
alert("Period code to cannot be blank ");
}
if (prdCodeFrom.length > 0 && prdCodeTo.length > 0 )
{
return true;
}
else
{
return false;
}
}
function checkActionVal( value )
{
document.getElementById("action").value = value;
return true;
}
function setOldQuantity ( element )
{
oldQuantity = element.value ;
console.log(" Quantity "+oldQuantity);
}
function quantitySet ( element )
{
var quantityVal = element.value ;
console.log(" quantityVal 111 "+quantityVal);
console.log(" Quantity 111 "+oldQuantity);
if( quantityVal == "" || quantityVal < 0 || quantityVal.length > 14)
{
alert("Quantity cannot be Empty or less than zero or length should be less than 14");
element.value = oldQuantity ;
console.log(" quantityVal 123 "+quantityVal);
element.focus();
}
return quantityVal;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function addLoadEvent(func)
{
var oldonload = window.onload;
if (typeof window.onload != 'function')
{
window.onload = func;
}
else
{
window.onload = function()
{
if (oldonload)
{
oldonload();
}
func();
}
}
}
addLoadEvent(setDivHeight);
function setDivHeight()
{
if(document.getElementById("dataDiv") != null)
{
document.getElementById("dataDiv").style.height = (window.innerHeight - 120 ) + "px";
}
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
function doHideMsg(str)
{
document.getElementById(str).style.display = 'none';
}
<%@ page import="ibase.webitm.servlet.ITMWizardHandlerServlet" %>
<%@page import="ibase.utility.BaseLogger"%>
<%! ibase.utility.UserInfoBean userInfo = null; %>
<%@page contentType="text/html" %>
<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="/ibase/webitm/js/json2.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/l10n.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/localizations.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/SavexWizard.js"></script>
<script type="text/javascript" src="../js/SavexWizard.js"></script>
</head>
<body onLoad="displayText();">
<%
BaseLogger.log("3",userInfo,null, "*************E12WizardsSuccessPage.jsp******************");
String objName = ( request.getParameter( "OBJ_NAME" ) != null ) ? request.getParameter( "OBJ_NAME" ) : "";
String workDate = ( request.getParameter( "work_date" ) != null ) ? request.getParameter( "work_date" ) : "";
String editMod = ( request.getParameter( "edit_mode" ) != null ) ? request.getParameter( "edit_mode" ) : "";
String directAcc = ( request.getParameter( "direct_acc" ) != null ) ? request.getParameter( "direct_acc" ) : "";
BaseLogger.log("3",userInfo,null, "directAcc"+directAcc);
BaseLogger.log("3",userInfo,null, "@@@@ objName :: "+objName);
String message = "Transation Saved Successfully.....";
String editMsg = "";
String successMsg = "";
String clsCaption = "";
String contCaption = "";
String editorId = request.getParameter("EDITOR_ID");
BaseLogger.log("3",userInfo,null, "editorId :"+editorId);
//String declarationMsg = "";
String random = "";
%>
<script language="JavaScript" type="text/javascript">
function displayText()
{
var str = "You have edited the Daily Report for ";
//var declarationMsg = "Declaration Saved Successfully.....";
//var objNameDecl = '<%=objName%>';
var localized = str.toLocaleString();
editMsg = localized;
str = "You have submitted the Daily Report for ";
localized = str.toLocaleString();
successMsg = localized;
str = "Close";
localized = str.toLocaleString();
clsCaption = localized;
str = "Continue";
localized = str.toLocaleString();
contCaption = localized;
str = "View Report";
localized = str.toLocaleString();
document.getElementById("viewReportButton").value = localized;
var test = '<%=directAcc%>';
if( test == "Y" )
{
str = "Continue";
localized = str.toLocaleString();
document.getElementById("actions").value = localized;
}
else
{
str = "Close";
localized = str.toLocaleString();
document.getElementById("actions").value = localized;
}
var test = '<%=editMod%>';
if( test == "Y" )
{
str = "You have edited the Daily Report for ";
localized = str.toLocaleString();
document.getElementById("viewReportSucc").value = localized + '<%=workDate%>';
}
else
{
str = "You have submitted the Daily Report for ";
localized = str.toLocaleString();
document.getElementById("viewReportSucc").value = localized + '<%=workDate%>';
}
}
</script>
<%
if(objName.equalsIgnoreCase("milestone_pay_gen"))
{
response.sendRedirect("E12WizardPage.jsp?OBJ_NAME=milestone_pay_gen&amp;FORM_NO=1");
}else
{
if(editMod.equalsIgnoreCase("E"))
{
//message = "You have edited the Daily Report for "+workDate;
message = editMsg + workDate;
BaseLogger.log("3",userInfo,null, ">>>>>>>>.messages["+message+"]");
}
else
{
//message = "You have submitted the Daily Report for "+workDate ;
message = successMsg + workDate ;
BaseLogger.log("3",userInfo,null, "<<<<<<<<.messages["+message+"]");
}
//Changed by Pawan on 16/11/10 [WS01SUN028] to display "Continue/Close" button.start
String captionValue = "";
String onClickAction = "";
if( directAcc.equalsIgnoreCase("Y") )
{
//captionValue = "Continue";
captionValue = contCaption;
onClickAction = "javascript:goToPage('" + objName + "', '" + editorId + "' )";
BaseLogger.log("3",userInfo,null, "Inside direct Access");
}
else
{
//captionValue = "Close";
captionValue = clsCaption;
onClickAction = "window.close()";
BaseLogger.log("3",userInfo,null, "Inside Indirect access");
}
//Changed by Pawan on 16/11/10 [WS01SUN028] to display "Continue/Close" button.end
//String message = "Transation Saved Successfully.....";
//
%>
<%
BaseLogger.log("3",userInfo,null, "objName>>["+objName+"]");
//Modified by Radheshyam[16/03/2015][to show success msg for obj_name itdecl_byac_wiz as suggested by Abhishek].start
//if(objName != null && objName.trim().equals("itdecl_byemp_wiz"))
if(objName != null && (objName.trim().equals("itdecl_byemp_wiz") || objName.trim().equals("itdecl_byac_wiz")))
//Modified by Radheshyam[16/03/2015][to show success msg for obj_name itdecl_byac_wiz as suggested by Abhishek].end
{
%>
<script language="javascript">
alert("Declaration Successfully Submitted");
window.close();
</script>
<%
}
// Modified on[06/09/2013][To show the success masseges properly as per suggested by Nilesh sir]
// else if(objName != null && objName.trim().equals("emp_itproof_hp_byemp_wiz"))
else if(objName != null && (objName.trim().equals("emp_itproof_hp_byemp_wiz") || objName.trim().equals("emp_itproof_yp_byemp_wiz") || objName.trim().equals("emp_itproof_byac_wiz") || objName.trim().equals("itproof_all_wiz")))
{
// Modified on[06/09/2013][To show the success masseges properly as per suggested by Nilesh sir][Start]
String status = ( request.getParameter( "status" ) != null ) ? request.getParameter( "status" ) : "";
if (status.trim().equalsIgnoreCase("D"))
{
message = "Proof Successfully Saved in Draft";
}
else if (status.trim().equalsIgnoreCase("F"))
{
message = "Proof Successfully Submitted";
}
else
{
message = "Proof Successfully Saved";
}
// Modified on[06/09/2013][To show the success masseges properly as per suggested by Nilesh sir][End]
%>
<script language="javascript">
// Modified on[06/09/2013][To show the success masseges properly as per suggested by Nilesh sir][
//alert("Declaration Successfully Submitted");
alert("<%=message%>");
window.close();
</script>
<%
}
//Changes done by Gulzar on 24/10/13 for display message for CPP Appraisal
else if( objName != null && "emp_appraisal_wiz".equalsIgnoreCase(objName.trim()))
{
String status = ( request.getParameter("status") != null ) ? request.getParameter("status").trim() : "";
if (status.trim().equalsIgnoreCase("D"))
{
message = "CPP Appraisal Saved in Draft";
}
else if (status.trim().equalsIgnoreCase("F"))
{
message = "CPP Appraisal Submitted";
}
else
{
message = "Transation Saved Successfully.....";
}
%>
<script language="javascript">
alert("<%=message%>");
window.close();
</script>
<%
}
//Added by Prajyot [STP - Success page configuration.]
else if( objName != null && "sprs_tour_planwiz".equalsIgnoreCase( objName.trim() ) )
{
message = "Transation Saved Successfully.....";
%>
<script language="javascript">
var url = "StpSuccessPage.jsp";
alert('<%=message%>');
window.location.href = url;
</script>
<%
}
//Added by Prajyot on 02-NOV-2015 [Provided by Pankaj Rahate - Manoj Sharma]
else if(objName.equalsIgnoreCase("report_request_wiz"))
{
response.sendRedirect("E12WizardPage.jsp?OBJ_NAME=report_request_wiz&amp;FORM_NO=1");
}
//Commented and Changed by rahul on 13-Apr-2016 [adding object name of Bangladesh brand Reporting]
//else if("survey_mst_wiz".equalsIgnoreCase(objName) || "survey_templ_wiz".equalsIgnoreCase(objName) || "survey_config_wiz".equalsIgnoreCase(objName) || "data_model_design_wiz".equalsIgnoreCase(objName))
//Commented and Changed by kaustubh on 28-june-2016 [adding object name of GST Wizards gst_regno,gstreco_wiz]
//else if("survey_mst_wiz".equalsIgnoreCase(objName) || "survey_templ_wiz".equalsIgnoreCase(objName) || "survey_config_wiz".equalsIgnoreCase(objName) || "data_model_design_wiz".equalsIgnoreCase(objName) || "strg_brand_act".equalsIgnoreCase(objName) || "strg_brand_unconf".equalsIgnoreCase(objName))
//Added by Santosh on 28/07/17 to add GST API objnames to display success message
//else if("survey_mst_wiz".equalsIgnoreCase(objName) || "survey_templ_wiz".equalsIgnoreCase(objName) || "survey_config_wiz".equalsIgnoreCase(objName) || "data_model_design_wiz".equalsIgnoreCase(objName) || "strg_brand_act".equalsIgnoreCase(objName) || "strg_brand_unconf".equalsIgnoreCase(objName) || "gst_regno".equalsIgnoreCase(objName) || "gstreco_wiz".equalsIgnoreCase(objName) || "gstsalesdata_save".equalsIgnoreCase(objName) || "gstsalesdata_submit".equalsIgnoreCase(objName) || "gstsalesdata_file".equalsIgnoreCase(objName) || "gstpurchasedata_save".equalsIgnoreCase(objName) || "gstpurchasedata_submit".equalsIgnoreCase(objName) || "gstpurchasedata_file".equalsIgnoreCase(objName) || "gstdownload_gstr2a".equalsIgnoreCase(objName))
//Added by Santosh on 03/09/17 to display sucess message for objName gstsalesdata_delete and gstpurchasedat_delete
//else if("survey_mst_wiz".equalsIgnoreCase(objName) || "survey_templ_wiz".equalsIgnoreCase(objName) || "survey_config_wiz".equalsIgnoreCase(objName) || "data_model_design_wiz".equalsIgnoreCase(objName) || "strg_brand_act".equalsIgnoreCase(objName) || "strg_brand_unconf".equalsIgnoreCase(objName) || "gst_regno".equalsIgnoreCase(objName) || "gstreco_wiz".equalsIgnoreCase(objName) || "gstsalesdata_save".equalsIgnoreCase(objName) || "gstsalesdata_submit".equalsIgnoreCase(objName) || "gstsalesdata_file".equalsIgnoreCase(objName) || "gstpurchasedata_save".equalsIgnoreCase(objName) || "gstpurchasedata_submit".equalsIgnoreCase(objName) || "gstpurchasedata_file".equalsIgnoreCase(objName) || "gstdownload_gstr2a".equalsIgnoreCase(objName))
//Added chemist_deact,doctor_deact objName to display success message by kailash on 08-12-18.
//else if("survey_mst_wiz".equalsIgnoreCase(objName) || "survey_templ_wiz".equalsIgnoreCase(objName) || "survey_config_wiz".equalsIgnoreCase(objName) || "data_model_design_wiz".equalsIgnoreCase(objName) || "strg_brand_act".equalsIgnoreCase(objName) || "strg_brand_unconf".equalsIgnoreCase(objName) || "gst_regno".equalsIgnoreCase(objName) || "gstreco_wiz".equalsIgnoreCase(objName) || "gstsalesdata_retstatus".equalsIgnoreCase(objName) || "gstsalesdata_file".equalsIgnoreCase(objName) || "gstpurchasedata_file".equalsIgnoreCase(objName) || "gstpurchasedata_retstatus".equalsIgnoreCase(objName) || "gstpurchasedata_file".equalsIgnoreCase(objName) || "gstdownload_gstr2a".equalsIgnoreCase(objName) || "plistgen_wiz".equalsIgnoreCase(objName) || "periodStatUpd_wiz".equalsIgnoreCase(objName) )
else if("survey_mst_wiz".equalsIgnoreCase(objName) || "survey_templ_wiz".equalsIgnoreCase(objName) || "survey_config_wiz".equalsIgnoreCase(objName) || "data_model_design_wiz".equalsIgnoreCase(objName) || "strg_brand_act".equalsIgnoreCase(objName) || "strg_brand_unconf".equalsIgnoreCase(objName) || "gst_regno".equalsIgnoreCase(objName) || "gstreco_wiz".equalsIgnoreCase(objName) || "gstsalesdata_retstatus".equalsIgnoreCase(objName) || "gstsalesdata_file".equalsIgnoreCase(objName) || "gstpurchasedata_file".equalsIgnoreCase(objName) || "gstpurchasedata_retstatus".equalsIgnoreCase(objName) || "gstpurchasedata_file".equalsIgnoreCase(objName) || "gstdownload_gstr2a".equalsIgnoreCase(objName) || "plistgen_wiz".equalsIgnoreCase(objName) || "periodStatUpd_wiz".equalsIgnoreCase(objName) || "chemist_deact".equalsIgnoreCase(objName) || "doctor_deact".equalsIgnoreCase(objName) || "salesforecast_wiz".equalsIgnoreCase(objName))
{
message = "Transation Saved Successfully.....";
%>
<script language="javascript">
alert("<%=message%>");
window.close();
var url = "E12WizardPage.jsp?OBJ_NAME=<%=objName%>";
window.location.href = url;
</script>
<%
}
//Added by Gaurav Singh for CHC
else if( objName != null && "strg_meet_otcdcr_wiz".equalsIgnoreCase( objName.trim() ) )
{
message = "Transation Saved Successfully.....";
%>
<script language="javascript">
var url = "E12WizardPage.jsp?OBJ_NAME=strg_meet_otcdcr_wiz&amp;FORM_NO=1";
alert('<%=message%>');
window.location.href = url;
</script>
<%
}
//Added by Tajuddin Mahadi for Perk Claim Process - 22-12-2016 START
else if( objName != null && "perk_claim_process".equalsIgnoreCase( objName.trim() ) )
{
message = "Transation Saved Successfully.....";
%>
<script language="javascript">
//var url = "E12WizardPage.jsp?OBJ_NAME=perk_claim_process&amp;FORM_NO=1";
alert('<%=message%>');
history.go(-2);
//window.location.href = url;
</script>
<%
}
//Added by Tajuddin Mahadi for Perk Claim Process - 22-12-2016 END
//Modified by Ahmed on 22-Jun-2017[For perk claim process multiple years][start]
else if(objName != null && "claim_proc_multiple_wiz".equalsIgnoreCase(objName.trim()))
{
BaseLogger.log("3",userInfo,null, "objName>>"+objName);
message = "Process Completed Successfully!";
BaseLogger.log("3",userInfo,null, "message>>"+message);
%>
<script language="javascript">
var url = "/ibase/login/close.html";
alert('<%=message%>');
window.location.href = url;
</script>
<%
}
//Modified by Ahmed on 22-Jun-2017[For perk claim process multiple years][end]
//Changed by wasim on 07-JUN-2017 for Purchase/Sale/Product Wizard [START]
else if(("porderWiz").equalsIgnoreCase(objName) || ("sorderWiz").equalsIgnoreCase(objName))
{
if(("sorderWiz").equalsIgnoreCase(objName))
{
random = ( request.getParameter( "udf__num2" ) != null ) ? request.getParameter( "udf__num2" ) : "";
}
else if(("porderWiz").equalsIgnoreCase(objName))
{
random = ( request.getParameter( "udf_str__2" ) != null ) ? request.getParameter( "udf_str__2" ) : "";
}
%>
<script language="javascript">
var url = "";
var objName = "<%=objName%>";
var random = "<%=random%>";
if(objName == "porderWiz")
{
url = "ViewPorderReport.jsp?OBJ_NAME="+objName+"&random="+random;
}
else if(objName == "sorderWiz")
{
url = "sorderViewReport.jsp?OBJ_NAME="+objName+"&random="+random;
}
window.location.href = url;
</script>
<%
}
else if(objName.equalsIgnoreCase("dd_productWiz") || objName.equalsIgnoreCase("dd_productWizEdit") )
{
BaseLogger.log("3",userInfo,null, "Inside Product Wizard");
message = "Transation Saved Successfully.....";
%>
<script language="javascript">
var objN = "<%=objName%>";
alert('<%=message%>');
var url = "E12WizardPage.jsp?OBJ_NAME="+objN;
window.location.href = url;
//goToPage(objN,'');
//alert('<%=message%>');
</script>
<%
}
else if("gstsalesdata_save".equalsIgnoreCase(objName) || "gstpurchasedata_save".equalsIgnoreCase(objName) || "gstsalesdata_delete".equalsIgnoreCase(objName) || "gstpurchasedata_delete".equalsIgnoreCase(objName) || "gstsalesdata_submit".equalsIgnoreCase(objName) || "gstpurchasedata_submit".equalsIgnoreCase(objName) )
{
BaseLogger.log("3",userInfo,null, "Inside GST save Wizard");
message = "Data uploaded to GSTN successfully.Uploaded data is under processing at GSTN end. Kindly check the status after sometime to complete the transaction.";
%>
<script language="javascript">
var message = "Data uploaded/submitted to GSTN successfully. Uploaded/Submitted data is under processing at GSTN end. Kindly check status after sometime to complete the transaction.";
var objN = '<%=objName%>';
alert(message);
var url = "E12WizardPage.jsp?OBJ_NAME="+objN;
window.location.href = url;
</script>
<%
}
else if( objName != null && "wavegen_wiz".equalsIgnoreCase( objName.trim() ) )
{
%>
<script>
var url = "WavegenWizSummaryPage.jsp?OBJ_NAME=wavegen_wiz";
window.location.href = url;
</script>
<%
}
//Changed by wasim on 07-JUN-2017 for Purchase/Sale/Product Wizard [END]
/*Added By Samadhan for E12Registration On date 11-05-2016*/
else if( objName != null && "registration".equalsIgnoreCase( objName.trim() ) )
{
String userId = ( request.getParameter( "user_id" ) != null ) ? request.getParameter( "user_id" ) : "";
String pwd = ( request.getParameter( "pass_wd_sha" ) != null ) ? request.getParameter( "pass_wd_sha" ) : "";
String regUsrDump = ( request.getParameter( "regst_usr_dump" ) != null ) ? request.getParameter( "regst_usr_dump" ) : "";// Added by chitranga tandel on 09/08/2017
%>
<script language="javascript">
var usrLogId = "<%=userId%>";
var usrLogPwd = "<%=pwd%>";
<%-- Added by chitranga tandel on 09/08/2017 start --%>
var usrDump = "<%=regUsrDump%>";
var url ="";
if(usrDump == "Y")
{
url = "/ibase/E12Registration/jsp/RegSuccess.jsp";
}
<%-- Added by chitranga tandel on 09/08/2017 end --%>
else
{
url = "/ibase/E12Registration/jsp/E12LiteSuccess.jsp?moduleName=organisation&usrLogId="+usrLogId+"&usrLogPwd="+usrLogPwd+"";
}
window.location.href = url;
</script>
<%
}
else if( objName != null && "invited_regist".equalsIgnoreCase( objName.trim() ) )
{
String userId = ( request.getParameter( "user_id" ) != null ) ? request.getParameter( "user_id" ) : "";
String pwd = ( request.getParameter( "pass_wd_sha" ) != null ) ? request.getParameter( "pass_wd_sha" ) : "";
%>
<script language="javascript">
var usrLogId = "<%=userId%>";
var usrLogPwd = "<%=pwd%>";
var url = "/ibase/E12Registration/jsp/E12LiteSuccess.jsp?moduleName=organisation&usrLogId="+usrLogId+"&usrLogPwd="+usrLogPwd+"";
window.location.href = url;
</script>
<%
}
/*Added By Samadhan for E12Registration On date 11-05-2016*/
else
{
%>
<font size="3" >
<center><b>
<input type="button" style="cursor:hand" id="viewReportSucc" value="" title='' />
</b></center> </font>
<center>
<!--Changed by Pawan on 13/11/10 [WS01SUN028] to pass "directAcc" in viewReport method Start-->
<!--<input type="button" style="cursor:hand" value="View Report" title='' onclick="javascript:viewReport('<%=objName%>','<%=workDate%>');"/>-->
<!--<input type="button" style="cursor:hand" value="Continue" title='' onclick="javascript:goToPage('<%=objName%>');"/>-->
<input type="button" style="cursor:hand" id="viewReportButton" value="" title='' onclick="javascript:viewReport('<%=objName%>','<%=workDate%>','<%=directAcc%>');"/>
<!-- <input type="button" style="cursor:hand" value="<%=captionValue%>" title='' onclick="<%=onClickAction%>;"/> -->
<input type="button" style="cursor:hand" id="actions" value="" title='' onclick="<%=onClickAction%>;"/>
<!--Changed by Pawan on 13/11/10 [WS01SUN028] to display "Continue/close" button End-->
<%
}}
%>
</center>
</body>
</HTML>
---Transetup
Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,REPEATADDDET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,CUST_ACC_COL,SALES_PERS_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_CODE,EMP_ACC_COL,ITEM_SER_ACC_COL,WORKFLOW_OPT,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,TRAN_ID__FROM,TRAN_ID__TO,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,MULTITIRE_OPT,REF_SER,VIEW_MODE,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,IGNOREERRLIST_ONLOAD,CHILDDATA_ARGOPT,EDIT_TMPLT,WRKFLW_INIT,EDITTAX,FORMAL_ARGS,AUDIT_TRAIL_OPT,EDIT_OPT,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL)
values ('w_salesforecast_wiz','2','2','A','_spsite_code,SF,_pptran_date,seq04',null,null,null,null,null,'N',sysdate,'Proteus','BASE217','0',null,null,'N','N',null,null,null,'N',null,'TRAN_ID',null,'0',null,null,null,null,null,null,null,null,null,null,'SALESFORECAST_HDR',null,null,'TRAN_DATE',null,null,null,null,null,null,'S-FST','F',null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,null,null,null,null,null,null,'M',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,null,null,null,null,null,null,'compact',null,null,null,null,null,null,null);
--Obj_Forms
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG)
values ('w_salesforecast_wiz','Sales Forecast Wizard',null,null,null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG)
values ('w_salesforecast_wiz','Detail',null,null,null,null,null,null,'2','T',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
--obj_action
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM)
values ('salesforecast_wiz',1,'ibase/resource/objaction/copyTransaction.svg','Copying Transaction','a','a','A','Copy Transaction','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'1',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM)
values ('salesforecast_wiz',2,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','2',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'4',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM)
values ('salesforecast_wiz',3,'ibase/resource/objaction/edit.svg','Editing Existing Record','a','a','E','Edit','2',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'4','000');
--obj_itemchange
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY)
values ('salesforecast_wiz','1 ','ACCT_PRD',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY)
values ('salesforecast_wiz','1 ','ITEM_CODE',null);
----Itm2Menu
Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES)
values ('SCN',1,4,0,0,0,'w_salesforecast_wiz','Sales Forecast Wizard','Sales Forecast Wizard','SCN.1.4.0.0.0',null,null,null,'T',null,null,null,null,null,null,null,'0 ');
---system_events
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT)
values ('salesforecast_wiz','default_data_wiz','1','itm_default_salesForecastWiz',null,'0',sysdate,'BASE','BASE','2','JB','ibase.webitm.ejb.fin.SalesForecastWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT)
values ('salesforecast_wiz','post_item_change','1','poic_salesForecastWiz',null,'0',sysdate,'BASE','BASE','2','JB','ibase.webitm.ejb.fin.SalesForecastWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT)
values ('salesforecast_wiz','post_save','1','pos_salesForecastWiz',null,'0',sysdate,'BASE','BASE','2','JB','ibase.webitm.ejb.fin.SalesForecastPosWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT)
values ('salesforecast_wiz','pre_navigate','1','prv_salesForecastWiz',null,'0',sysdate,'BASE','BASE','2','JB','ibase.webitm.ejb.fin.SalesForecastWizEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT)
values ('salesforecast_wiz','pre_validate','1','prv_salesForecastWiz',null,'0',sysdate,'BASE','BASE','2','JB','ibase.webitm.ejb.fin.SalesForecastWizEJB',null);
---System_event_services
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('itm_default_salesForecastWiz','SalesForecastWiz','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,sysdate,'BASE','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('poic_salesForecastWiz','SalesForecastWiz','http://localhost:9090/axis/services/ValidatorService','base','itemChanged','String','S',null,null,sysdate,'BASE','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('pos_salesForecastWiz','SalesForecastWiz','http://localhost:9090/axis/services/ValidatorService','BASE','postSave','String','S',null,null,sysdate,'BASE','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION)
values ('prv_salesForecastWiz','SalesForecastWiz','http://localhost:9090/axis/services/ValidatorService','base','wfValData','String','S',null,null,sysdate,'BASE','BASE',null,null,null);
----system_service_args
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('itm_default_salesForecastWiz',1,'COMPONENT_TYPE','I',null,'S',null,sysdate,'BASE','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('itm_default_salesForecastWiz',2,'COMPONENT_NAME','I',null,'S',null,sysdate,'BASE','BASE','ibase.webitm.ejb.fin.SalesForecastWizEJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('itm_default_salesForecastWiz',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 ('itm_default_salesForecastWiz',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 ('itm_default_salesForecastWiz',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 ('itm_default_salesForecastWiz',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 ('itm_default_salesForecastWiz',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 ('itm_default_salesForecastWiz',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 ('itm_default_salesForecastWiz',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 ('poic_salesForecastWiz',1,'COMPONENT_TYPE','I','Component Type','S',null,sysdate,'BASE','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('poic_salesForecastWiz',2,'COMPONENT_NAME','I','Component Name','S',null,sysdate,'BASE','BASE','ibase.webitm.ejb.fin.SalesForecastWizEJB');
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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',1,'COMPONENT_TYPE','I',null,'S',null,sysdate,'BASE','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('pos_salesForecastWiz',2,'COMPONENT_NAME','I',null,'S',null,sysdate,'BASE','BASE','ibase.webitm.ejb.fin.SalesForecastPosWizEJB');
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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',1,'COMPONENT_TYPE','I','Component Type','S',null,sysdate,'BASE','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('prv_salesForecastWiz',2,'COMPONENT_NAME','I','Component Name','S',null,sysdate,'BASE','BASE','ibase.webitm.ejb.fin.SalesForecastWizEJB');
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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',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_salesForecastWiz',8,'XTRA_PARAMS','I',null,'S',null,sysdate,'BASE','BASE',null);
----Messages
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('VMPRDLESS4 ','Invalid period code!','Period code should be less than 4','E','Y',null,null,null,sysdate,'BASE','BASE',null,null);
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Header>
<height>21</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>20</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id</name>
<dbname>salesforecast_hdr.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>salesforecast_hdr.tran_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>salesforecast_hdr.site_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>salesforecast_hdr.confirmed</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__from</name>
<dbname>salesforecast_hdr.prd_code__from</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__to</name>
<dbname>salesforecast_hdr.prd_code__to</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>salesforecast_hdr.item_ser</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>salesforecast_hdr.emp_code__aprv</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;salesforecast_hdr&quot; ) COLUMN(NAME=&quot;salesforecast_hdr.tran_id&quot;) COLUMN(NAME=&quot;salesforecast_hdr.tran_date&quot;) COLUMN(NAME=&quot;salesforecast_hdr.site_code&quot;) COLUMN(NAME=&quot;salesforecast_hdr.confirmed&quot;) COLUMN(NAME=&quot;salesforecast_hdr.prd_code__from&quot;) COLUMN(NAME=&quot;salesforecast_hdr.prd_code__to&quot;) COLUMN(NAME=&quot;salesforecast_hdr.item_ser&quot;) COLUMN(NAME=&quot;salesforecast_hdr.emp_code__aprv&quot;)WHERE( EXP1 =&quot;salesforecast_hdr.tran_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:mdate_from&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;salesforecast_hdr.tran_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:mdate_to&quot; ) ) ARG(NAME = &quot;mdate_from&quot; TYPE = datetime) ARG(NAME = &quot;mdate_to&quot; TYPE = datetime) </retrieve>
<argument>
<name>mdate_from</name>
<type>datetime</type>
</argument>
<argument>
<name>mdate_to</name>
<type>datetime</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Tran Date</text>
<border>6</border>
<color>0</color>
<x>107</x>
<y>3</y>
<height>16</height>
<width>54</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Site Code</text>
<border>6</border>
<color>0</color>
<x>165</x>
<y>3</y>
<height>16</height>
<width>51</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Prd Code From</text>
<border>6</border>
<color>0</color>
<x>220</x>
<y>3</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__from_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Prd Code To</text>
<border>6</border>
<color>0</color>
<x>306</x>
<y>3</y>
<height>16</height>
<width>70</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__to_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Ser</text>
<border>6</border>
<color>0</color>
<x>380</x>
<y>3</y>
<height>16</height>
<width>43</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed</text>
<border>6</border>
<color>0</color>
<x>427</x>
<y>3</y>
<height>16</height>
<width>26</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Approved by</text>
<border>6</border>
<color>0</color>
<x>457</x>
<y>3</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Tran Id</text>
<border>6</border>
<color>0</color>
<x>4</x>
<y>3</y>
<height>16</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>107</x>
<y>1</y>
<height>16</height>
<width>54</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<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>30</tabsequence>
<border>5</border>
<color>0</color>
<x>165</x>
<y>1</y>
<height>16</height>
<width>51</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<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>50</tabsequence>
<border>5</border>
<color>0</color>
<x>220</x>
<y>1</y>
<height>16</height>
<width>82</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__from</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</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>6</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>306</x>
<y>1</y>
<height>16</height>
<width>70</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</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>7</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>380</x>
<y>1</y>
<height>16</height>
<width>43</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<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>40</tabsequence>
<border>5</border>
<color>0</color>
<x>427</x>
<y>1</y>
<height>16</height>
<width>26</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</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>8</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>457</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<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>10</tabsequence>
<border>5</border>
<color>0</color>
<x>4</x>
<y>1</y>
<height>16</height>
<width>99</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Header>
<height>24</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>21</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id</name>
<dbname>salesforecast_det.tran_id</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>salesforecast_det.item_code</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__plan</name>
<dbname>salesforecast_det.prd_code__plan</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__for</name>
<dbname>salesforecast_det.prd_code__for</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>unit</name>
<dbname>salesforecast_det.unit</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>salesforecast_det.quantity</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>salesforecast_det.remarks</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_2</name>
<dbname>quantity_2</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_3</name>
<dbname>quantity_3</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_4</name>
<dbname>quantity_4</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_2</name>
<dbname>prd_2</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_3</name>
<dbname>prd_3</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_4</name>
<dbname>prd_4</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_org</name>
<dbname>salesforecast_det.quantity_org</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;salesforecast_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;salesforecast_det.tran_id&quot;) COLUMN(NAME=&quot;salesforecast_det.item_code&quot;) COLUMN(NAME=&quot;salesforecast_det.prd_code__plan&quot;) COLUMN(NAME=&quot;salesforecast_det.prd_code__for&quot;) COLUMN(NAME=&quot;salesforecast_det.unit&quot;) COLUMN(NAME=&quot;salesforecast_det.quantity&quot;) COLUMN(NAME=&quot;salesforecast_det.remarks&quot;) COLUMN(NAME=&quot;item.descr&quot;) COMPUTE(NAME=&quot;0.000 as quantity_2&quot;) COMPUTE(NAME=&quot;0.000 as quantity_3&quot;) COMPUTE(NAME=&quot;0.000 as quantity_4&quot;) COMPUTE(NAME=&quot;&apos; &apos; as prd_2&quot;) COMPUTE(NAME=&quot;&apos; &apos; as prd_3&quot;) COMPUTE(NAME=&quot;&apos; &apos; as prd_4&quot;) COLUMN(NAME=&quot;salesforecast_det.quantity_org&quot;) JOIN (LEFT=&quot;salesforecast_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; )WHERE( EXP1 =&quot;salesforecast_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve>
<argument>
<name>mtran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Code</text>
<border>6</border>
<color>0</color>
<x>3</x>
<y>4</y>
<height>16</height>
<width>79</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Prd Code</text>
<border>6</border>
<color>0</color>
<x>372</x>
<y>4</y>
<height>16</height>
<width>49</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Description</text>
<border>6</border>
<color>0</color>
<x>86</x>
<y>4</y>
<height>16</height>
<width>283</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>1</alignment>
<text>Quantity</text>
<border>6</border>
<color>0</color>
<x>424</x>
<y>4</y>
<height>16</height>
<width>75</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Unit</text>
<border>6</border>
<color>0</color>
<x>502</x>
<y>4</y>
<height>16</height>
<width>28</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3</x>
<y>2</y>
<height>17</height>
<width>79</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</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>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>372</x>
<y>2</y>
<height>17</height>
<width>49</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__plan</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>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>86</x>
<y>2</y>
<height>17</height>
<width>283</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>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>424</x>
<y>2</y>
<height>17</height>
<width>75</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>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>502</x>
<y>2</y>
<height>17</height>
<width>28</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</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>
<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>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>261</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id</name>
<dbname>salesforecast_hdr.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>salesforecast_hdr.tran_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>salesforecast_hdr.site_code</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__from</name>
<dbname>salesforecast_hdr.prd_code__from</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__to</name>
<dbname>salesforecast_hdr.prd_code__to</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_ser</name>
<dbname>salesforecast_hdr.item_ser</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__aprv</name>
<dbname>salesforecast_hdr.emp_code__aprv</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>salesforecast_hdr.confirmed</dbname>
<initial>N</initial>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>salesforecast_hdr.conf_date</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>salesforecast_hdr.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>salesforecast_hdr.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>salesforecast_hdr.chg_term</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_descr</name>
<dbname>site.descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;salesforecast_hdr&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;salesforecast_hdr.tran_id&quot;) COLUMN(NAME=&quot;salesforecast_hdr.tran_date&quot;) COLUMN(NAME=&quot;salesforecast_hdr.site_code&quot;) COLUMN(NAME=&quot;salesforecast_hdr.prd_code__from&quot;) COLUMN(NAME=&quot;salesforecast_hdr.prd_code__to&quot;) COLUMN(NAME=&quot;salesforecast_hdr.item_ser&quot;) COLUMN(NAME=&quot;salesforecast_hdr.emp_code__aprv&quot;) COLUMN(NAME=&quot;salesforecast_hdr.confirmed&quot;) COLUMN(NAME=&quot;salesforecast_hdr.conf_date&quot;) COLUMN(NAME=&quot;salesforecast_hdr.chg_date&quot;) COLUMN(NAME=&quot;salesforecast_hdr.chg_user&quot;) COLUMN(NAME=&quot;salesforecast_hdr.chg_term&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;site.descr&quot;) JOIN (LEFT=&quot;salesforecast_hdr.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;salesforecast_hdr.emp_code__aprv&quot; ) JOIN (LEFT=&quot;salesforecast_hdr.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )WHERE( EXP1 =&quot;salesforecast_hdr.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve>
<argument>
<name>mtran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Status</text>
<border>2</border>
<color>33554432</color>
<x>13</x>
<y>159</y>
<height>56</height>
<width>526</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>12</x>
<y>14</y>
<height>139</height>
<width>522</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>43</y>
<height>18</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Date:</text>
<border>0</border>
<color>0</color>
<x>250</x>
<y>43</y>
<height>18</height>
<width>63</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>318</x>
<y>43</y>
<height>18</height>
<width>61</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Ser:</text>
<border>0</border>
<color>0</color>
<x>386</x>
<y>43</y>
<height>18</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>447</x>
<y>43</y>
<height>18</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>77</y>
<height>18</height>
<width>108</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period Code From:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>111</y>
<height>18</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__from_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color expression="if (isrownew(),rgb(0,0,0),rgb(255,0,0))">0</color>
<x>140</x>
<y>111</y>
<height>18</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<protect expression="if(isrownew(),0,1)">0</protect>
<name>prd_code__from</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</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>0</mode>
<color expression="if (isrownew(),rgb(255,255,255),long(describe(&quot;sh_descr.background.color&quot;)))">16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period Code To:</text>
<border>0</border>
<color>0</color>
<x>319</x>
<y>111</y>
<height>18</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__to_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>140</x>
<y>43</y>
<height>18</height>
<width>103</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>140</x>
<y>77</y>
<height>18</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>50</tabsequence>
<border>5</border>
<color expression="if (isrownew(),rgb(0,0,0),rgb(255,0,0))">0</color>
<x>430</x>
<y>111</y>
<height>18</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<protect expression="if(isrownew(),0,1)">0</protect>
<name>prd_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</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>0</mode>
<color expression="if (isrownew(),rgb(255,255,255),long(describe(&quot;sh_descr.background.color&quot;)))">16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>207</x>
<y>77</y>
<height>18</height>
<width>300</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approved by:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>179</y>
<height>18</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>140</x>
<y>179</y>
<height>18</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>244</x>
<y>179</y>
<height>18</height>
<width>131</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>379</x>
<y>179</y>
<height>18</height>
<width>128</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</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>79741120</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>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>435</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id</name>
<dbname>salesforecast_det.tran_id</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>salesforecast_det.item_code</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__plan</name>
<dbname>salesforecast_det.prd_code__plan</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__for</name>
<dbname>salesforecast_det.prd_code__for</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>unit</name>
<dbname>salesforecast_det.unit</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>salesforecast_det.quantity</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>salesforecast_det.remarks</dbname>
</table_column>
<table_column>
<type size="130">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_descr</name>
<dbname>item.descr</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_2</name>
<dbname>quantity_2</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_3</name>
<dbname>quantity_3</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_4</name>
<dbname>quantity_4</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_2</name>
<dbname>prd_2</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_3</name>
<dbname>prd_3</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_4</name>
<dbname>prd_4</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity_org</name>
<dbname>salesforecast_det.quantity_org</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;salesforecast_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;salesforecast_det.tran_id&quot;) COLUMN(NAME=&quot;salesforecast_det.item_code&quot;) COLUMN(NAME=&quot;salesforecast_det.prd_code__plan&quot;) COLUMN(NAME=&quot;salesforecast_det.prd_code__for&quot;) COLUMN(NAME=&quot;salesforecast_det.unit&quot;) COLUMN(NAME=&quot;salesforecast_det.quantity&quot;) COLUMN(NAME=&quot;salesforecast_det.remarks&quot;) COLUMN(NAME=&quot;item.descr&quot;) COMPUTE(NAME=&quot;0.000 as quantity_2&quot;) COMPUTE(NAME=&quot;0.000 as quantity_3&quot;) COMPUTE(NAME=&quot;0.000 as quantity_4&quot;) COMPUTE(NAME=&quot;&apos; &apos; as prd_2&quot;) COMPUTE(NAME=&quot;&apos; &apos; as prd_3&quot;) COMPUTE(NAME=&quot;&apos; &apos; as prd_4&quot;) COLUMN(NAME=&quot;salesforecast_det.quantity_org&quot;) JOIN (LEFT=&quot;salesforecast_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; )WHERE( EXP1 =&quot;~&quot;SALESFORECAST_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;SALESFORECAST_DET~&quot;.~&quot;ITEM_CODE~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:item_code&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;SALESFORECAST_DET~&quot;.~&quot;PRD_CODE__PLAN~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:prd_code__plan&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;SALESFORECAST_DET~&quot;.~&quot;PRD_CODE__FOR~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:prd_code__for&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;item_code&quot; TYPE = string) ARG(NAME = &quot;prd_code__plan&quot; TYPE = string) ARG(NAME = &quot;prd_code__for&quot; TYPE = string) </retrieve>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
<argument>
<name>item_code</name>
<type>string</type>
</argument>
<argument>
<name>prd_code__plan</name>
<type>string</type>
</argument>
<argument>
<name>prd_code__for</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>7</x>
<y>19</y>
<height>268</height>
<width>776</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>255</x>
<y>40</y>
<height>43</height>
<width>312</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>120</limit>
<case>any</case>
<autoselect>yes</autoselect>
<autovscroll>yes</autovscroll>
<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>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>143</x>
<y>40</y>
<height>17</height>
<width>107</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>70</tabsequence>
<border>5</border>
<color>0</color>
<x>143</x>
<y>139</y>
<height>18</height>
<width>424</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>60</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>6</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>143</x>
<y>116</y>
<height>18</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<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>9</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>252</x>
<y>116</y>
<height>18</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_2</name>
<visible expression="if(len(trim( prd_2)) &gt;0,1,0)">1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<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>10</id>
<alignment>1</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>361</x>
<y>116</y>
<height>18</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_3</name>
<visible expression="if(len(trim( prd_3)) &gt;0,1,0)">1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<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>11</id>
<alignment>1</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>470</x>
<y>116</y>
<height>18</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_4</name>
<visible expression="if(len(trim( prd_4)) &gt;0,1,0)">1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<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>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>252</x>
<y>163</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_budget_2</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>362</x>
<y>163</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_budget_3</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>470</x>
<y>163</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_budget_4</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>252</x>
<y>184</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_lastyr_2</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>361</x>
<y>184</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_lastyr_3</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>470</x>
<y>184</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_lastyr_4</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>252</x>
<y>205</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_prevyr_2</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>361</x>
<y>205</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_prevyr_3</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>470</x>
<y>205</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_prevyr_4</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>252</x>
<y>226</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_upto_2</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>361</x>
<y>226</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_upto_3</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>470</x>
<y>226</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_upto_4</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>252</x>
<y>247</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_act_sales_2</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>361</x>
<y>247</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_act_sales_3</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>470</x>
<y>247</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_act_sales_4</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>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>143</x>
<y>163</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_budget_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>143</x>
<y>247</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_act_sales_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>143</x>
<y>226</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_upto_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>143</x>
<y>205</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_prevyr_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ComputedField>
<ComputedField>
<band>Detail</band>
<alignment>1</alignment>
<expression>0</expression>
<border>0</border>
<color>16711680</color>
<x>143</x>
<y>184</y>
<height>16</height>
<width>96</width>
<format>[GENERAL]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>c_lastyr_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ComputedField>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>255</color>
<x>143</x>
<y>67</y>
<height>17</height>
<width>39</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>unit</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Actual Sales:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>247</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>act_sales_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Forecast Upto Mon :</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>226</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>upto_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>40</y>
<height>17</height>
<width>111</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period :</text>
<border>6</border>
<color>16711680</color>
<x>591</x>
<y>140</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>period_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Budget for Period:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>163</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>budget_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Remarks:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>140</y>
<height>16</height>
<width>111</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity :</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>118</y>
<height>15</height>
<width>111</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Last Year Sales:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>184</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lastyr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Unit:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>67</y>
<height>16</height>
<width>111</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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Prev Year Sales:</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>205</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prevyr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>0</color>
<x>10</x>
<y>298</y>
<height>45</height>
<width>777</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id:</text>
<border>0</border>
<color>0</color>
<x>40</x>
<y>316</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible expression="0">1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>120</x>
<y>316</y>
<height>16</height>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible expression="0">1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>1</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>16711680</color>
<x>144</x>
<y>93</y>
<height>16</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__plan</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period Code Plan :</text>
<border>0</border>
<color>0</color>
<x>28</x>
<y>93</y>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__plan_t</name>
<visible expression="0">1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>16711680</color>
<x>251</x>
<y>93</y>
<height>16</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_2</name>
<visible expression="if(len(trim( prd_2)) &gt;0,1,0)">1</visible>
<EditStyle style="edit">
<limit>6</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>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>16711680</color>
<x>361</x>
<y>93</y>
<height>16</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_3</name>
<visible expression="if(len(trim( prd_3 )) &gt;0,1,0)">1</visible>
<EditStyle style="edit">
<limit>6</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>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>16711680</color>
<x>470</x>
<y>93</y>
<height>16</height>
<width>96</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_4</name>
<visible expression="if(len(trim( prd_4 )) &gt;0,1,0)">1</visible>
<EditStyle style="edit">
<limit>6</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>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period Code For:</text>
<border>0</border>
<color>0</color>
<x>601</x>
<y>93</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__for_t</name>
<visible expression="0">1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>702</x>
<y>93</y>
<height>17</height>
<width>36</width>
<format>[number]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__for</name>
<visible expression="0">1</visible>
<EditStyle style="edit">
<limit>6</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>
<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>
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