<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/enrgise-html.tld" prefix="enrgise" %>
<html:html>
<HEAD>
    <html:base />
    <TITLE><bean:message key="hrm.title" /></TITLE>
	  <jsp:include page="GenIncludes.jsp" flush="true" />
</HEAD>

<BODY  onkeydown="hotKeys(event);"; scroll=auto>

<html:form name="HrmAprslStartOrderForm" action="HrnAprslStartOrderBaseAction" type="wenrgise.hrms.webtier.form.HrmAprslStartOrderForm">
<bean:define id="ParentForm" name="HrmAprslStartOrderForm" toScope="request" />
<jsp:include page="GenIconMenu.jsp" flush="true" />


<!--Top Most Blue Bar-->
<TABLE cellSpacing=0 bgColor=#bdd0ef>
    <tr>
        <TD  colSpan=12 class=mainHeader ><bean:message  key="hrm.AprslStartOrder.heading" /></TD>
    </TR>
</TABLE>
<!--//  Display Errors -->
<enrgise:errors/>
<logic:messagesPresent message="true">
<Table>
    <html:messages id="message" message="true">
    <TR><TD>
      <bean:write name="message"/>
    </TD></TR>
    </html:messages>      
</Table>
</logic:messagesPresent>
<!--//  Display Errors -->
<TABLE cellSpacing=0 cellPadding=0 border=0 >
    <TR>
        <TD>
        
        <TABLE cellSpacing=0 cellPadding=0 >
        <!--Master Information Starts -->
        
         <TR>
            <TD colspan=6 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
         </TR>
         
           <tr>
            
            <td class=labelText><bean:message key="hrm.AprslStartOrder.stOrderNo" /></td>
            <td><html:text  property="stOrderNo" altKey="hrm.AprslStartOrder.stOrderNo"  maxlength="25" size="23" styleClass="optional" onchange="doChangeHeader();" /><enrgise:img src="../includes/images/lov.jpg" height="16" align="center" property="butStOrderNo" name="HrmAprslStartOrderForm" onclick="ShowStOrderNo();" /></td>
           
          </tr>
         
          <tr>
           
            <td class=labelText><bean:message key="hrm.AprslStartOrder.periodStDate" /></td>
            <td ><html:text  property="periodStDate"  altKey="hrm.AprslStartOrder.periodStDate"  readonly="true"  maxlength="15" size="23" styleClass="required"  onchange="doChangeHeader();"  /><enrgise:img src="../includes/images/cal.gif"  width="15" height="19" align="top" styleClass="icon" name="HrmAprslStartOrderForm" property="butPeriodStDate" onclick="showCalendar('periodStDate',this)" /></td>
            
          <td class=labelText><bean:message key="hrm.AprslStartOrder.periodEndDate" /></td>
           <td ><html:text  property="periodEndDate"  altKey="hrm.AprslStartOrder.periodEndDate" readonly="true"  maxlength="15" size="23" styleClass="required"  onchange="doChangeHeader();"  /><enrgise:img src="../includes/images/cal.gif"  width="15" height="19" align="top" styleClass="icon" name="HrmAprslStartOrderForm" property="butPeriodEndDate" onclick="showCalendar('periodEndDate',this)" /></td>
            
          </tr>
           <tr>
           
            <td class=labelText><bean:message key="hrm.AprslStartOrder.aprslStDate" /></td>
            <td ><html:text  property="aprslStDate"  altKey="hrm.AprslStartOrder.aprslStDate"  readonly="true"  maxlength="15" size="23" styleClass="required"  onchange="doChangeHeader();"  /><enrgise:img src="../includes/images/cal.gif"  width="15" height="19" align="top" styleClass="icon" name="HrmAprslStartOrderForm" property="butAprslStDate" onclick="showCalendar('aprslStDate',this)" /></td>
            
          <td class=labelText><bean:message key="hrm.AprslStartOrder.aprslEndDate" /></td>
           <td ><html:text  property="aprslEndDate"  altKey="hrm.AprslStartOrder.aprslEndDate" readonly="true"  maxlength="15" size="23" styleClass="required"  onchange="doChangeHeader();"  /><enrgise:img src="../includes/images/cal.gif"  width="15" height="19" align="top" styleClass="icon" name="HrmAprslStartOrderForm" property="butAprslEndDate" onclick="showCalendar('AprslEndDate',this)" /></td>
            
          </tr>
          
          
          <tr height=10>
            <td colspan=6></td>
          </tr>
          </table>  
          <table cellspacing=0 cellpadding=0 border=0>
         
              <TD colSpan=6>
              <TABLE cellSpacing=0 cellPadding=0 border=0>
                <TBODY>
                
                     </TBODY>
                      </TABLE>
                      
               
        </TABLE>
      </td>
     </tr>
     
      
  </TABLE>
