Initial import

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2914 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2007-11-29 17:41:32 +00:00
parent 9b593709ac
commit 1eb479546b
146 changed files with 21401 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
--application/shared_components/user_interface/lov/additionalitems
begin
wwv_flow_api.create_list_of_values (
p_id => 16308001698628897 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'ADDITIONALITEMS',
p_lov_query=> '.'||to_char(16308001698628897 + wwv_flow_api.g_id_offset)||'.');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>16308204331628951 + wwv_flow_api.g_id_offset,
p_lov_id=>16308001698628897 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>10,
p_lov_disp_value=>'Automatic Meter Reader',
p_lov_return_value=>'AMR',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>16308429206628961 + wwv_flow_api.g_id_offset,
p_lov_id=>16308001698628897 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>20,
p_lov_disp_value=>'Energy Management System',
p_lov_return_value=>'EMS',
p_lov_data_comment=> '');
null;
end;
/

View File

@@ -0,0 +1,79 @@
--application/shared_components/user_interface/lov/assetlocationnotes
begin
wwv_flow_api.create_list_of_values (
p_id => 15952305184685011 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'ASSETLOCATIONNOTES',
p_lov_query=> '.'||to_char(15952305184685011 + wwv_flow_api.g_id_offset)||'.');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15952607962685022 + wwv_flow_api.g_id_offset,
p_lov_id=>15952305184685011 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>1,
p_lov_disp_value=>'Post',
p_lov_return_value=>'Post',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15952826378685023 + wwv_flow_api.g_id_offset,
p_lov_id=>15952305184685011 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>2,
p_lov_disp_value=>'Fax',
p_lov_return_value=>'Fax',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15953013109685023 + wwv_flow_api.g_id_offset,
p_lov_id=>15952305184685011 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>3,
p_lov_disp_value=>'Email',
p_lov_return_value=>'Email',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15953207149685023 + wwv_flow_api.g_id_offset,
p_lov_id=>15952305184685011 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>4,
p_lov_disp_value=>'Upload',
p_lov_return_value=>'Upload',
p_lov_data_comment=> '');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/bases
begin
wwv_flow_api.create_list_of_values (
p_id => 12897128450695770 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'BASES',
p_lov_query=> 'select code as display_value, code as return_value'||chr(10)||
'from bases'||chr(10)||
'order by code');
null;
end;
/

View File

