<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <%@page contentType="text/html; charset=UTF-8"%> <%@ page import="com.csc.library.entry.*" %> <%@ page import="com.csc.library.utilities.*,com.csc.library.session.*" %> <jsp:useBean id="PRU128" scope="page" class="com.csc.library.system.Task" /> <% PRU128.setChannel(request ,response); ProcessEntry screen=(ProcessEntry)PRU128.process("ProcessEntry","PCostcenter"); UProfile up=screen.getUProfile(); screen.process(); %> <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 type='text/javascript' src='../JS/SCREEN.js'></script> <script language='javascript'>setLang('<%=screen.getUProfile().get("lang")%>');</script> <script language="javascript">getTitleName();</script> <script language="JavaScript" type="text/JavaScript"> <!-- function process() { with(document.cscform){ bCon=confirm("ต้องการ Process หรือไม่ ?"); if (bCon==true) { __cmd .value = "save"; submit(); } } } function linkHelp_Return(help,input){ with(document.cscform){ var param="PRU125HELP.jsp?__helpName="+help+"&__helpReturn="+input+"&__pageCall="+__screen.value; window.open(param,"Help","left=150,top=150,width=500,height=400,toolbar=no,status=yes,scrollbars=yes,resizable=yes"); } } function goHelp(helpName,inputName){ var helpReturn; if (inputName == "__condition$MEMPLOYEE|1"){ helpReturn = inputName+":employeeid,MEMPLOYEE@EDESC$1"; } else if (inputName == "__condition$MEMPLOYEE|2"){ helpReturn = inputName+":employeeid,MEMPLOYEE@EDESC$2"; } else if(inputName == "__condition$MSALATYPE0|1"){ helpReturn = inputName+":codeid,MSALATYPE0@EDESC$1"; } else if(inputName == "__condition$MSALATYPE0|2"){ helpReturn = inputName+":codeid,MSALATYPE0@EDESC$2"; } else if(inputName == "__condition$MBU1|1"){ helpReturn = inputName+":bu1id,MBU1@EDESC$1"; } else if(inputName == "__condition$MBU1|2"){ helpReturn = inputName+":bu1id,MBU1@EDESC$2"; } else if(inputName == "__condition$MBU2|1"){ helpReturn = inputName+":bu2id,MBU2@EDESC$1"; } else if(inputName == "__condition$MBU2|2"){ helpReturn = inputName+":bu2id,MBU2@EDESC$2"; } else if(inputName == "__condition$MBU3|1"){ helpReturn = inputName+":bu3id,MBU3@EDESC$1"; } else if(inputName == "__condition$MBU3|2"){ helpReturn = inputName+":bu3id,MBU3@EDESC$2"; } else if(inputName == "__condition$MBU4|1"){ helpReturn = inputName+":bu4id,MBU4@EDESC$1"; } else if(inputName == "__condition$MBU4|2"){ helpReturn = inputName+":bu4id,MBU4@EDESC$2"; } else if(inputName == "__condition$MBU5|1"){ helpReturn = inputName+":bu5id,MBU5@EDESC$1"; } else if(inputName == "__condition$MBU5|2"){ helpReturn = inputName+":bu5id,MBU5@EDESC$2"; } linkHelp_Return(helpName,helpReturn); } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> function checkAll(){ with(document.cscform){ for(i=0;i<elements.length;i++){ if(elements[i].type=="checkbox") elements[i].checked=true; }//end for }//end with }//end function function decheckAll(){ with(document.cscform){ for(i=0;elements.length;i++){ if(elements[i].type=="checkbox") elements[i].checked=false; }//end for }//end with }//end function </script> <link href="CSS/MENU.css" rel="stylesheet" type="text/css"> </head> <body leftmargin="0" topmargin="0" onLoad="MM_preloadImages('../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif')"> <div id="toolTipLayer" style="position:absolute; visibility: hidden"></div> <script language="javascript">initToolTips();</script> <div class="centered"> <form name="cscform" method="post" action=""> <!----------BEGIN CSC INITIAL ZONE ------------------------> <%=screen.InitialVariable()%> <!----------END CSC INITIAL ZONE --------------------------> <input type="hidden" name="__screen" value="PRU128"> <input type="hidden" name="__fixCon" value="companyid='<%=screen.getUProfile().get("companyid")%>'"> <input type="hidden" name="__tname" value="ระบบเงินเดือน"> <input type="hidden" name="__ename" value="Payroll"> <input type="hidden" name="__cmd" value=""> <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="__name" value="Process Costcenter"> <input type="hidden" name="__ptype" value=""> <input type="hidden" name="__prclass" value="PCostCenter"> <input type="hidden" name="__language" value="<%=screen.getUProfile().get("lang")%>"> <div align="center"> <br> <table width="642" cellpadding="0" cellspacing="0" > <tr> <td width="640" colspan="7" class="header" >PRU128, <script language="javascript">swapLang('Cost Center Generation');</script> </td> </tr> <tr> <td> <table width="617" border="0" cellpadding="0" cellspacing="0 "id="rsTable" name="rsTable" cols=7 class="row1"> <tr> <td width="86" height="21" class="forborder"> <div align="right"><script language="javascript">swapLang('Employee ID');</script> </div></td> <td width="531" class="forborder"><input name="__condition$MEMPLOYEE|1" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MEMPLOYEEHELP','__condition$MEMPLOYEE|1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image151111','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="HELP" name="Image151111" border="0" align="absmiddle" id="Image151"></a> <input name="__condition$MEMPLOYEE|2" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MEMPLOYEEHELP','__condition$MEMPLOYEE|2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16332','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Search" name="Image16332" border="0" align="absmiddle" id="Image163"></a></td> </tr> <tr> <td width="86" height="21" class="forborder"> <div align="right"><script language="javascript">swapLang('Salary Type');</script> </div></td> <td width="531" class="forborder"><input name="__condition$MSALATYPE0|1" type="text" size="10" maxlength="10"> <a href="javascript:goHelp('MSALATYPE0HELP','__condition$MSALATYPE0|1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15111','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="HELP" name="Image15111" border="0" align="absmiddle" id="Image151"></a><input name="MSALATYPE0@EDESC$1" type="text" size="25" maxlength="30" disabled> <input name="__condition$MSALATYPE0|2" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MSALATYPE0HELP','__condition$MSALATYPE0|2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16332','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Search" name="Image16332" border="0" align="absmiddle" id="Image163"></a><input name="MSALATYPE0@EDESC$2" type="text" size="25" maxlength="30" disabled></td> </tr> <tr> <td height="21" class="forborder"> <div align="right"><script language="javascript">swapLang('BU 1');</script> </div></td> <td class="forborder"><input name="__condition$MBU1|1" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU1HELP','__condition$MBU1|1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1511','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="HELP" name="Image1511" border="0" align="absmiddle" id="Image151"></a><input name="MBU1@EDESC$1" type="text" size="25" maxlength="30" disabled> <input name="__condition$MBU1|2" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU1HELP','__condition$MBU1|2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image163321','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Search" name="Image163321" border="0" align="absmiddle" id="Image163"></a><input name="MBU1@EDESC$2" type="text" size="25" maxlength="30" disabled></td> </tr> <tr> <td height="21" class="forborder"> <div align="right"><script language="javascript">swapLang('BU 2');</script> </div></td> <td class="forborder"><input name="__condition$MBU2|1" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU2HELP','__condition$MBU2|1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1512','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="HELP" name="Image1512" border="0" align="absmiddle" id="Image151"></a><input name="MBU2@EDESC$1" type="text" size="25" maxlength="30" disabled> <input name="__condition$MBU2|2" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU2HELP','__condition$MBU2|2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image163322','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Search" name="Image163322" border="0" align="absmiddle" id="Image163"></a><input name="MBU2@EDESC$2" type="text" size="25" maxlength="30" disabled></td> </tr> <tr> <td height="21" class="forborder"> <div align="right"><script language="javascript">swapLang('BU 3');</script> </div></td> <td class="forborder"><input name="__condition$MBU3|1" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU3HELP','__condition$MBU3|1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1513','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="HELP" name="Image1513" border="0" align="absmiddle" id="Image151"></a><input name="MBU3@EDESC$1" type="text" size="25" maxlength="30" disabled> <input name="__condition$MBU3|2" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU3HELP','__condition$MBU3|2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image163323','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Search" name="Image163323" border="0" align="absmiddle" id="Image163"></a><input name="MBU3@EDESC$2" type="text" size="25" maxlength="30" disabled></td> </tr> <tr> <td height="21" class="forborder"> <div align="right"><script language="javascript">swapLang('BU 4');</script> </div></td> <td class="forborder"><input name="__condition$MBU4|1" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU4HELP','__condition$MBU4|1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1514','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="HELP" name="Image1514" border="0" align="absmiddle" id="Image151"></a><input name="MBU4@EDESC$1" type="text" size="25" maxlength="30" disabled> <input name="__condition$MBU4|2" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU4HELP','__condition$MBU4|2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image163324','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Search" name="Image163324" border="0" align="absmiddle" id="Image163"></a><input name="MBU4@EDESC$2" type="text" size="25" maxlength="30" disabled></td> </tr> <tr> <td height="21" class="forborder"> <div align="right"><script language="javascript">swapLang('BU 5');</script> </div></td> <td class="forborder"><input name="__condition$MBU5|1" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU5HELP','__condition$MBU5|1');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1515','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="HELP" name="Image1515" border="0" align="absmiddle" id="Image151"></a><input name="MBU5@EDESC$1" type="text" size="25" maxlength="30" disabled> <input name="__condition$MBU5|2" type="text" size="10" maxlength="10" > <a href="javascript:goHelp('MBU5HELP','__condition$MBU5|2');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image163325','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Search" name="Image163325" border="0" align="absmiddle" id="Image163"></a><input name="MBU5@EDESC$2" type="text" size="25" maxlength="30" disabled></td> </tr> <tr> <td colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%" colspan="2" class="blankspace"></td> </tr> <tr> <td colspan="2"><div align="center"><a href="javascript:process();"><img src="../IMAGES/BUTTON/PROCESS.gif" border="0"></a></div></td> </tr> <tr> <td colspan="2" class="blankspace"></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td class="bottom" > </td> </tr> </table> </div> <!----------BEGIN CSC ENDING ZONE ------------------------> <%=screen.endJSP()%> <!----------END CSC ENDING ZONE --------------------------> </form> </body> </html>