<!-- #include file="../../../include.asp" --> <% '<!-- '################################################ ' 名称 :集計マスター勘定科目設定 ' 作成日 :2009/6/15 ' 作成者 :小野 ' 目的 :勘定科目と集計マスターの連動設定 ' 概要 :とりあえず非利用(^^;;; '################################################ '--> %> <% main() Sub main() If Not(SessionCheck()) Then Exit Sub End If Dim PageType PageType = "" Dim TyohyoKubun, KanriKubun TyohyoKubun = Request("TyohyoKubun") KanriKubun = Request("KanriKubun") Dim RouteType RouteType = Request("RouteType") Dim GyoshuKubun GyoshuKubun = Request("GyoshuKubun") If GyoshuKubun = "" Then GyoshuKubun = "S" End If Dim SaimokuKubun SaimokuKubun = Request("SaimokuKubun") If SaimokuKubun = "" Then SaimokuKubun = "%" End If %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Expires" content="-1"> <link href="../../../binx/sj3tyoboblack.css?<% = TimeUniq() %>" rel="stylesheet" type="text/css"> <link href="../../../binx/sj3web.css?<% = TimeUniq() %>" rel="stylesheet" type="text/css"> <title><% = AppTitle %></title> <script language="JScript" src="../../../include.js?<% = TimeUniq() %>"></script> <script language="JScript" src="../../../includesj.js?<% = TimeUniq() %>"></script> <script language="JScript.Encode" src="../../../include_enc.js?<% = TimeUniq() %>"></script> <script language="JScript.Encode" src="../../../includesj_enc.js?<% = TimeUniq() %>"></script> <script type=""text/javascript"" src="../../../javascript.js?<% = TimeUniq() %>"></script> </head> <SCRIPT LANGUAGE="JavaScript"> <!-- HomeAlias = "<% = HomeAlias %>"; HomeAliasSL = "<% = HomeAliasSL %>"; ExitFlg = 1; --> </SCRIPT> <body onkeydown="if(ExitFlg==2)ExitFlg=3;" onBeforeUnload="window.event.returnValue = ExitMsg(ExitFlg)" bgcolor="#5C70B6" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <% If InStr(RouteType, "HojyoboOnly") > 0 Or InStr(RouteType, "ViewOnly") > 0 Then Response.Write(HtmlDesign(2)) Else Response.Write(HtmlDesign(1)) End If If GB_Admin >= 1 Then Response.Write(HttpL1(4)) Else Response.Write(HttpL1(3)) End If If GB_Admin >= 1 Then Response.Write(HttpL2("運用管理メニュー" ,"tblbtn( '/" & HomeAlias & "/admin/admenu_w.asp')", "マスター管理", "tblbtn( '/" & HomeAlias & "/admin/master/fm_master_select.asp')", "集計マスター", "", "", "", "", "", "", "")) Response.Write(HttpL3_2("修正", "tblbtn( 'fm_syukei.asp?TyohyoKubun=" & TyohyoKubun & "')", "", "", "", "", "", "", "", "")) ElseIf InStr(KanriKubun, "kanri") > 0 Then Response.Write(HttpL2("運用管理メニュー" ,"tblbtn( '/" & HomeAlias & "/admin/admenu_w.asp')", "マスター管理", "tblbtn( '/" & HomeAlias & "/admin/master/fm_master_select.asp')", "集計マスター", "", "", "", "", "", "", "")) Response.Write(HttpL3_2("修正", "tblbtn( 'fm_syukei.asp?TyohyoKubun=" & TyohyoKubun & "')", "", "", "", "", "", "", "", "")) Else Response.Write(HttpL2("会社選択" ,"tblbtn( '/" & HomeAlias & "/user/bk/')", GB_GyosyuMeisyo, "tblbtn( '/" & HomeAlias & "/user/bk/menu_" & GB_Gyosyu & ".asp')", "社長室・総務部", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s4.asp')", "マスター照会", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s43.asp')", "集計マスター", "", "", "")) Response.Write(HttpL3_2("", "", "", "", "", "", "", "", "", "")) End If Response.Write(HttpL3_1("", "", "", "", "", "", "", "", "", "")) Dim Label If TyohyoKubun = "G" Then Label = "製造原価報告書" ElseIf InStr(TyohyoKubun, "P") > 0 Then Label = "損益計算書" ElseIf InStr(TyohyoKubun, "B") > 0 Then Label = "貸借対照表" Else Label = "キャッシュフロー" End If Response.Write(HttpL4("科目集計先設定", Label)) %> <div id="L0" style="position: absolute; visibility: hidden; left: 0px; top: -2000px;"> <TABLE BORDER="0" CELLSPACING="5" CELLPADDING="15" BGCOLOR="#FFFFFF" STYLE="BORDER:1px solid #000000" WIDTH="660" HEIGHT="100%"> <TR> <TD ALIGN="CENTER"> <TABLE WIDTH="600" BORDER="0" CELLSPACING="0" CELLPADDING="0" HEIGHT="100%"> <TR> <TD HEIGHT="20" VALIGN="BOTTOM" WIDTH="600"> <TABLE WIDTH="600" HEIGHT="20" BORDER="1" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="#000000" BGCOLOR="#DDDDDD" CLASS="tx1214" STYLE="border-collapse: collapse"> <TR ALIGN="CENTER"> <TD WIDTH="60">勘定<br>コード</TD> <TD WIDTH="60">勘定科目名称</TD> <TD WIDTH="40">BS<br>/PL</TD> <TD WIDTH="40">勘定細目</TD> <TD WIDTH="40">貸借<br>区分</TD> <% If TyohyoKubun = "G" Then Label = "製造原価報告書" ElseIf InStr(TyohyoKubun, "P") > 0 Then Label = "損益計算書" ElseIf InStr(TyohyoKubun, "B") > 0 Then Label = "貸借対照表" Else Label = "キャッシュフロー計算書" End If %> <TD HEIGHT="20"><% = Label %>の集計先</TD> </TR> </TABLE> </TD> </TR> <TR> <TD VALIGN="TOP"> <DIV ID="Layer1" STYLE="position:relative; left:0px; top:-1px; width:620px; height:100%; z-index:1; border: 1px none #000000; overflow: auto;"> <TABLE ID="SyoukaiList" WIDTH="600" BORDER="1" CELLSPACING="0" CELLPADDING="0" BORDERCOLOR="#000000" BGCOLOR="#FFFFFF" CLASS="tx1416" STYLE="border-collapse: collapse"> <% Dim Query Dim Content Dim ii, jj ii = 0 Query = "exec SPM勘定科目詳細一覧 '" & GB_SystemCD & "','" & EnshuCD & "','" & GyoshuKubun & "','" & SaimokuKubun & "'" Set Content = OpenQuery(Query) Do While Not(Content.BOF Or Content.EOF) Response.Write("<TR ALIGN=""CENTER"">" & vbCrLf) Response.Write("<TD WIDTH=""60"" ALIGN=""CENTER"">" & Content.Fields("勘定CD") & "</TD>" & vbCrLf) Response.Write("<TD WIDTH=""60"" ALIGN=""CENTER"">" & Content.Fields("勘定名称") & "</TD>" & vbCrLf) Response.Write("<TD WIDTH=""60"" ALIGN=""CENTER"">" & Content.Fields("勘定区分名称") & "</TD>" & vbCrLf) Response.Write("<TD WIDTH=""60"" ALIGN=""CENTER"">" & Content.Fields("勘定細目名称") & "</TD>" & vbCrLf) Response.Write("<TD WIDTH=""60"" ALIGN=""CENTER"">" & Content.Fields("貸借区分名称") & "</TD>" & vbCrLf) Response.Write("<TD WIDTH=""60"" ALIGN=""CENTER"">") Response.Write("</TD>" & vbCrLf) ii = ii + 1 Response.Write("</TR>") Content.MoveNext Loop %> </TABLE> </DIV> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </div> </body> <% = HtmlFooter %> </html> <% End Sub %>