Commit 9b53c91a authored by cpatil's avatar cpatil

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101393 ce508802-f39f-4f6c-b175-0d175dae99d5
parent eb243791
This source diff could not be displayed because it is too large. You can view the blob instead.
<%@page import = "java.lang.*,java.util.*, ibase.webitm.ejb.mfg.RunMrpBomPopHelpBean"%>
<%
System.out.println("@@@@@@@@@ In RunMrpBomPopHelpBean jsp @@@@@@@@@@@@@@@@ ");
RunMrpBomPopHelpBean bomWizardBean = new RunMrpBomPopHelpBean();
String itemCode = ( String ) request.getParameter("item_code");
System.out.println("itemCode=="+itemCode);
String siteCode = ( String ) request.getParameter("site_code");
System.out.println("siteCode=="+siteCode);
String dbID = ( String ) request.getParameter("dbID");
System.out.println(" dbID=="+dbID);
String htmlData = bomWizardBean.getBomCodeList( itemCode ,siteCode, dbID );
System.out.println("htmlData=="+htmlData);
%>
<%=htmlData%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ page import="java.io.*" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.net.*" %>
<%@ page import="ibase.webitm.bean.wiz.*" %>
<%@ page import="ibase.utility.*" %>
<%@ page import="ibase.webitm.servlet.ITMWizardHandlerServlet" %>
<%@page pageEncoding="utf-8"%>
<%@page contentType="text/html;charset=utf-8"%>
<%
//Changed by Danish on 05/01/2007
response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
response.setHeader("Cache-Control", "no-store, no-cache,must-revalidate");
response.addHeader("Cache-Control", "post-check=0, pre-check=0");
response.setHeader("Pragma", "no-cache");
%>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="../js/ITMWizard.js"></script>
</HEAD>
<%
String htmlData = "";
//Changed By Pragyan [WS90SUN041] To Support html wizard calling from other source 6/24/2010
HashMap dataMap = new HashMap();
try
{
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )session.getAttribute( "USER_INFO" );
if( userInfo == null )
{
out.println("Your session has been expired. Please re-login.");
}
String objName = request.getParameter("OBJ_NAME");
String formType = request.getParameter("formType");//Type of form
//Changed by Dayanand on 14/07/10[WI90SUN009|| Remove ITMWizard instance on close, close all and close other]
String editorId = request.getParameter("EDITOR_ID");
//Changed By Pragyan [WS90SUN041] To Support html wizard calling from other source 6/24/2010.start
String directAcc = ( request.getParameter( "DIRECT_ACC" ) != null ) ? request.getParameter( "DIRECT_ACC" ) : "Y";
ITMWizardBean itmWizardBean = new ITMWizardBean( objName, request.getSession() );
request.getSession().setAttribute( "WIZARD_BEAN_" + objName, itmWizardBean );
//Changes made to support the add and edit functionality on 01/07/13
String PkValues = request.getParameter("REF_ID");
System.out.println( "PkValues = " + PkValues );
String editFlag = request.getParameter("EDIT_FLAG");
System.out.println( "editFlag = " + editFlag );
if(editFlag != null && editFlag.trim().length() > 0 && "A".equalsIgnoreCase(editFlag))
{
PkValues = "";
}
if ( editFlag != null && "E".equalsIgnoreCase(editFlag.trim()) && (PkValues == null || "null".equalsIgnoreCase(PkValues.trim()) || PkValues.trim().length() == 0) )
{
%>
<script LANGUAGE="JavaScript">
alert('Please Select The Transaction To Edit');
window.close();
</script>
<%
}
else
{//End Changes made by Gulzar on 01/07/13
//Changed by Dayanand on 14/07/10[WI90SUN009|| Remove ITMWizard Instance on close, close all and close other]start
if( editorId != null )
{
request.getSession().setAttribute( "WIZARD_BEAN_"+editorId, itmWizardBean );
}
//Changed by Dayanand on 14/07/10[WI90SUN009|| Remove ITMWizard Instance on close, close all and close other]end
//Changed By Pragyan [WS90SUN041] To Support html wizard calling from other source 6/24/2010.start
//htmlData = itmWizardBean.callEventManager( "default_data_wiz", "1", "", null, null, formType, "false" );
if(directAcc.equalsIgnoreCase("Y"))
{
//Commented Changes made to support the add and edit functionality on 01/07/13
//htmlData = itmWizardBean.callEventManager( "default_data_wiz", "1", "", null, null, formType, "false" );
htmlData = itmWizardBean.callEventManager( "default_data_wiz", "1", "", null, null, formType, "false", PkValues );
//End Changes made by Gulzar on 01/07/13
}
else
{
java.util.Enumeration enumNames = request.getParameterNames();
while(enumNames.hasMoreElements())
{
String paramName =(String)enumNames.nextElement();
String paramValue = request.getParameter(paramName);
System.out.println("paramName["+paramName+"]paramValue["+paramValue+"]");
dataMap.put(paramName,paramValue);
}
htmlData = itmWizardBean.getFormsHTMLData("1",null,dataMap);
}
//Changed By Pragyan [WS90SUN041] To Support html wizard calling from other source 6/24/2010.end
}
}
catch( Exception e)
{
e.printStackTrace();
}
%>
<div id="detailData">
<%=htmlData%>
</DIV>
\ No newline at end of file
<%@page import = "java.lang.*,java.util.*, ibase.utility.*, java.io.* , ibase.webitm.utility.ITMException"%>
<jsp:useBean id="MRPWizardAllocateQtyBean" class="ibase.webitm.ejb.mfg.MRPWizardAllocateQtyBean" scope="session"></jsp:useBean>
<script type="text/javascript" language="javascript" src="/ibase/webitm/js/MRPWizard.js"></script>
<html>
<!-- <body onload="allocateQuantity()"> -->
<body onload="allocateQuantity()">
<form >
<%
System.out.println("@@@@@@@@@ In MRPWizardAllocateQty.jsp @@@@@@@@@@@@@@@@");
// StrgMeetWizardBean itmWizardBean = new StrgMeetWizardBean();
System.out.println("request.getParameter(\"SAVE_SAMPLE_DATA\") "+request.getParameter("SAVE_SAMPLE_DATA"));
System.out.println("request.getParameter(\"LOC_GROUP\") "+request.getParameter("LOC_GROUP"));
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean)request.getSession().getAttribute("USER_INFO");
String chgUser = userInfo.getLoginCode();
String chgTerm = request.getRemoteHost();
System.out.println("chgUser["+ chgUser + "] chgTerm["+ chgTerm +"]" );
// StrgCode passed for future implementation of strgCustmer wise itemList
String locGroup = ( String ) request.getParameter("LOC_GROUP");
String qtyReq = ( String ) request.getParameter("QTY_REQ");
String dbId = ( String ) request.getParameter("dbId");
String dueDate = ( String ) request.getParameter("dueDate");
String currentSorder = ( String ) request.getParameter("currentSorder");
String currentItemCode = ( String ) request.getParameter("currentItemCode");
String saveSampleData = ( String ) request.getParameter("SAVE_SAMPLE_DATA");
String selectedSampleData = ( String ) request.getParameter("SELECTED_SAMPLE_ITEMS");// div_data
//String xslFileName = getXSLFileName("mrp_run_wiz4_wiz_en_US_A.xsl");
System.out.println("@@@@@@@@@@@@dbId["+dbId+"]locGroup["+locGroup+"]qtyReq["+qtyReq+"]dueDate["+dueDate+"]currentSorder["+currentSorder+"]currentItemCode["+currentItemCode+"]saveSampleData["+saveSampleData+"]selectedSampleData["+selectedSampleData+"]");
//String htmlData = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, selectedSampleItems, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
// String htmlData = MRPWizardBean.getSalesPersSampleItemList( salesPers, strgCode, selectedItems, selectedSampleItems );
String tempXml = MRPWizardAllocateQtyBean.mrpwizardAllocateQty(selectedSampleData,locGroup ,qtyReq, dueDate, currentSorder,currentItemCode);
System.out.println("@@@@@@@@@@@@complete---dbId["+dbId+"]-dueDate["+dueDate+"]--tempXml["+tempXml+"]--------");
%>
<input type="hidden" id="allocateXml" name="allocateXml" value = "<%=tempXml%>" />
<input type="hidden" id="dbId" name="dbId" value = "<%=dbId%>" />
<input type="hidden" id="dbId" name="dueDate" value = "<%=dueDate%>" />
</form>
</body>
</html>
\ No newline at end of file
<%@page import = "java.lang.*,java.util.*, ibase.utility.*, java.io.* , ibase.webitm.utility.ITMException"%>
<%!
private String getXSLFileName( String xslFileName )throws ITMException
{
String retFileName = null;
try
{
String defaultPath = null;
if( CommonConstants.APPLICATION_CONTEXT != null )
{
defaultPath = CommonConstants.APPLICATION_CONTEXT + CommonConstants.ITM_CONTEXT + File.separator;
}
else
{
defaultPath = ".." + File.separator + "webapps" + File.separator + "ibase" + File.separator + CommonConstants.ITM_CONTEXT + File.separator;
}
File xslPath = new File( defaultPath + File.separator + "xsl" + File.separator + CommonConstants.THEME + File.separator + "WIZARD");
if ( !xslPath.exists() )
{
xslPath.mkdir();
}
System.out.println( " xslPath [" + xslPath +"] xslFileName ["+xslFileName +"]");
File xslFile = new File(xslPath , xslFileName);
if( xslFile.exists() )
{
retFileName = xslFile.getAbsolutePath();
}
else
{
throw new ITMException( new Exception( retFileName + " Wizard XSL file Not Found") );
}
}
catch (Exception e)
{
throw new ITMException(e);
}
return retFileName;
}
%>
<%
System.out.println("@@@@@@@@@ In ITMWizardSampleItems.jsp @@@@@@@@@@@@@@@@");
// StrgMeetWizardBean itmWizardBean = new StrgMeetWizardBean();
System.out.println("request.getParameter(\"SELECTED_ITEM\") "+request.getParameter("SELECTED_ITEM"));
System.out.println("request.getParameter(\"SELECTED_SAMPLE_ITEMS\") "+request.getParameter("SELECTED_SAMPLE_ITEMS"));
// StrgCode passed for future implementation of strgCustmer wise itemList
// String salesPers = ( String ) request.getParameter("SALES_PERS");
// String strgCode = ( String ) request.getParameter("STRG_CODE");
//String selectedItems = ( String ) request.getParameter("SELECTED_ITEM");
String selectedSampleItems = ( String ) request.getParameter("SELECTED_SAMPLE_ITEMS");
String xslFileName = getXSLFileName("mrp_run_wiz4_wiz_en_US_A.xsl");
String htmlData = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, selectedSampleItems, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
// String htmlData = MRPWizardBean.getSalesPersSampleItemList( salesPers, strgCode, selectedItems, selectedSampleItems );
%>
<%=htmlData%>
<%@page import = "java.lang.*,java.util.*, ibase.utility.*, java.io.* , ibase.webitm.utility.ITMException"%>
<jsp:useBean id="mrpWizPrsSave" class="ibase.webitm.ejb.mfg.MrpWizPrsSaveBean" scope="session"></jsp:useBean>
<%
System.out.println("@@@@@@@@@ In MRPWizardSaveSample.jsp @@@@@@@@@@@@@@@@");
// StrgMeetWizardBean itmWizardBean = new StrgMeetWizardBean();
//System.out.println("request.getParameter(\"SELECTED_ITEM\") "+request.getParameter("SELECTED_ITEM"));
System.out.println("request.getParameter(\"SAVE_SAMPLE_DATA\") "+request.getParameter("SAVE_SAMPLE_DATA"));
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean)request.getSession().getAttribute("USER_INFO");
String chgUser = userInfo.getLoginCode();
String chgTerm = request.getRemoteHost();
System.out.println("chgUser["+ chgUser + "] chgTerm["+ chgTerm +"]" );
// StrgCode passed for future implementation of strgCustmer wise itemList
// String salesPers = ( String ) request.getParameter("SALES_PERS");
// String strgCode = ( String ) request.getParameter("STRG_CODE");
//String selectedItems = ( String ) request.getParameter("SELECTED_ITEM");
String saveSampleData = ( String ) request.getParameter("SAVE_SAMPLE_DATA");
String sorderList = ( String ) request.getParameter("sorderList");
//String divData = ( String ) request.getParameter("div_data");// div_data
//String xslFileName = getXSLFileName("mrp_run_wiz4_wiz_en_US_A.xsl");
System.out.println("@@@@@@@@@@@@sorderList["+sorderList+"]saveSampleData["+saveSampleData+"]");
//String htmlData = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, selectedSampleItems, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
// String htmlData = MRPWizardBean.getSalesPersSampleItemList( salesPers, strgCode, selectedItems, selectedSampleItems );
mrpWizPrsSave.preSaveForm(saveSampleData,chgUser,chgTerm,sorderList);
System.out.println("@@@@@@@@@@@@complete--------------");
%>
<%@page import = "java.lang.*,java.util.*, ibase.utility.*, java.io.* , ibase.webitm.utility.ITMException"%>
<jsp:useBean id="MRPWizardXmlDataBean" class="ibase.webitm.ejb.mfg.MRPWizardXmlDataBean" scope="session"></jsp:useBean>
<%!
private String getXSLFileName( String xslFileName )throws ITMException
{
String retFileName = null;
try
{
String defaultPath = null;
if( CommonConstants.APPLICATION_CONTEXT != null )
{
defaultPath = CommonConstants.APPLICATION_CONTEXT + CommonConstants.ITM_CONTEXT + File.separator;
}
else /// mrp_run_wiz4_wiz_en_US_A.xsl
{
defaultPath = ".." + File.separator + "webapps" + File.separator + "ibase" + File.separator + CommonConstants.ITM_CONTEXT + File.separator;
}
File xslPath = new File( defaultPath + File.separator + "xsl" + File.separator + CommonConstants.THEME + File.separator + "WIZARD");
if ( !xslPath.exists() )
{
xslPath.mkdir();
}
System.out.println( " xslPath [" + xslPath +"] xslFileName ["+xslFileName +"]");
File xslFile = new File(xslPath , xslFileName);
if( xslFile.exists() )
{
retFileName = xslFile.getAbsolutePath();
}
else
{
throw new ITMException( new Exception( retFileName + " Wizard XSL file Not Found") );
}
}
catch (Exception e)
{
throw new ITMException(e);
}
return retFileName;
}
%>
<%
System.out.println("@@@@@@@@@ In ITMWizardSampleItems.jsp @@@@@@@@@@@@@@@@");
System.out.println("request.getParameter(\"SELECTED_ITEM\") "+request.getParameter("SELECTED_ITEM"));
System.out.println("request.getParameter(\"SELECTED_SAMPLE_ITEMS\") "+request.getParameter("SELECTED_SAMPLE_ITEMS"));
String selectedSampleItems = ( String ) request.getParameter("SELECTED_SAMPLE_ITEMS");
System.out.println("@@@@@@@@@ calling MRPWizardXmlDataBean selectedSampleItems["+selectedSampleItems+"]");
String htmlData1 = MRPWizardXmlDataBean.getXmlData( selectedSampleItems );
System.out.println("@@@@@@@@@finish MRPWizardXmlDataBean[htmlData1["+htmlData1+"]]");
String xslFileName = getXSLFileName("mrp_run_wiz3_wiz_en_US_A.xsl");
String htmlData = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, htmlData1, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
System.out.println("@@@@@@@@@finish htmlData["+htmlData+"]]");
%>
<%=htmlData%>
<%@page import = "java.lang.*,java.util.*, ibase.webitm.ejb.mfg.RunMrpOthersDetails"%>
<%
System.out.println("@@@@@@@@@ In othersDetailInfo jsp @@@@@@@@@@@@@@@@");
RunMrpOthersDetails runMrpOthersDetails = new RunMrpOthersDetails();
String refDetails = ( String ) request.getParameter("refDetails");
String currentSOrder = ( String ) request.getParameter("current_sorder");
System.out.println("refDetails==["+refDetails+"]currentSOrder["+currentSOrder+"]");
String htmlData = runMrpOthersDetails.getOthersDetails( refDetails , currentSOrder );
System.out.println("htmlData=="+htmlData);
%>
<%=htmlData%>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<script language="JavaScript" type="text/javascript">
<![CDATA[
var maxId = 0;
function gotBlur(obj)
{
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
}
}
function gotFocus( column )
{
objCur=column.name;
oldVal=column.value;
}
function upperCase(fieldId)
{
var fieldValue = document.getElementById(fieldId).value;
document.getElementById(fieldId).value = fieldValue.toUpperCase();
}
function setItemFromPophelp()
{
var seldbID ="";
for( dbID = 1; dbID <= maxId; dbID++)
{
if( document.getElementById("DetailActCode."+dbID+".selectbox").value == 'true' )
{
seldbID = dbID;
bomCode = document.getElementById("DetailActCode."+dbID+".BOM_CODE").value;
bomCOdeDescr = document.getElementById("DetailActCode."+dbID+".BOM_CODE_DESCR").value;
detail2dom= document.getElementById("DetailActCode."+dbID+".DOMID").value;
}
}
if( bomCode == "" )
{
alert("No Selection Made ! \nPlease Select itemCode !");
}
else
{
window.opener.setBomCode(seldbID, bomCode,detail2dom);
window.close();
}
}
function setChecked( obj )
{
for( dbID = 1; dbID <= maxId; dbID++)
{
objCurr = document.getElementById("DetailActCode."+dbID+".selectbox");
if( objCurr.value == 'true' )
{
objCurr.value ='false';
objCurr.checked = false;
}
}
if( obj.value == 'false' )
{
obj.value ='true';
obj.checked = true;
}
else
{
obj.value = 'false';
obj.checked = false;
}
}
]]>
</script>
<body>
<style type="text/css">
.tableClass
{margin-left:0px;margin-top:0px}
.header_td
{border:inset 0;background:#FFCCCC;font-family:verdana;font-size:9pt}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
.td_leftAlign
{background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.td_rightAlign
{background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
</style>
<form name="Wizard_Activity" action="/ibase/webitm/jsp/Bompophelp.jsp" method="post">
<table class="tableClass" border="0" cellspacing="1" cellpadding="1">
<tr>
<td class="header_td" nowrap="true" valign="bottom" width="2%">
</td>
<!-- <td class="header_td" nowrap="true" valign="bottom" width="75%">
<strong>Item </strong>
</td> -->
<td class="header_td" nowrap="true" valign="bottom" width="20%">
<strong>Bom Code</strong>
</td>
<td class="header_td" nowrap="true" valign="bottom" width="20%">
<strong>Bom Code Description</strong>
</td>
</tr>
<xsl:for-each select="//BOM">
<xsl:variable name="BOM_CODE"><xsl:value-of select="BOM_CODE"/></xsl:variable>
<xsl:variable name="BOM_CODE_DESCR"><xsl:value-of select="BOM_CODE_DESCR"/></xsl:variable>
<xsl:variable name="DOMID"><xsl:value-of select="DOMID"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<SCRIPT>
<![CDATA[ var qtyR ; qtyR ="]]> <xsl:value-of select="$dbID"/>
<![CDATA[";maxId= qtyR; ]]>
</SCRIPT>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<tr>
<td class="td_leftAlign">
<xsl:choose>
<xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" name="selectbox" id="DetailActCode.{normalize-space($dbID)}.selectbox" value="false" onClick="setChecked(this)"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_leftAlign">
<xsl:value-of select="BOM_CODE"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.BOM_CODE" id = "DetailActCode.{normalize-space($dbID)}.BOM_CODE" value="{normalize-space($BOM_CODE)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="BOM_CODE_DESCR"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.BOM_CODE_DESCR" id = "DetailActCode.{normalize-space($dbID)}.BOM_CODE_DESCR" value="{normalize-space($BOM_CODE_DESCR)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.DOMID" id = "DetailActCode.{normalize-space($dbID)}.DOMID" value="{normalize-space($DOMID)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</tr>
</xsl:for-each>
</table>
<table cellSpacing="1" cellPadding="1" width="50%" border="0">
<tr>
<td>
<input type="hidden" value="1" name="FORM_NO" />
<input type="hidden" value="mrp_run_wiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type ="button" value=" Add " title='' onclick="javascript:setItemFromPophelp()"/>
<input type ="button" value="Cancel" title='' onclick="window.close()"/>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body>
<style type="text/css">
.tableClass
{margin-left:0px;margin-top:0px}
.header_td
{border:inset 0;background:#FFCCCC;font-family:verdana;font-size:9pt}
.input_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.input_num_editable
{border:inset 2;color:#102132;background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
.td_leftAlign
{background:#D7E5F9;text-align:left;font-family:verdana;font-size:9pt}
.td_rightAlign
{background:#D7E5F9;text-align:right;font-family:verdana;font-size:9pt}
</style>
<form name="Wizard_Activity" action="/ibase/webitm/jsp/othersDetailInfo.jsp" method="post">
<table class="tableClass" border="0" cellspacing="1" cellpadding="1">
<tr>
<td class="header_td" nowrap="true" valign="bottom" width="20%">
<strong>Sale Order</strong>
</td>
<td class="header_td" nowrap="true" valign="bottom" width="20%">
<strong>Item Code</strong>
</td>
<td class="header_td" nowrap="true" valign="bottom" width="20%">
<strong>Demand</strong>
</td>
<td class="header_td" nowrap="true" valign="bottom" width="20%">
<strong>Due Date</strong>
</td>
</tr>
<xsl:for-each select="//OTHERSDETAILS">
<xsl:sort select="SALE_ORDER" />
<xsl:variable name="SALE_ORDER"><xsl:value-of select="SALE_ORDER"/></xsl:variable>
<xsl:variable name="LINE_NO"><xsl:value-of select="LINE_NO"/></xsl:variable>
<xsl:variable name="DEMAND"><xsl:value-of select="DEMAND"/></xsl:variable>
<xsl:variable name="DUE_DATE"><xsl:value-of select="DUE_DATE"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<tr>
<td class="td_leftAlign">
<xsl:value-of select="SALE_ORDER"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.SALE_ORDER" id = "DetailActCode.{normalize-space($dbID)}.SALE_ORDER" value="{normalize-space($SALE_ORDER)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="LINE_NO"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.LINE_NO" id = "DetailActCode.{normalize-space($dbID)}.LINE_NO" value="{normalize-space($LINE_NO)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign" style="text-align:right">
<xsl:value-of select="format-number(DEMAND, '######.000')" />
<input type="hidden" name="Detail4.{normalize-space($dbID)}.DEMAND" id = "DetailActCode.{normalize-space($dbID)}.DEMAND" value="{normalize-space($DEMAND)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="DUE_DATE"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.DUE_DATE" id = "DetailActCode.{normalize-space($dbID)}.DUE_DATE" value="{normalize-space($DUE_DATE)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
</tr>
</xsl:for-each>
</table>
<table cellSpacing="1" cellPadding="1" width="50%" border="0">
<tr>
<td>
<input type="hidden" value="1" name="FORM_NO" />
<input type="hidden" value="mrp_run_wiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type ="button" value="Cancel" title='' onclick="window.close()"/>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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