| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
'=====================================================
|
3 |
'=====================================================
|
| 4 |
'| |
|
4 |
'| |
|
| 5 |
'| BomStates |
|
5 |
'| BomStates |
|
| 6 |
'| |
|
6 |
'| |
|
| 7 |
'=====================================================
|
7 |
'=====================================================
|
| 8 |
%>
|
8 |
%>
|
| 9 |
<%
|
9 |
<%
|
| 10 |
Option explicit
|
10 |
Option explicit
|
| 11 |
Response.Expires = 0
|
11 |
Response.Expires = 0
|
| 12 |
%>
|
12 |
%>
|
| 13 |
<!--#include file="common/globals.asp"-->
|
13 |
<!--#include file="common/globals.asp"-->
|
| 14 |
<!--#include file="common/config.asp"-->
|
14 |
<!--#include file="common/config.asp"-->
|
| 15 |
<!--#include file="common/common_subs.asp"-->
|
15 |
<!--#include file="common/common_subs.asp"-->
|
| 16 |
<!--#include file="common/_explorer_common.asp"-->
|
16 |
<!--#include file="common/_explorer_common.asp"-->
|
| 17 |
<%
|
17 |
<%
|
| 18 |
'------------ ACCESS CONTROL ------------------
|
18 |
'------------ ACCESS CONTROL ------------------
|
| 19 |
%>
|
19 |
%>
|
| 20 |
<!--#include file="_access_control_general.asp"-->
|
20 |
<!--#include file="_access_control_general.asp"-->
|
| 21 |
<%
|
21 |
<%
|
| 22 |
'------------ VARIABLE DEFINITION -------------
|
22 |
'------------ VARIABLE DEFINITION -------------
|
| 23 |
Dim rsQry
|
23 |
Dim rsQry
|
| 24 |
Dim StateId, StateTypeEnum
|
24 |
Dim StateId, StateTypeEnum
|
| 25 |
Dim objFormCollector
|
25 |
Dim objFormCollector
|
| 26 |
Dim parState_id
|
26 |
Dim parState_id
|
| 27 |
Dim RowColor
|
27 |
Dim RowColor
|
| 28 |
'------------ CONSTANTS DECLARATION -----------
|
28 |
'------------ CONSTANTS DECLARATION -----------
|
| 29 |
'------------ VARIABLE INIT -------------------
|
29 |
'------------ VARIABLE INIT -------------------
|
| 30 |
Set objFormCollector = CreateObject("Scripting.Dictionary")
|
30 |
Set objFormCollector = CreateObject("Scripting.Dictionary")
|
| 31 |
parState_id = Request("state_id")
|
31 |
parState_id = Request("state_id")
|
| 32 |
RowColor = NULL
|
32 |
RowColor = NULL
|
| 33 |
'------------ CONDITIONS ----------------------
|
33 |
'------------ CONDITIONS ----------------------
|
| 34 |
'----------------------------------------------
|
34 |
'----------------------------------------------
|
| 35 |
%>
|
35 |
%>
|
| 36 |
<%
|
36 |
<%
|
| 37 |
'--------------------------------------------------------------------------------------------------------------------------
|
37 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 38 |
Function GetIsDisplayedIcon ( cIsDisplayed )
|
38 |
Function GetIsDisplayedIcon ( cIsDisplayed )
|
| 39 |
If cIsDisplayed = enumDB_YES Then
|
39 |
If cIsDisplayed = enumDB_YES Then
|
| 40 |
GetIsDisplayedIcon = "<img src='icons/b_box.gif' width='13' height='13' border='0' title='Click to HIDE this BOM in Release Explorer'>"
|
40 |
GetIsDisplayedIcon = "<img src='icons/b_box.gif' width='13' height='13' border='0' title='Click to HIDE this BOM in Release Explorer'>"
|
| 41 |
Else
|
41 |
Else
|
| 42 |
GetIsDisplayedIcon = "<img src='icons/b_tick.gif' width='13' height='13' border='0' title='Click to SHOW this BOM in Release Explorer'>"
|
42 |
GetIsDisplayedIcon = "<img src='icons/b_tick.gif' width='13' height='13' border='0' title='Click to SHOW this BOM in Release Explorer'>"
|
| 43 |
End If
|
43 |
End If
|
| 44 |
|
44 |
|
| 45 |
End Function
|
45 |
End Function
|
| 46 |
'--------------------------------------------------------------------------------------------------------------------------
|
46 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 47 |
Sub GetFormDetails ( nState_id, ByRef outobjDetails )
|
47 |
Sub GetFormDetails ( nState_id, ByRef outobjDetails )
|
| 48 |
Dim rsQry, query
|
48 |
Dim rsQry, query
|
| 49 |
OraDatabase.Parameters.Add "STATE_ID", nState_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
49 |
OraDatabase.Parameters.Add "STATE_ID", nState_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 50 |
|
50 |
|
| 51 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("StateDetails.sql"), ORADYN_DEFAULT )
|
51 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("StateDetails.sql"), ORADYN_DEFAULT )
|
| 52 |
|
52 |
|
| 53 |
If rsQry.RecordCount > 0 Then
|
53 |
If rsQry.RecordCount > 0 Then
|
| 54 |
outobjDetails.Item ("state_id") = rsQry("state_id")
|
54 |
outobjDetails.Item ("state_id") = rsQry("state_id")
|
| 55 |
outobjDetails.Item ("state_name") = rsQry("state_name").Value
|
55 |
outobjDetails.Item ("state_name") = rsQry("state_name").Value
|
| 56 |
outobjDetails.Item ("state_type_enum") = rsQry("state_type_enum")
|
56 |
outobjDetails.Item ("state_type_enum") = rsQry("state_type_enum")
|
| 57 |
|
57 |
|
| 58 |
End If
|
58 |
End If
|
| 59 |
|
59 |
|
| 60 |
OraDatabase.Parameters.Remove "STATE_ID"
|
60 |
OraDatabase.Parameters.Remove "STATE_ID"
|
| 61 |
|
61 |
|
| 62 |
rsQry.Close
|
62 |
rsQry.Close
|
| 63 |
Set rsQry = Nothing
|
63 |
Set rsQry = Nothing
|
| 64 |
End Sub
|
64 |
End Sub
|
| 65 |
'----------------------------------------------------------------------------------------------------------------------------------------------
|
65 |
'----------------------------------------------------------------------------------------------------------------------------------------------
|
| 66 |
Sub NewBOMList ( rsQry )
|
66 |
Sub NewBOMList ( rsQry )
|
| 67 |
%>
|
67 |
%>
|
| 68 |
<table width="100%" border="0" cellspacing="2" cellpadding="0">
|
68 |
<table width="100%" border="0" cellspacing="2" cellpadding="0">
|
| 69 |
<tr>
|
69 |
<tr>
|
| 70 |
<td width="1"><img src="images/spacer.gif" width="20" height="1"></td>
|
70 |
<td width="1"><img src="images/spacer.gif" width="20" height="1"></td>
|
| 71 |
<td width="20%" nowrap class="body_scol">BOM Name</td>
|
71 |
<td width="20%" nowrap class="body_scol">BOM Name</td>
|
| 72 |
<td width="20%" nowrap class="body_scol">Version</td>
|
72 |
<td width="20%" nowrap class="body_scol">Version</td>
|
| 73 |
<td width="60%" nowrap class="body_scol">Bom Comments</td>
|
73 |
<td width="60%" nowrap class="body_scol">Bom Comments</td>
|
| 74 |
<td width="1%" nowrap class="body_scol">Released By</td>
|
74 |
<td width="1%" nowrap class="body_scol">Released By</td>
|
| 75 |
<td width="1%" nowrap class="body_scol">Arrived</td>
|
75 |
<td width="1%" nowrap class="body_scol">Arrived</td>
|
| 76 |
<td width="1%" nowrap class="body_scol">Hide</td>
|
76 |
<td width="1%" nowrap class="body_scol">Hide</td>
|
| 77 |
</tr>
|
77 |
</tr>
|
| 78 |
<tr>
|
78 |
<tr>
|
| 79 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
79 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 80 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
80 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 81 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
81 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 82 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
82 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 83 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
83 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 84 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td><br>
|
84 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td><br>
|
| 85 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
85 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 86 |
</tr>
|
86 |
</tr>
|
| 87 |
<%
|
87 |
<%
|
| 88 |
While ((NOT rsQry.BOF) AND (NOT rsQry.EOF) AND (NOT IsNull(rsQry("bom_id"))))
|
88 |
While ((NOT rsQry.BOF) AND (NOT rsQry.EOF) AND (NOT IsNull(rsQry("bom_id"))))
|
| 89 |
|
89 |
|
| 90 |
If IsNull( RowColor ) Then
|
90 |
If IsNull( RowColor ) Then
|
| 91 |
RowColor = "bgcolor='#F5F5F5'"
|
91 |
RowColor = "bgcolor='#F5F5F5'"
|
| 92 |
Else
|
92 |
Else
|
| 93 |
RowColor = NULL
|
93 |
RowColor = NULL
|
| 94 |
End If
|
94 |
End If
|
| 95 |
%>
|
95 |
%>
|
| 96 |
|
96 |
|
| 97 |
<tr>
|
97 |
<tr>
|
| 98 |
<td <%=RowColor%> valign="top"><input type="checkbox" name="bom_id_list" value="<%=rsQry("bom_id")%>"></td>
|
98 |
<td <%=RowColor%> valign="top"><input type="checkbox" name="bom_id_list" value="<%=rsQry("bom_id")%>"></td>
|
| 99 |
<td <%=RowColor%> nowrap valign="top"><a href="Bom_Home.asp?bom_id=<%=rsQry("bom_id")%>" class="menu_link"><%=BomIcon( rsQry("is_readonly"), rsQry("is_rejected") )%><%=rsQry("bom_name")%></a></td>
|
99 |
<td <%=RowColor%> nowrap valign="top"><a href="Bom_Home.asp?bom_id=<%=rsQry("bom_id")%>" class="menu_link"><%=BomIcon( rsQry("is_readonly"), rsQry("is_rejected") )%><%=rsQry("bom_name")%></a></td>
|
| 100 |
<td <%=RowColor%> nowrap valign="top"><a href="Bom_Home.asp?bom_id=<%=rsQry("bom_id")%>" class="menu_link"><%=rsQry("bom_version") &"."& rsQry("bom_lifecycle")%></a></td>
|
100 |
<td <%=RowColor%> nowrap valign="top"><a href="Bom_Home.asp?bom_id=<%=rsQry("bom_id")%>" class="menu_link"><%=rsQry("bom_version") &"."& rsQry("bom_lifecycle")%></a></td>
|
| 101 |
<td <%=RowColor%> class="body_rowlite"><%=objFormater.TextToHtml( rsQry("bom_comments") )%></td>
|
101 |
<td <%=RowColor%> class="body_rowlite"><%=objFormater.TextToHtml( rsQry("bom_comments") )%></td>
|
| 102 |
<td <%=RowColor%> nowrap valign="top"><a href="mailto:<%=rsQry("user_email")%>" title="Send email to <%=rsQry("user_email")%>" class="body_link"><img src="icons/i_email.gif" width="15" height="10" hspace="2" border="0" align="absmiddle"><%=rsQry("full_name").Value%></a></td>
|
102 |
<td <%=RowColor%> nowrap valign="top"><a href="mailto:<%=rsQry("user_email")%>" title="Send email to <%=rsQry("user_email")%>" class="body_link"><img src="icons/i_email.gif" width="15" height="10" hspace="2" border="0" align="absmiddle"><%=rsQry("full_name").Value%></a></td>
|
| 103 |
<td <%=RowColor%> nowrap align="right" valign="top" class="body_txt"> <%=objFormater.FormatDate ( rsQry("arrived_date"), 1 ) %></td>
|
103 |
<td <%=RowColor%> nowrap align="right" valign="top" class="body_txt"> <%=objFormater.FormatDate ( rsQry("arrived_date"), 1 ) %></td>
|
| 104 |
<td <%=RowColor%> align="center" valign="top"><a href="_ToggleIsDisplayedBom.asp?rfile=<%=SCRIPT_NAME%>&bom_id_list=<%=rsQry("bom_id")%>&<%=objPMod.ComposeURL()%>"><%=GetIsDisplayedIcon( rsQry("is_displayed") )%></a></td>
|
104 |
<td <%=RowColor%> align="center" valign="top"><a href="_ToggleIsDisplayedBom.asp?rfile=<%=SCRIPT_NAME%>&bom_id_list=<%=rsQry("bom_id")%>&<%=objPMod.ComposeURL()%>"><%=GetIsDisplayedIcon( rsQry("is_displayed") )%></a></td>
|
| 105 |
</tr>
|
105 |
</tr>
|
| 106 |
|
106 |
|
| 107 |
<%
|
107 |
<%
|
| 108 |
rsQry.MoveNext
|
108 |
rsQry.MoveNext
|
| 109 |
WEnd
|
109 |
WEnd
|
| 110 |
%>
|
110 |
%>
|
| 111 |
<tr>
|
111 |
<tr>
|
| 112 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
112 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 113 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
113 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 114 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
114 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 115 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
115 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 116 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
116 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 117 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
117 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 118 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
118 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 119 |
</tr>
|
119 |
</tr>
|
| 120 |
</table>
|
120 |
</table>
|
| 121 |
<%
|
121 |
<%
|
| 122 |
End Sub
|
122 |
End Sub
|
| 123 |
'----------------------------------------------------------------------------------------------------------------------------------------------
|
123 |
'----------------------------------------------------------------------------------------------------------------------------------------------
|
| 124 |
Sub NewState ( rsQry )
|
124 |
Sub NewState ( rsQry )
|
| 125 |
%>
|
125 |
%>
|
| 126 |
<td valign="top">
|
126 |
<td valign="top">
|
| 127 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
127 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
| 128 |
<tr>
|
128 |
<tr>
|
| 129 |
<td class="body_txt"><b><%=objFormCollector.Item("state_name")%></b></td>
|
129 |
<td class="body_txt"><b><%=objFormCollector.Item("state_name")%></b></td>
|
| 130 |
</tr>
|
130 |
</tr>
|
| 131 |
</table>
|
131 |
</table>
|
| 132 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
132 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 133 |
<form name="FormState<%=StateId%>" method="post" action="<%=SCRIPT_NAME%>">
|
133 |
<form name="FormState<%=StateId%>" method="post" action="<%=SCRIPT_NAME%>">
|
| 134 |
<tr>
|
134 |
<tr>
|
| 135 |
<td width="1"><img src="images/spacer.gif" width="10" height="300"></td>
|
135 |
<td width="1"><img src="images/spacer.gif" width="10" height="300"></td>
|
| 136 |
<td width="1" background="images/bg_bage_2.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
136 |
<td width="1" background="images/bg_bage_2.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 137 |
<td width="100%" valign="top">
|
137 |
<td width="100%" valign="top">
|
| 138 |
<%
|
138 |
<%
|
| 139 |
'-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-
|
139 |
'-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-
|
| 140 |
'objAccessControl.BeginRegion ( "SomeName" )
|
140 |
'objAccessControl.BeginRegion ( "SomeName" )
|
| 141 |
%>
|
141 |
%>
|
| 142 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
142 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 143 |
<tr>
|
143 |
<tr>
|
| 144 |
<td width="1" valign="top"><img src="<%=GetStateImage( StateTypeEnum )%>"></td>
|
144 |
<td width="1" valign="top"><img src="<%=GetStateImage( StateTypeEnum )%>"></td>
|
| 145 |
<!-- OPTIONS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
145 |
<!-- OPTIONS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 146 |
<!--#include file="_state_menu_options.asp"-->
|
146 |
<!--#include file="_state_menu_options.asp"-->
|
| 147 |
<!-- OPTIONS END ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
147 |
<!-- OPTIONS END ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 148 |
</td>
|
148 |
</td>
|
| 149 |
</tr>
|
149 |
</tr>
|
| 150 |
</table>
|
150 |
</table>
|
| 151 |
<%
|
151 |
<%
|
| 152 |
'objAccessControl.EndRegion ( "SomeName" )
|
152 |
'objAccessControl.EndRegion ( "SomeName" )
|
| 153 |
'-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-
|
153 |
'-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-ACCESSMANAGER-
|
| 154 |
%>
|
154 |
%>
|
| 155 |
<%Call NewBOMList( rsQry )%>
|
155 |
<%Call NewBOMList( rsQry )%>
|
| 156 |
</td>
|
156 |
</td>
|
| 157 |
</tr>
|
157 |
</tr>
|
| 158 |
<%=objPMod.ComposeHiddenTags()%>
|
158 |
<%=objPMod.ComposeHiddenTags()%>
|
| 159 |
<input type="hidden" name="action" value="true">
|
159 |
<input type="hidden" name="action" value="true">
|
| 160 |
</form>
|
160 |
</form>
|
| 161 |
</table>
|
161 |
</table>
|
| 162 |
</td>
|
162 |
</td>
|
| 163 |
<%
|
163 |
<%
|
| 164 |
End Sub
|
164 |
End Sub
|
| 165 |
'----------------------------------------------------------------------------------------------------------------------------------------------
|
165 |
'----------------------------------------------------------------------------------------------------------------------------------------------
|
| 166 |
%>
|
166 |
%>
|
| 167 |
<%
|
167 |
<%
|
| 168 |
'------------ RUN BEFORE PAGE RENDER ----------
|
168 |
'------------ RUN BEFORE PAGE RENDER ----------
|
| 169 |
Call objPMod.PersistInQryString ( aPersistList(enumPAR_STATE_ID) )
|
169 |
Call objPMod.PersistInQryString ( aPersistList(enumPAR_STATE_ID) )
|
| 170 |
|
170 |
|
| 171 |
Call GetFormDetails ( parState_id, objFormCollector )
|
171 |
Call GetFormDetails ( parState_id, objFormCollector )
|
| 172 |
|
172 |
|
| 173 |
If (Request("action") <> "") Then
|
173 |
If (Request("action") <> "") Then
|
| 174 |
'-- Select Action
|
174 |
'-- Select Action
|
| 175 |
Call ActionRedirection ( Request("action") )
|
175 |
Call ActionRedirection ( Request("action") )
|
| 176 |
|
176 |
|
| 177 |
End If
|
177 |
End If
|
| 178 |
|
178 |
|
| 179 |
'----------------------------------------------
|
179 |
'----------------------------------------------
|
| 180 |
%>
|
180 |
%>
|
| 181 |
<html>
|
181 |
<html>
|
| 182 |
<head>
|
182 |
<head>
|
| 183 |
<title>Deployment Manager</title>
|
183 |
<title>Deployment Manager</title>
|
| 184 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
184 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| 185 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
185 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 186 |
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
|
186 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 187 |
<script language="JavaScript" src="scripts/common.js"></script>
|
187 |
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
|
| 188 |
</head>
|
188 |
<script language="JavaScript" src="scripts/common.js"></script>
|
| 189 |
|
189 |
</head>
|
| 190 |
<body leftmargin="0" topmargin="0">
|
190 |
|
| 191 |
<!-- HEADER ++++++++++++++++ -->
|
191 |
<body leftmargin="0" topmargin="0">
|
| 192 |
<!--#include file="_header.asp"-->
|
192 |
<!-- HEADER ++++++++++++++++ -->
|
| 193 |
<!-- +++++++++++++++++++++++ -->
|
193 |
<!--#include file="_header.asp"-->
|
| 194 |
<!-- MAIN MENU + CRUMBS ++++++++++++++++ -->
|
194 |
<!-- +++++++++++++++++++++++ -->
|
| 195 |
<!--#include file="_main_menu.asp"-->
|
195 |
<!-- MAIN MENU + CRUMBS ++++++++++++++++ -->
|
| 196 |
<!-- +++++++++++++++++++++++++++++++++++++ -->
|
196 |
<!--#include file="_main_menu.asp"-->
|
| 197 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
197 |
<!-- +++++++++++++++++++++++++++++++++++++ -->
|
| 198 |
<tr>
|
198 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 199 |
<td width="1%" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
199 |
<tr>
|
| 200 |
<td width="100%" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
200 |
<td width="1%" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 201 |
</tr>
|
201 |
<td width="100%" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 202 |
<tr>
|
202 |
</tr>
|
| 203 |
<td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="17" height="30"></td>
|
203 |
<tr>
|
| 204 |
<td background="images/bg_bage_0.gif"> </td>
|
204 |
<td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="17" height="30"></td>
|
| 205 |
</tr>
|
205 |
<td background="images/bg_bage_0.gif"> </td>
|
| 206 |
<tr>
|
206 |
</tr>
|
| 207 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
207 |
<tr>
|
| 208 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
208 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 209 |
</tr>
|
209 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| 210 |
<tr>
|
210 |
</tr>
|
| 211 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
211 |
<tr>
|
| 212 |
<td><img src="images/spacer.gif" width="1" height="8"></td>
|
212 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
| 213 |
</tr>
|
213 |
<td><img src="images/spacer.gif" width="1" height="8"></td>
|
| 214 |
<tr>
|
214 |
</tr>
|
| 215 |
<td> </td>
|
215 |
<tr>
|
| 216 |
<td class="body_ttl1"><%=objFormCollector.Item("state_name")%> Explorer </td>
|
216 |
<td> </td>
|
| 217 |
</tr>
|
217 |
<td class="body_ttl1"><%=objFormCollector.Item("state_name")%> Explorer </td>
|
| 218 |
<tr>
|
218 |
</tr>
|
| 219 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
219 |
<tr>
|
| 220 |
<td><img src="images/spacer.gif" width="1" height="30"><a href="BomStates.asp?BACK=OK<%=objPMod.ComposeURLWithout("state_id")%>" class="body_link"><img src="icons/i_caretone.gif" width="11" height="7" hspace="2" border="0">Release Explorer</a></td>
|
220 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
| 221 |
</tr>
|
221 |
<td><img src="images/spacer.gif" width="1" height="30"><a href="BomStates.asp?BACK=OK<%=objPMod.ComposeURLWithout("state_id")%>" class="body_link"><img src="icons/i_caretone.gif" width="11" height="7" hspace="2" border="0">Release Explorer</a></td>
|
| 222 |
</table>
|
222 |
</tr>
|
| 223 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
223 |
</table>
|
| 224 |
<tr>
|
224 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 225 |
<td width="1%"> </td>
|
225 |
<tr>
|
| 226 |
<td width="100%" rowspan="2" valign="top">
|
226 |
<td width="1%"> </td>
|
| 227 |
<!-- PAGE DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
227 |
<td width="100%" rowspan="2" valign="top">
|
| 228 |
<!-- STATES ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
228 |
<!-- PAGE DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 229 |
<%If (dbPARproj_id <> enumDB_DEFAULT_EMPTY) AND (dbPARbranch_id <> enumDB_DEFAULT_EMPTY) Then%>
|
229 |
<!-- STATES ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 230 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
230 |
<%If (dbPARproj_id <> enumDB_DEFAULT_EMPTY) AND (dbPARbranch_id <> enumDB_DEFAULT_EMPTY) Then%>
|
| 231 |
<tr>
|
231 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 232 |
<%
|
232 |
<tr>
|
| 233 |
OraDatabase.Parameters.Add "STATE_ID", parState_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
233 |
<%
|
| 234 |
OraDatabase.Parameters.Add "BRANCH_ID", dbPARbranch_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
234 |
OraDatabase.Parameters.Add "STATE_ID", parState_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 235 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("BomStateExplorer.sql") , ORADYN_DEFAULT )
|
235 |
OraDatabase.Parameters.Add "BRANCH_ID", dbPARbranch_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 236 |
|
236 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("BomStateExplorer.sql") , ORADYN_DEFAULT )
|
| 237 |
StateId = objFormCollector.Item("state_id")
|
237 |
|
| 238 |
StateTypeEnum = objFormCollector.Item("state_type_enum")
|
238 |
StateId = objFormCollector.Item("state_id")
|
| 239 |
|
239 |
StateTypeEnum = objFormCollector.Item("state_type_enum")
|
| 240 |
If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then
|
240 |
|
| 241 |
Call NewState ( rsQry )
|
241 |
If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then
|
| 242 |
|
242 |
Call NewState ( rsQry )
|
| 243 |
End If
|
243 |
|
| 244 |
|
244 |
End If
|
| 245 |
rsQry.Close
|
245 |
|
| 246 |
Set rsQry = Nothing
|
246 |
rsQry.Close
|
| 247 |
OraDatabase.Parameters.Remove "STATE_ID"
|
247 |
Set rsQry = Nothing
|
| 248 |
OraDatabase.Parameters.Remove "BRANCH_ID"
|
248 |
OraDatabase.Parameters.Remove "STATE_ID"
|
| 249 |
%>
|
249 |
OraDatabase.Parameters.Remove "BRANCH_ID"
|
| 250 |
|
250 |
%>
|
| 251 |
</tr>
|
251 |
|
| 252 |
</table>
|
252 |
</tr>
|
| 253 |
<%End If%>
|
253 |
</table>
|
| 254 |
<!-- STATES END +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
254 |
<%End If%>
|
| 255 |
<br><br>
|
255 |
<!-- STATES END +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 256 |
<!-- PAGE DETAILS END ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
256 |
<br><br>
|
| 257 |
</td>
|
257 |
<!-- PAGE DETAILS END ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 258 |
</tr>
|
258 |
</td>
|
| 259 |
<tr>
|
259 |
</tr>
|
| 260 |
<td valign="bottom"><img src="images/ill_bom_location.jpg" width="146" height="300"></td>
|
260 |
<tr>
|
| 261 |
</tr>
|
261 |
<td valign="bottom"><img src="images/ill_bom_location.jpg" width="146" height="300"></td>
|
| 262 |
</table>
|
262 |
</tr>
|
| 263 |
|
263 |
</table>
|
| 264 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
264 |
|
| 265 |
<tr>
|
265 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 266 |
<td><img src="images/spacer.gif" width="8" height="20"></td>
|
266 |
<tr>
|
| 267 |
</tr>
|
267 |
<td><img src="images/spacer.gif" width="8" height="20"></td>
|
| 268 |
</table>
|
268 |
</tr>
|
| 269 |
<!-- FOOTER ++++++++++++++++ -->
|
269 |
</table>
|
| 270 |
<!--#include file="_footer.asp"-->
|
270 |
<!-- FOOTER ++++++++++++++++ -->
|
| 271 |
<!-- +++++++++++++++++++++++ -->
|
271 |
<!--#include file="_footer.asp"-->
|
| 272 |
</body>
|
272 |
<!-- +++++++++++++++++++++++ -->
|
| 273 |
</html>
|
273 |
</body>
|
| 274 |
<%
|
274 |
</html>
|
| 275 |
'------------ RUN AFTER PAGE RENDER -----------
|
275 |
<%
|
| 276 |
Set objPMod = Nothing
|
276 |
'------------ RUN AFTER PAGE RENDER -----------
|
| 277 |
Set objCrumbs = Nothing
|
277 |
Set objPMod = Nothing
|
| 278 |
'----------------------------------------------
|
278 |
Set objCrumbs = Nothing
|
| - |
|
279 |
'----------------------------------------------
|
| 279 |
%><!--#include file="common/globals_destructor.asp"-->
|
280 |
%><!--#include file="common/globals_destructor.asp"-->
|
| 280 |
|
281 |
|