</td>
</tr>
              <!-- Tab Table Ends -->

      <!-- Bottom Blue Bar -->
       <TR>
            <td>
              <TABLE  cellspacing="0" cellpadding="0" border=0>
                    <tr>
                        <td width=40% align=center bgColor=#4682b4></td>
                        <td  bgColor=#4682b4></td>
                        <td  bgColor=#4682b4></td>                
                        <td bgColor=#4682b4></td>
                        <td align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
                   </TR>
                </table>
            </td>
          </tr>
	
<!-- Container Table Ending Columns Starts-->
    
</TBODY>
</TABLE>

<!-- Container Table Ends -->
<html:hidden name="HrmAprslStartOrderForm" property="screenName" value="HrmAprslStartOrder" />
<html:hidden name="HrmAprslStartOrderForm" property="forwardedPage" />
<html:hidden name="HrmAprslStartOrderForm" property="positionRequested"  />
<html:hidden name="HrmAprslStartOrderForm" property="screenMode" />
<html:hidden name="HrmAprslStartOrderForm" property="headerPrimaryKey"/> 


<html:hidden property="lovKey" name="HrmAprslStartOrderForm"  />
<html:hidden property="txtSearchFields" name="HrmAprslStartOrderForm"  />
<html:hidden property="txtDisplayFields" name="HrmAprslStartOrderForm"  />
<html:hidden property="txtIndex" name="HrmAprslStartOrderForm"  />

<html:hidden property="detailDataChanged" name="HrmAprslStartOrderForm"  />
<html:hidden property="headerDataChanged" name="HrmAprslStartOrderForm"  />
<html:hidden property="firstLoad" name="HrmAprslStartOrderForm"  />

<html:hidden property="userPageRequested" name="HrmAprslStartOrderForm" />
<html:hidden property="userPositionRequested" name="HrmAprslStartOrderForm" />
<html:hidden property="pageRequested" name="HrmAprslStartOrderForm" />
<html:hidden property="stOrderId" name="HrmAprslStartOrderForm" />

<input type="hidden" name="multipleFlag" >

</html:form>
</body>
</html:html>
      
<script language="javascript">

function doQueryMode()
{
  return "HrnAprslStartOrderQueryModeAction.do";
}


function doInsertMode()
{
  return "HrnAprslStartOrderNewModeAction.do";
}


function doExecute()
{
  return "HrnAprslStartOrderGetHeaderAction.do";
}

function doSave()
{
  return "HrnAprslStartOrderSaveAction.do";
  
}

function doDelete()
{
  return "HrnAprslStartOrderDeleteAction.do";
  
}

function doRefresh()
{
  return "HrnAprslStartOrderRefreshAction.do";
  
}

function doPrevHeader()
{
  return "HrnAprslStartOrderGetNextHeaderAction.do"; 
}

function doNextHeader()
{
  return "HrnAprslStartOrderGetNextHeaderAction.do"; 
}

function doJumpHeader()
{
  return "HrnAprslStartOrderFirstGetNextHeaderAction.do"; 
}

function doGetDetail()
{

  return "HrnAprslStartOrderGetDetailAction.do";
}
function doExit()
{

  return "HrnAprslStartOrderExitAction.do";
}

function doAddRow()
{
  return "HrnAprslStartOrderAddRowAction.do"; 
}

function doDelRow()
{
 return "HrnAprslStartOrderDeleteRowAction.do";  
}


function doPrevDetail()
{

  return "HrnAprslStartOrderGetDetailPageAction.do";  
}

function doNextDetail()
{

  return "HrnAprslStartOrderGetDetailPageAction.do";
}

function doJumpDetail()
{
  return  "HrnAprslStartOrderGetDetailPageAction.do"; 
}
/*function doOnLoad()
{
  if(document.forms[0].firstLoad.value!="false")
  {
    return  "HrnAprslStartOrderOnLoadAction.do"; 
  }
}*/
function ShowStOrderNo()
{
        document.forms[0].lovKey.value = "AprslStartOrderNo" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.AprslStartOrder.stOrderNo";
        document.forms[0].txtDisplayFields.value = "stOrderId,stOrderNo";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmAprslStartOrderForm');
        return true;
}

</script>