<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*"%>
<%@ page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*"  %>
<jsp:useBean id="APS300" class="com.csc.library.system.Task" scope="page"/>
<%
	APS300.setChannel(request ,response);
   	ProcessEntry screen=(ProcessEntry)APS300.process("ProcessEntry","Process");
   	screen.process();
	//out.println(request.getParameter("__fileName"));
%>

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../CSS/TISCO.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../JS/SCREEN.js"></script>
<script language="javascript">setLang('<%=screen.getUProfile().get("lang")%>');</script>
<script language="JavaScript" >
	function chkProcess() {
		with (document.cscform) {
			if (__cmd.value=='process_data') {				
				__cmd .value = "save";		
				/*bCon=confirm("Confirm Process ");
				if (bCon==true)	{			
					__cmd .value = "save";							
					submit();
				}*/	
				submit();
			} else {
				action = "APS300.jsp";
				submit();
			}
		}
	}	
//-->
</script>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<form  name="cscform"  method="POST" action="APS300_IMPORT.jsp">


<!----------BEGIN CSC INITIAL ZONE ------------------------>

<%=screen.InitialVariable()%>

<!----------END CSC INITIAL ZONE -------------------------->

	<input type="hidden" name="__screen"  value="APS300_IMPORT">
	<input type="hidden" name="__fixCon"  value="">
	<input type="hidden" name="__cmd"  value="<%=request.getParameter("__cmd")%>">
	<input type="hidden" name="__help"  value="">
	<input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>">
	<input type="hidden" name="__companyid" value='<%=screen.getUProfile().get("companyid")%>'>
	<input type="hidden" name="__tname" value="ระบบประเมินผล">
	<input type="hidden" name="__ename" value="Appraisal">
	<input type="hidden" name="__ptype" value="AP11">
	<input type="hidden" name="__prclass" value="ImportAppraisal">
	<script language="javascript">getInputFormatDate();</script>
	<input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>">		
	<div id="toolTipLayer" style="position:absolute; visibility: hidden"></div>
  	<script language="javascript">initToolTips();</script>
	<input type="hidden" name="__condition$employeeProcess" value='<%=screen.getUProfile().get("employeeid")%>'>
	<input type="hidden" name="__condition$fileName" value="<%=request.getParameter("__fileName")%>">
	<input type="hidden" name="__condition$xmlName" value="IMP_MEMPL_LEAVESUMMARY">
	<input type="hidden" name="__condition$tableImport" value="MEMPL_LEAVESUMMARY">
	<input type="hidden" name="__condition$yearid" value="<%=request.getParameter("__yearid")%>">
	<input type="hidden" name="__condition$rsc_skip" value="true">

</form>
<script language="javascript">
		chkProcess();
</script>
</body>
</html>