@@ -0,0 +1,16 @@
--application/shared_components/user_interface/lov/bypass
begin
wwv_flow_api.create_list_of_values (
p_id => 15955922435685026 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'BYPASS',
p_lov_query=> 'select description as display, description as return from bypass_reasons'||chr(10)||
'order by code');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/connectionorientations
begin
wwv_flow_api.create_list_of_values (
p_id => 12859022562256728 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'CONNECTIONORIENTATIONS',
p_lov_query=> 'select description d, code r'||chr(10)||
'from connection_orientations'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/connectiontypes
begin
wwv_flow_api.create_list_of_values (
p_id => 12861107156290122 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'CONNECTIONTYPES',
p_lov_query=> 'select description d, code r'||chr(10)||
'from connection_types'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/contactmechanisms
begin
wwv_flow_api.create_list_of_values (
p_id => 15955615056685026 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'CONTACTMECHANISMS',
p_lov_query=> 'select DESCRIPTION display_value, CODE return_value '||chr(10)||
'from CONTACT_MECHANISM_TYPES'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/drawings
begin
wwv_flow_api.create_list_of_values (
p_id => 12803215955396205 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'DRAWINGS',
p_lov_query=> 'select code as display_value, code as return_value'||chr(10)||
'from drawings'||chr(10)||
'order by code');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/enquirytypes
begin
wwv_flow_api.create_list_of_values (
p_id => 15310215906546350 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'ENQUIRYTYPES',
p_lov_query=> 'select DESCRIPTION display_value, CODE return_value '||chr(10)||
'from ENQUIRY_TYPES'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/existingmetersizes
begin
wwv_flow_api.create_list_of_values (
p_id => 15954326962685025 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'EXISTINGMETERSIZES',
p_lov_query=> 'select CODE display_value, CODE return_value '||chr(10)||
'from METER_SIZE_CODES where VALID_FOR_EXISTING_METER=''YES'''||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,18 @@
--application/shared_components/user_interface/lov/filters
begin
wwv_flow_api.create_list_of_values (
p_id => 12865824527399233 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'FILTERS',
p_lov_query=> 'select ft.description || '' - '' || f.filter_size display_value, f.code return_value '||chr(10)||
'from FILTERS f, filter_types ft'||chr(10)||
'where f.fity_code = ft.code'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/housing_type
begin
wwv_flow_api.create_list_of_values (
p_id => 12804820935407180 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'HOUSING TYPE',
p_lov_query=> 'select description as display_value, code as return_value'||chr(10)||
'from housing_types'||chr(10)||
'order by code asc');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/housings
begin
wwv_flow_api.create_list_of_values (
p_id => 12898311751698269 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'HOUSINGS',
p_lov_query=> 'select code as display_value, code as return_value'||chr(10)||
'from housings'||chr(10)||
'order by code');
null;
end;
/

View File

@@ -0,0 +1,63 @@
--application/shared_components/user_interface/lov/loadcontroltypes
begin
wwv_flow_api.create_list_of_values (
p_id => 15953402594685025 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'LOADCONTROLTYPES',
p_lov_query=> '.'||to_char(15953402594685025 + wwv_flow_api.g_id_offset)||'.');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15953722422685025 + wwv_flow_api.g_id_offset,
p_lov_id=>15953402594685025 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>1,
p_lov_disp_value=>'Constant',
p_lov_return_value=>'Constant',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15953917650685025 + wwv_flow_api.g_id_offset,
p_lov_id=>15953402594685025 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>2,
p_lov_disp_value=>'On/Off',
p_lov_return_value=>'OnOff',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15954129021685025 + wwv_flow_api.g_id_offset,
p_lov_id=>15953402594685025 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>3,
p_lov_disp_value=>'Modulating',
p_lov_return_value=>'Modulating',
p_lov_data_comment=> '');
null;
end;
/

View File

@@ -0,0 +1,18 @@
--application/shared_components/user_interface/lov/manufacturer
begin
wwv_flow_api.create_list_of_values (
p_id => 12805914140414670 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'MANUFACTURER',
p_lov_query=> 'select name as display_value, id as return_value'||chr(10)||
'from parties prty'||chr(10)||
'where prty.prty_type = ''MANU'''||chr(10)||
'order by name asc');
null;
end;
/

View File

@@ -0,0 +1,47 @@
--application/shared_components/user_interface/lov/marketsectorcodes
begin
wwv_flow_api.create_list_of_values (
p_id => 15954929400685026 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'MARKETSECTORCODES',
p_lov_query=> '.'||to_char(15954929400685026 + wwv_flow_api.g_id_offset)||'.');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15955203352685026 + wwv_flow_api.g_id_offset,
p_lov_id=>15954929400685026 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>1,
p_lov_disp_value=>'I - Industrial and Commercial',
p_lov_return_value=>'I',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>15955411496685026 + wwv_flow_api.g_id_offset,
p_lov_id=>15954929400685026 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>2,
p_lov_disp_value=>'D - Domestic',
p_lov_return_value=>'D',
p_lov_data_comment=> '');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/meters
begin
wwv_flow_api.create_list_of_values (
p_id => 12917416794939297 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'METERS',
p_lov_query=> 'select code display_value, code return_value '||chr(10)||
'from meters'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/metersizecodes
begin
wwv_flow_api.create_list_of_values (
p_id => 15310821793548000 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'METERSIZECODES',
p_lov_query=> 'select DESCRIPTION display_value, CODE return_value '||chr(10)||
'from METER_SIZE_CODES'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/metertypes
begin
wwv_flow_api.create_list_of_values (
p_id => 12868800126505669 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'METERTYPES',
p_lov_query=> 'select DESCRIPTION display_value, CODE return_value '||chr(10)||
'from METER_TYPES'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/modules
begin
wwv_flow_api.create_list_of_values (
p_id => 15410919772406030 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'MODULES',
p_lov_query=> 'select code display_value, code return_value '||chr(10)||
'from modules'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/newmetersizes
begin
wwv_flow_api.create_list_of_values (
p_id => 15954612045685025 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'NEWMETERSIZES',
p_lov_query=> 'select CODE display_value, CODE return_value '||chr(10)||
'from METER_SIZE_CODES where VALID_FOR_NEW_METER=''YES'''||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/regions
begin
wwv_flow_api.create_list_of_values (
p_id => 15309304132542973 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'REGIONS',
p_lov_query=> 'select DESCRIPTION display_value, CODE return_value '||chr(10)||
'from REGIONS'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,18 @@
--application/shared_components/user_interface/lov/regulators
begin
wwv_flow_api.create_list_of_values (
p_id => 12903219201738342 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'REGULATORS',
p_lov_query=> 'select rt.description || '' - '' || r.lock_up display_value, r.code return_value '||chr(10)||
'from regulators r, regulator_types rt'||chr(10)||
'where r.rety_code = rt.code'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,18 @@
--application/shared_components/user_interface/lov/reliefvalves
begin
wwv_flow_api.create_list_of_values (
p_id => 12906408661274555 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'RELIEFVALVES',
p_lov_query=> 'select rt.description || '': Size '' || r.relief_valve_size || '': Setting ''||r.relief_valve_setting display_value, r.code return_value '||chr(10)||
'from relief_valves r, relief_valve_types rt'||chr(10)||
'where r.rvty_code = rt.code'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/servicepressures
begin
wwv_flow_api.create_list_of_values (
p_id => 12910606677330773 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'SERVICEPRESSURES',
p_lov_query=> 'select description d, code r'||chr(10)||
'from service_pressures'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,17 @@
--application/shared_components/user_interface/lov/servicepressuretypes
begin
wwv_flow_api.create_list_of_values (
p_id => 15311828027549870 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'SERVICEPRESSURETYPES',
p_lov_query=> 'select DESCRIPTION display_value, CODE return_value '||chr(10)||
'from SERVICE_PRESSURE_TYPES'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,18 @@
--application/shared_components/user_interface/lov/slamshutvalves
begin
wwv_flow_api.create_list_of_values (
p_id => 12908128316299217 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'SLAMSHUTVALVES',
p_lov_query=> 'select rt.description || '': Size '' || r.slamshut_size || '': Setting ''||r.slamshut_setting display_value, r.code return_value '||chr(10)||
'from slamshut_valves r, slamshut_types rt'||chr(10)||
'where r.slty_code = rt.code'||chr(10)||
'order by 1');
null;
end;
/

View File

@@ -0,0 +1,49 @@
--application/shared_components/user_interface/lov/yesno
begin
wwv_flow_api.create_list_of_values (
p_id => 12773402618286720 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'YESNO',
p_lov_query=> '.'||to_char(12773402618286720 + wwv_flow_api.g_id_offset)||'.');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>12773929609286725 + wwv_flow_api.g_id_offset,
p_lov_id=>12773402618286720 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>2,
p_lov_disp_value=>'Yes',
p_lov_return_value=>'Y',
p_lov_data_comment=> '');
null;
end;
/
begin
wwv_flow_api.create_static_lov_data (
p_id=>12774128957286725 + wwv_flow_api.g_id_offset,
p_lov_id=>12773402618286720 + wwv_flow_api.g_id_offset,
p_lov_disp_sequence=>3,
p_lov_disp_value=>'No',
p_lov_return_value=>'N',
p_lov_data_comment=> '');
null;
end;
/
prompt ...Application Trees
--