DBA Data[Home] [Help]

APPS.BIS_VG_LOG dependencies on BIS_DEBUG_PUB

Line 99: bis_debug_pub.Add('> init_log');

95: , x_error_Tbl OUT BIS_VG_UTIL.Error_Tbl_Type
96: )
97: IS
98: BEGIN
99: bis_debug_pub.Add('> init_log');
100: x_return_status := FND_API.G_RET_STS_SUCCESS;
101: g_gen_success_table.DELETE;
102: g_gen_failure_table.DELETE;
103: bis_debug_pub.Add('< init_log ');

Line 103: bis_debug_pub.Add('< init_log ');

99: bis_debug_pub.Add('> init_log');
100: x_return_status := FND_API.G_RET_STS_SUCCESS;
101: g_gen_success_table.DELETE;
102: g_gen_failure_table.DELETE;
103: bis_debug_pub.Add('< init_log ');
104:
105: EXCEPTION
106: when FND_API.G_EXC_ERROR then
107: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 145: bis_debug_pub.Add('> update_success_log');

141: IS
142: l_result view_gen_success_type;
143: BEGIN
144:
145: bis_debug_pub.Add('> update_success_log');
146: x_return_status := FND_API.G_RET_STS_SUCCESS;
147: l_result.business_view_name := p_origbv;
148: l_result.gen_view_name := p_genbv;
149: g_gen_success_table(g_gen_success_table.COUNT + 1) := l_result;

Line 150: bis_debug_pub.Add('< update_success_log');

146: x_return_status := FND_API.G_RET_STS_SUCCESS;
147: l_result.business_view_name := p_origbv;
148: l_result.gen_view_name := p_genbv;
149: g_gen_success_table(g_gen_success_table.COUNT + 1) := l_result;
150: bis_debug_pub.Add('< update_success_log');
151:
152: EXCEPTION
153: when FND_API.G_EXC_ERROR then
154: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 196: bis_debug_pub.Add('> update_failure_log');

192: IS
193: l_result view_gen_failure_type;
194: l_str VARCHAR2(100);
195: BEGIN
196: bis_debug_pub.Add('> update_failure_log');
197: x_return_status := FND_API.G_RET_STS_SUCCESS;
198:
199: l_result.business_view_name := p_origbv;
200: l_result.Error_Msg_ID := p_code;

Line 205: bis_debug_pub.Add('< update_failure_log');

201: l_result.Error_Description := p_errm;
202:
203: g_gen_failure_table(g_gen_failure_table.COUNT + 1) := l_result;
204:
205: bis_debug_pub.Add('< update_failure_log');
206:
207: EXCEPTION
208: when FND_API.G_EXC_ERROR then
209: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 247: bis_debug_pub.Add('> update_failure_log');

243: IS
244: l_result view_gen_failure_type;
245: l_str VARCHAR2(100);
246: BEGIN
247: bis_debug_pub.Add('> update_failure_log');
248: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);
249: bis_debug_pub.add('p_error_Tbl.count = '||p_error_Tbl.count);
250:
251: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 248: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);

244: l_result view_gen_failure_type;
245: l_str VARCHAR2(100);
246: BEGIN
247: bis_debug_pub.Add('> update_failure_log');
248: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);
249: bis_debug_pub.add('p_error_Tbl.count = '||p_error_Tbl.count);
250:
251: x_return_status := FND_API.G_RET_STS_SUCCESS;
252:

Line 249: bis_debug_pub.add('p_error_Tbl.count = '||p_error_Tbl.count);

245: l_str VARCHAR2(100);
246: BEGIN
247: bis_debug_pub.Add('> update_failure_log');
248: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);
249: bis_debug_pub.add('p_error_Tbl.count = '||p_error_Tbl.count);
250:
251: x_return_status := FND_API.G_RET_STS_SUCCESS;
252:
253: for i in 1 .. p_error_Tbl.count loop

Line 263: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);

259:
260: g_gen_failure_table(g_gen_failure_table.COUNT + 1) := l_result;
261: end loop;
262:
263: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);
264: bis_debug_pub.Add('< update_failure_log');
265: bis_debug_pub.debug_off;
266:
267: EXCEPTION

Line 264: bis_debug_pub.Add('< update_failure_log');

260: g_gen_failure_table(g_gen_failure_table.COUNT + 1) := l_result;
261: end loop;
262:
263: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);
264: bis_debug_pub.Add('< update_failure_log');
265: bis_debug_pub.debug_off;
266:
267: EXCEPTION
268: when FND_API.G_EXC_ERROR then

