<!-- #include file="../../../include.asp" --> <!-- #include file="../../../user/bk/hojyobo/fk_urikaikakekintyo_view_main_in.asp" --> <% '<!-- '################################################ ' 名称 :売掛金・買掛金元帳の照会 ' 作成日:2002/9/17 ' 作成者:川崎 ' 目的 :売掛金・買掛金元帳の照会画面を表示する。 ' 概要 : ' <<表示>> ' ・売掛金・買掛金元帳の一覧画面 '################################################ '--> ' ' %> <% main() Sub main() If Not(SessionCheck()) Then Exit Sub End If Dim TorihikisakiCD Dim PageType Dim ViewMode Dim RowCount, RowBreakNum Dim TyohyoHeader, TableHeader, TableFooter RowBreakNum = 1 RowCount = 0 TorihikisakiCD = Request("TorihikisakiCD") PageType = Request("PageType") ViewMode = Request("ViewMode") Dim Label If PageType = "Urikake" Then Label = "売掛金元帳" Else Label = "買掛金元帳" End If Dim BunsyoSyuruiCD Dim Title If PageType = "Urikake" Then Title = "売掛金元帳" BunsyoSyuruiCD ="ME" Else Title = "買掛金元帳" BunsyoSyuruiCD ="MF" End If Dim RouteType RouteType = Request("RouteType") Dim AutoPrint AutoPrint = Request("AutoPrint") %> <html> <% = HtmlHeader("sj3tyobored11") %> <SCRIPT LANGUAGE="JavaScript"> <!-- HomeAlias = "<% = HomeAlias %>"; HomeAliasSL = "<% = HomeAliasSL %>"; ExitFlg = 1; --> </SCRIPT> <body onkeydown="if(ExitFlg==2)ExitFlg=3;" onBeforeUnload="if(ExitFlg!=0)window.event.returnValue = ExitMsg(ExitFlg)"<% If AutoPrint = "1" Then %> onLoad="PrintoutReal();"<% End If %> bgcolor="#5C70B6" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <% If ViewMode = "All" Then RouteType = "ViewOnly" End If If InStr(RouteType, "ViewOnly") > 0 Then Response.Write(HtmlDesign(4)) ElseIf InStr(RouteType, "HojyoboOnly") > 0 Then Response.Write(HtmlDesign(2)) Else Response.Write(HtmlDesign(1)) End If Response.Write(HttpL1(3)) If InStr(RouteType, "ViewOnly") > 0 Then Response.Write(HttpL2("照会・集計ウィンドウ" ,"tblbtn( '/" & HomeAlias & "/user/bk/menu_s_viewonly.asp')", "経理部", "", "補助簿", "", Label, "", "", "", "", "")) ElseIf InStr(RouteType, "HojyoboOnly") > 0 Then Response.Write(HttpL2("補助簿ウィンドウ" ,"tblbtn( '/" & HomeAlias & "/user/bk/menu_s12.asp?RouteType=" & RouteType & "')", Label, "", "", "", "", "","", "", "", "")) ElseIf PackageMode = 1 Then Response.Write(HttpL2("メインメニュー" ,"tblbtn('/" & HomeAlias & "/user/bk/menu_cyac.asp')", "手入力帳簿", "tblbtn( '/" & HomeAlias & "/user/bk/menu_cyac3.asp')", Label, "", "", "", "", "", "", "")) Else Response.Write(HttpL2("会社選択" ,"tblbtn( '/" & HomeAlias & "/user/bk/')", GB_GyosyuMeisyo, "tblbtn( '/" & HomeAlias & "/user/bk/menu_" & GB_Gyosyu & ".asp')", "経理部", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s1.asp')", "帳簿", "tblbtn( '/" & HomeAlias & "/user/bk/menu_s12.asp')", Label, "tblbtn( '/" & HomeAlias & "/user/bk/hojyobo/fk_urikaikakekintyo.asp?PageType=" & PageType & "')", "", "")) End If Response.Write(HttpL3("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")) Response.Write(HttpL3_1("印刷", "PrintoutReal()", "", "", "", "", "", "", "", "")) If InStr(RouteType, "ViewOnly") > 0 Then Response.Write(HttpL3_2("", "", "", "", "", "", "", "", "", "")) ElseIf PackageMode = 1 Then Response.Write(HttpL3_2("入力", "tblbtn( 'fk_urikaikakekintyo.asp?RouteType=" & RouteType & "&PageType=" & PageType & "&TorihikisakiCD=" & TorihikisakiCD & "')", "", "", "", "", "", "", "", "")) Else Response.Write(HttpL3_2("入力", "tblbtn( 'fk_urikaikakekintyo.asp?RouteType=" & RouteType & "&PageType=" & PageType & "&TorihikisakiCD=" & TorihikisakiCD & "')", "取引先別残高一覧", "wopen('fk_urikaikakekintyo_view.asp?RouteType=" & RouteType & "&PageType=" & PageType & "&TorihikisakiCD=" & TorihikisakiCD & "&ViewMode=All','syoukai')", "", "", "", "", "", "")) End If If InStr(RouteType, "ViewOnly") > 0 And TorihikisakiCD = "" Then Response.Write(HttpL4(Label, "取引先別残高一覧")) Else Response.Write(HttpL4(Label, "")) End If If ViewMode = "All" Then TorihikisakiCD = "" End If %> <div id="L0" style="position: absolute; visibility: hidden; left: 0px; top: -2000px;"> <% Response.Write(HojyoboUrikaikakekintyo(EnshuCD, KaisyaCD, KaisyaCD, BunsyoSyuruiCD, TorihikisakiCD, RouteType, 0, 0)) %> </div> <% = HtmlFooter %> </html> <% End Sub %>