22: --
23: -----------------------------------------------------------------------------------------------
24: begin
25: select to_char(sysdate,G_DATE_FORMAT) into v_date_time from dual;
26: htp.htmlopen;
27: htp.headOpen;
28: htp.title('Territory Defintion Report');
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
23: -----------------------------------------------------------------------------------------------
24: begin
25: select to_char(sysdate,G_DATE_FORMAT) into v_date_time from dual;
26: htp.htmlopen;
27: htp.headOpen;
28: htp.title('Territory Defintion Report');
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
24: begin
25: select to_char(sysdate,G_DATE_FORMAT) into v_date_time from dual;
26: htp.htmlopen;
27: htp.headOpen;
28: htp.title('Territory Defintion Report');
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
25: select to_char(sysdate,G_DATE_FORMAT) into v_date_time from dual;
26: htp.htmlopen;
27: htp.headOpen;
28: htp.title('Territory Defintion Report');
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
26: htp.htmlopen;
27: htp.headOpen;
28: htp.title('Territory Defintion Report');
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
27: htp.headOpen;
28: htp.title('Territory Defintion Report');
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
28: htp.title('Territory Defintion Report');
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
29: htp.headClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
37: htp.tableClose;
30: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
31: htp.tableOpen('border="0" ');
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
39: htp.tableRowOpen( cvalign => 'top' );
32: htp.tableRowOpen( calign => 'TOP' );
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
39: htp.tableRowOpen( cvalign => 'top' );
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
33: --htp.tableData( htf.img(curl=>'terman32.gif'));
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
39: htp.tableRowOpen( cvalign => 'top' );
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
34: htp.tableData( '' || 'Territory Definition Report', cnowrap => 'TRUE');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
39: htp.tableRowOpen( cvalign => 'top' );
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
35: htp.tableData(htf.bold(v_date_time),calign => 'right',ccolspan => '110');
36: htp.tableRowClose;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
39: htp.tableRowOpen( cvalign => 'top' );
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
43: htp.tableData( ' ', ccolspan => '6');
36: htp.tableRowClose;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
39: htp.tableRowOpen( cvalign => 'top' );
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
43: htp.tableData( ' ', ccolspan => '6');
44: htp.Br;
37: htp.tableClose;
38: htp.tableOpen( cattributes => 'border=0 cellspacing=0 cellpadding=0 width=561' );
39: htp.tableRowOpen( cvalign => 'top' );
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
43: htp.tableData( ' ', ccolspan => '6');
44: htp.Br;
45: htp.tableRowClose;
39: htp.tableRowOpen( cvalign => 'top' );
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
43: htp.tableData( ' ', ccolspan => '6');
44: htp.Br;
45: htp.tableRowClose;
46: htp.tableClose;
47: htp.bodyClose;
40: htp.tableData( ' ', ccolspan => '2', cattributes => ' height=9');
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
43: htp.tableData( ' ', ccolspan => '6');
44: htp.Br;
45: htp.tableRowClose;
46: htp.tableClose;
47: htp.bodyClose;
48: htp.headClose;
41: htp.tableData( '' ||htf.bold( 'Please specify the criteria and select OK. ') ||
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
43: htp.tableData( ' ', ccolspan => '6');
44: htp.Br;
45: htp.tableRowClose;
46: htp.tableClose;
47: htp.bodyClose;
48: htp.headClose;
49: htp.htmlClose;
42: '', calign => 'center', crowspan => '2', ccolspan => '110', cattributes => ' width=346');
43: htp.tableData( ' ', ccolspan => '6');
44: htp.Br;
45: htp.tableRowClose;
46: htp.tableClose;
47: htp.bodyClose;
48: htp.headClose;
49: htp.htmlClose;
50: end;
43: htp.tableData( ' ', ccolspan => '6');
44: htp.Br;
45: htp.tableRowClose;
46: htp.tableClose;
47: htp.bodyClose;
48: htp.headClose;
49: htp.htmlClose;
50: end;
51: -----------------------------------------------------------------------------------------------
44: htp.Br;
45: htp.tableRowClose;
46: htp.tableClose;
47: htp.bodyClose;
48: htp.headClose;
49: htp.htmlClose;
50: end;
51: -----------------------------------------------------------------------------------------------
52: procedure terr_definition_paramform is
45: htp.tableRowClose;
46: htp.tableClose;
47: htp.bodyClose;
48: htp.headClose;
49: htp.htmlClose;
50: end;
51: -----------------------------------------------------------------------------------------------
52: procedure terr_definition_paramform is
53:
87: header;
88:
89: l_user_id := icx_sec.getID(icx_sec.PV_USER_ID);
90: -------------------- Returns login user Id--------------------------
91: htp.FormOpen(owa_util.Get_Owa_Service_Path||'JTF_TERR_DEFINITION_REPORT_PVT.report_wrapper', cattributes => ' NAME="param"');
92: htp.htmlopen;
93: htp.headOpen;
94: htp.title('Territory Definition Report');
95: htp.headClose;
88:
89: l_user_id := icx_sec.getID(icx_sec.PV_USER_ID);
90: -------------------- Returns login user Id--------------------------
91: htp.FormOpen(owa_util.Get_Owa_Service_Path||'JTF_TERR_DEFINITION_REPORT_PVT.report_wrapper', cattributes => ' NAME="param"');
92: htp.htmlopen;
93: htp.headOpen;
94: htp.title('Territory Definition Report');
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
89: l_user_id := icx_sec.getID(icx_sec.PV_USER_ID);
90: -------------------- Returns login user Id--------------------------
91: htp.FormOpen(owa_util.Get_Owa_Service_Path||'JTF_TERR_DEFINITION_REPORT_PVT.report_wrapper', cattributes => ' NAME="param"');
92: htp.htmlopen;
93: htp.headOpen;
94: htp.title('Territory Definition Report');
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
90: -------------------- Returns login user Id--------------------------
91: htp.FormOpen(owa_util.Get_Owa_Service_Path||'JTF_TERR_DEFINITION_REPORT_PVT.report_wrapper', cattributes => ' NAME="param"');
92: htp.htmlopen;
93: htp.headOpen;
94: htp.title('Territory Definition Report');
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
91: htp.FormOpen(owa_util.Get_Owa_Service_Path||'JTF_TERR_DEFINITION_REPORT_PVT.report_wrapper', cattributes => ' NAME="param"');
92: htp.htmlopen;
93: htp.headOpen;
94: htp.title('Territory Definition Report');
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
92: htp.htmlopen;
93: htp.headOpen;
94: htp.title('Territory Definition Report');
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
93: htp.headOpen;
94: htp.title('Territory Definition Report');
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
94: htp.title('Territory Definition Report');
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
102: htp.tableRowClose;
95: htp.headClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
102: htp.tableRowClose;
103: htp.tableClose;
96: htp.bodyopen(cattributes=>'bgcolor="#CCCCCC"');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
102: htp.tableRowClose;
103: htp.tableClose;
104: htp.tableOpen(cattributes=>'width="600" ');
97: htp.tableopen;
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
102: htp.tableRowClose;
103: htp.tableClose;
104: htp.tableOpen(cattributes=>'width="600" ');
105: /* Output format control */
98: htp.tableRowOpen( cvalign => 'top' );
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
102: htp.tableRowClose;
103: htp.tableClose;
104: htp.tableOpen(cattributes=>'width="600" ');
105: /* Output format control */
106: htp.tableRowOpen();
99: htp.tableData( ' ', cattributes => ' height=9');
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
102: htp.tableRowClose;
103: htp.tableClose;
104: htp.tableOpen(cattributes=>'width="600" ');
105: /* Output format control */
106: htp.tableRowOpen();
107: htp.p('
100: htp.tableData( '' || '', calign => 'right', crowspan => '2', ccolspan => '3', cattributes => ' width=154');
101: htp.tableData( ' ');
102: htp.tableRowClose;
103: htp.tableClose;
104: htp.tableOpen(cattributes=>'width="600" ');
105: /* Output format control */
106: htp.tableRowOpen();
107: htp.p('
102: htp.tableRowClose;
103: htp.tableClose;
104: htp.tableOpen(cattributes=>'width="600" ');
105: /* Output format control */
106: htp.tableRowOpen();
107: htp.p('