Line 265: bis_debug_pub.debug_off;

261: end loop;
262:
263: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);
264: bis_debug_pub.Add('< update_failure_log');
265: bis_debug_pub.debug_off;
266:
267: EXCEPTION
268: when FND_API.G_EXC_ERROR then
269: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 305: bis_debug_pub.Add('> backpatch_failure_log');

301: )
302: IS
303: l_counter NUMBER;
304: BEGIN
305: bis_debug_pub.Add('> backpatch_failure_log');
306:
307: FOR l_counter IN REVERSE 1..g_gen_failure_table.COUNT
308: LOOP
309: -- Find missing view names starting from ther high end

Line 322: bis_debug_pub.Add('< backpatch_failure_log');

318: --- -- We are done with the most recent portion of the table
319: --- EXIT; -- from the loop
320: END IF;
321: END LOOP;
322: bis_debug_pub.Add('< backpatch_failure_log');
323:
324: EXCEPTION
325: when FND_API.G_EXC_ERROR then
326: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 363: bis_debug_pub.Add('> write_string');

359: )
360: IS
361: BEGIN
362:
363: bis_debug_pub.Add('> write_string');
364: x_return_status := FND_API.G_RET_STS_SUCCESS;
365: IF (p_mode = bis_vg_types.production_mode) THEN
366: fnd_file.put_line(fnd_file.OUTPUT, p_string);
367: -- fnd_file.new_line(fnd_file.OUTPUT);

Line 369: bis_debug_pub.debug_on;

365: IF (p_mode = bis_vg_types.production_mode) THEN
366: fnd_file.put_line(fnd_file.OUTPUT, p_string);
367: -- fnd_file.new_line(fnd_file.OUTPUT);
368: ELSE
369: bis_debug_pub.debug_on;
370: bis_debug_pub.ADD(p_string);
371: bis_debug_pub.debug_off;
372: END IF;
373: bis_debug_pub.Add('< write_string');

Line 370: bis_debug_pub.ADD(p_string);

366: fnd_file.put_line(fnd_file.OUTPUT, p_string);
367: -- fnd_file.new_line(fnd_file.OUTPUT);
368: ELSE
369: bis_debug_pub.debug_on;
370: bis_debug_pub.ADD(p_string);
371: bis_debug_pub.debug_off;
372: END IF;
373: bis_debug_pub.Add('< write_string');
374:

Line 371: bis_debug_pub.debug_off;

367: -- fnd_file.new_line(fnd_file.OUTPUT);
368: ELSE
369: bis_debug_pub.debug_on;
370: bis_debug_pub.ADD(p_string);
371: bis_debug_pub.debug_off;
372: END IF;
373: bis_debug_pub.Add('< write_string');
374:
375:

Line 373: bis_debug_pub.Add('< write_string');

369: bis_debug_pub.debug_on;
370: bis_debug_pub.ADD(p_string);
371: bis_debug_pub.debug_off;
372: END IF;
373: bis_debug_pub.Add('< write_string');
374:
375:
376: EXCEPTION
377: when FND_API.G_EXC_ERROR then

Line 414: bis_debug_pub.Add('> write_blank_line');

410: , x_error_Tbl OUT BIS_VG_UTIL.Error_Tbl_Type
411: )
412: IS
413: BEGIN
414: bis_debug_pub.Add('> write_blank_line');
415: x_return_status := FND_API.G_RET_STS_SUCCESS;
416: FOR i IN 1 .. p_count LOOP
417: write_string ( p_mode
418: , ' '

Line 423: bis_debug_pub.Add('< write_blank_line');

419: , x_return_status
420: , x_error_Tbl
421: );
422: END LOOP;
423: bis_debug_pub.Add('< write_blank_line');
424:
425:
426: EXCEPTION
427: when FND_API.G_EXC_ERROR then

Line 483: bis_debug_pub.Add('> write_inputs');

479: l_str VARCHAR2(100);
480: l_length NUMBER;
481: BEGIN
482:
483: bis_debug_pub.Add('> write_inputs');
484: x_return_status := FND_API.G_RET_STS_SUCCESS;
485:
486: l_str := fnd_message.get_string( BIS_VG_TYPES.message_application
487: , 'BIS_VG_INPUT_PARAMETERS'

Line 607: bis_debug_pub.Add('< write_inputs');

603: );
604:
605: END IF;
606:
607: bis_debug_pub.Add('< write_inputs');
608:
609: EXCEPTION
610: when FND_API.G_EXC_ERROR then
611: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 647: bis_debug_pub.Add('> write_header');

643: l_date VARCHAR2(80);
644: l_head VARCHAR2(80);
645: l_str VARCHAR2(120);
646: BEGIN
647: bis_debug_pub.Add('> write_header');
648: x_return_status := FND_API.G_RET_STS_SUCCESS;
649:
650: l_head := fnd_message.get_string( BIS_VG_TYPES.message_application
651: , 'BIS_VG_GENERATOR_NAME'

Line 663: bis_debug_pub.Add('< write_header');

659: , l_str
660: , x_return_status
661: , x_error_Tbl
662: );
663: bis_debug_pub.Add('< write_header');
664:
665:
666: EXCEPTION
667: when FND_API.G_EXC_ERROR then

Line 709: bis_debug_pub.Add('> write_success_views');

705: l_pad NUMBER;
706: l_result view_gen_success_type;
707: BEGIN
708:
709: bis_debug_pub.Add('> write_success_views');
710: x_return_status := FND_API.G_RET_STS_SUCCESS;
711:
712: l_src := fnd_message.get_string( BIS_VG_TYPES.message_application
713: , 'BIS_VG_SOURCE_VIEW_HEADING'

Line 750: bis_debug_pub.Add('< write_success_views');

746: , x_error_Tbl
747: );
748: END LOOP;
749:
750: bis_debug_pub.Add('< write_success_views');
751:
752: EXCEPTION
753: when FND_API.G_EXC_ERROR then
754: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 796: bis_debug_pub.Add('> write_failure_views');

792: l_view_name_prompt VARCHAR2(100);
793: l_err_code_prompt VARCHAR2(100);
794: l_err_msg_prompt VARCHAR2(100);
795: BEGIN
796: bis_debug_pub.Add('> write_failure_views');
797: x_return_status := FND_API.G_RET_STS_SUCCESS;
798:
799: FOR i IN l_start .. p_gen_failure_table.COUNT LOOP
800: l_result := p_gen_failure_table(i);

Line 824: bis_debug_pub.Add('< write_failure_views');

820: , x_error_Tbl
821: );
822: END LOOP;
823:
824: bis_debug_pub.Add('< write_failure_views');
825:
826: EXCEPTION
827: when FND_API.G_EXC_ERROR then
828: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 881: bis_debug_pub.Add('> write_log');

877: )
878: IS
879: l_msg_str VARCHAR2(2000);
880: BEGIN
881: bis_debug_pub.Add('> write_log');
882: x_return_status := FND_API.G_RET_STS_SUCCESS;
883: write_header ( p_mode, x_return_status, x_error_Tbl);
884: write_blank_line(p_mode, 1, x_return_status, x_error_Tbl);
885: write_inputs( p_mode

Line 921: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);

917: );
918: write_blank_line(p_mode, 1, x_return_status, x_error_Tbl);
919: END IF;
920:
921: bis_debug_pub.add('g_gen_failure_table.count = '||g_gen_failure_table.count);
922: IF (g_gen_failure_table.COUNT > 0) THEN
923: IF (g_gen_success_table.COUNT = 0) THEN
924: l_msg_str := fnd_message.get_string( BIS_VG_TYPES.message_application
925: , 'BIS_VG_ALL_VIEWS_UNSUCCESSFUL'

Line 945: bis_debug_pub.Add('< write_log');

941:
942: IF (p_mode = bis_vg_types.production_mode) THEN
943: fnd_file.CLOSE;
944: END IF;
945: bis_debug_pub.Add('< write_log');
946:
947: EXCEPTION
948: when FND_API.G_EXC_ERROR then
949: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 982: bis_debug_pub.Add('> write_error_to_string');

978: IS
979: l_result view_gen_failure_type;
980: l_start NUMBER := 1;
981: BEGIN
982: bis_debug_pub.Add('> write_error_to_string');
983: x_error_string := x_error_string
984: || g_newline
985: || 'Error Count = '
986: || g_gen_failure_table.COUNT;

Line 1001: bis_debug_pub.Add('< write_error_to_string');

997: || l_result.error_description
998: || g_newline;
999: END LOOP;
1000:
1001: bis_debug_pub.Add('< write_error_to_string');
1002:
1003: EXCEPTION
1004: --- WHEN numeric_or_value_error THEN
1005: --- --- This might happen if the string becomes too long