DBA Data[Home] [Help]

APPS.M4U_XML_EXTN dependencies on FND_API

Line 52: RAISE FND_API.G_EXC_ERROR;

48: x_ret_sts := g_err_code;
49: IF g_log_lvl <= 1 THEN
50: cln_debug_pub.add('Fetch global variable error',1);
51: END IF;
52: RAISE FND_API.G_EXC_ERROR;
53: END;
54: -- if mapping type view, call lookup view value
55: ELSIF a_elmt_rec.map_typ = m4u_xml_extn_utils.c_maptyp_view THEN
56:

Line 65: RAISE FND_API.G_EXC_ERROR;

61: IF x_ret_sts <> g_success_code THEN
62: IF g_log_lvl <= 1 THEN
63: cln_debug_pub.add('lookup_view_value returns error',1);
64: END IF;
65: RAISE FND_API.G_EXC_ERROR;
66: END IF;
67:
68: ELSE
69: -- unknown mapping type

Line 79: RAISE FND_API.G_EXC_ERROR;

75: FND_MESSAGE.SET_TOKEN('PARAM','Element mapping type');
76: FND_MESSAGE.SET_TOKEN('VALUE',a_elmt_rec.map_typ);
77: x_ret_msg := FND_MESSAGE.GET;
78: x_ret_sts := g_err_code;
79: RAISE FND_API.G_EXC_ERROR;
80:
81: END IF;
82: -- return success
83: x_ret_sts := g_success_code;

Line 95: WHEN FND_API.G_EXC_ERROR THEN

91: l_tmp_val := m4u_xml_extn_utils.escape_entities(l_tmp_val);
92:
93: RETURN l_tmp_val;
94: EXCEPTION
95: WHEN FND_API.G_EXC_ERROR THEN
96: IF g_log_lvl <= 6 THEN
97: cln_debug_pub.add('Exiting m4u_xml_extn.get_node_value - Error',6);
98: cln_debug_pub.add('x_ret_msg - ' || x_ret_msg,6);
99: END IF;

Line 217: RAISE FND_API.G_EXC_ERROR;

213: IF x_ret_sts <> g_success_code THEN
214: IF g_log_lvl <= 1 THEN
215: cln_debug_pub.add('get_node_value returns fail',1);
216: END IF;
217: RAISE FND_API.G_EXC_ERROR;
218: END IF;
219: -- print attribute="value" to the xml
220: IF l_tmp_val is NOT NULL OR g_remove_empty_attr = false THEN
221: l_xml := l_xml || ' ' || l_elmt_rec.name || '="' || l_tmp_val || '"';

Line 245: RAISE FND_API.G_EXC_ERROR;

241: IF x_ret_sts <> g_success_code THEN
242: IF g_log_lvl <= 1 THEN
243: cln_debug_pub.add('get_node_value returns fail',1);
244: END IF;
245: RAISE FND_API.G_EXC_ERROR;
246: END IF;
247: END IF;
248:
249: IF l_el_val IS NOT NULL OR a_elmt_rec.type = m4u_xml_extn_utils.c_nodetyp_cont THEN

Line 258: RAISE FND_API.G_EXC_ERROR;

254: IF x_ret_sts <> g_success_code THEN
255: IF g_log_lvl <= 1 THEN
256: cln_debug_pub.add('push_end_tag returns fail',1);
257: END IF;
258: RAISE FND_API.G_EXC_ERROR;
259: END IF;
260: ELSE
261: -- if element is empty and there are no non-null attributes
262: -- then don't print the element

Line 289: WHEN FND_API.G_EXC_ERROR THEN

285:
286: RETURN l_xml;
287:
288: EXCEPTION
289: WHEN FND_API.G_EXC_ERROR THEN
290: IF g_log_lvl <= 6 THEN
291: cln_debug_pub.add('Exiting m4u_xml_extn.process_element - Error',6);
292: cln_debug_pub.add('x_ret_msg - ' || x_ret_msg,6);
293: END IF;

Line 508: RAISE FND_API.G_EXC_ERROR;

504: cln_debug_pub.add('x_ret_msg - ' || x_ret_msg,1);
505: cln_debug_pub.add('x_ret_sts - ' || x_ret_sts,1);
506: END IF;
507: IF x_ret_sts <> g_success_code THEN
508: RAISE FND_API.G_EXC_ERROR;
509: END IF;
510:
511: m4u_xml_extn_utils.push_lvl_stack(l_lvl_id,x_ret_sts,x_ret_msg);
512: IF g_log_lvl <= 1 THEN

Line 518: RAISE FND_API.G_EXC_ERROR;

514: cln_debug_pub.add('x_ret_msg - ' || x_ret_msg,1);
515: cln_debug_pub.add('x_ret_sts - ' || x_ret_sts,1);
516: END IF;
517: IF x_ret_sts <> g_success_code THEN
518: RAISE FND_API.G_EXC_ERROR;
519: END IF;
520:
521: IF g_log_lvl <= 1 THEN
522: cln_debug_pub.add('Level count - ' || l_lvl_rec.rpt_count,1);

Line 553: RAISE FND_API.G_EXC_ERROR;

549: IF g_log_lvl <= 1 THEN
550: cln_debug_pub.add('pop_end_tags - ' || x_ret_sts,1);
551: END IF;
552: IF x_ret_sts <> g_success_code THEN
553: RAISE FND_API.G_EXC_ERROR;
554: END IF;
555: l_prv_idx := l_cur_idx;
556: l_cur_idx := a_strt_idx;
557: -- store changes back into global list of levels

Line 583: RAISE FND_API.G_EXC_ERROR;

579: IF g_log_lvl <= 1 THEN
580: cln_debug_pub.add('pop_end_tags x_ret_sts - ' || x_ret_sts,1);
581: END IF;
582: IF x_ret_sts <> g_success_code THEN
583: RAISE FND_API.G_EXC_ERROR;
584: END IF;
585:
586: l_xml := l_xml || process_element(l_elmt_rec,l_cur_idx,l_lvl_rec,
587: l_nxt_idx,x_ret_sts,x_ret_msg);

Line 593: RAISE FND_API.G_EXC_ERROR;

589: IF g_log_lvl <= 1 THEN
590: cln_debug_pub.add('process_element x_ret_sts - ' || x_ret_sts,1);
591: END IF;
592: IF x_ret_sts <> g_success_code THEN
593: RAISE FND_API.G_EXC_ERROR;
594: END IF;
595:
596: l_prv_idx := l_cur_idx;
597: l_cur_idx := l_nxt_idx;

Line 626: RAISE FND_API.G_EXC_ERROR;

622: IF g_log_lvl <= 1 THEN
623: cln_debug_pub.add('pop_end_tags - ' || x_ret_sts,1);
624: END IF;
625: IF x_ret_sts <> g_success_code THEN
626: RAISE FND_API.G_EXC_ERROR;
627: END IF;
628:
629: process_level(l_cur_idx,l_tmp_xml,l_nxt_idx,x_ret_sts,x_ret_msg);
630:

Line 665: RAISE FND_API.G_EXC_ERROR;

661: IF g_log_lvl <= 1 THEN
662: cln_debug_pub.add('pop_end_tags x_ret_sts - ' || x_ret_sts,1);
663: END IF;
664: IF x_ret_sts <> g_success_code THEN
665: RAISE FND_API.G_EXC_ERROR;
666: END IF;
667:
668: l_lvl_rec.cntr := l_lvl_rec.cntr +1;
669: l_prv_idx := -1;

Line 692: RAISE FND_API.G_EXC_ERROR;

688: IF g_log_lvl <= 1 THEN
689: cln_debug_pub.add('pop_end_tags x_ret_sts - ' || x_ret_sts,1);
690: END IF;
691: IF x_ret_sts <> g_success_code THEN
692: RAISE FND_API.G_EXC_ERROR;
693: END IF;
694: -- above code can be deleted
695:
696: m4u_xml_extn_utils.un_init_level(l_lvl_id,x_ret_sts,x_ret_msg);

Line 701: RAISE FND_API.G_EXC_ERROR;

697: IF g_log_lvl <= 1 THEN
698: cln_debug_pub.add('m4u_xml_extn_utils.un_init_level - ' || x_ret_sts,1);
699: END IF;
700: IF x_ret_sts <> g_success_code THEN
701: RAISE FND_API.G_EXC_ERROR;
702: END IF;
703:
704:
705: IF l_ret_idx = -1 THEN

Line 714: RAISE FND_API.G_EXC_ERROR;

710: IF g_log_lvl <= 1 THEN
711: cln_debug_pub.add('ret_idx - ' || l_ret_idx ,1);
712: END IF;
713: IF x_ret_sts <> g_success_code THEN
714: RAISE FND_API.G_EXC_ERROR;
715: END IF;
716: END IF;
717: IF g_log_lvl <= 1 THEN
718: cln_debug_pub.add('m4u_xml_extn_utils.next_lvl_elmnt: l_ret_idx - ' || l_ret_idx,1);

Line 726: RAISE FND_API.G_EXC_ERROR;

722: IF g_log_lvl <= 1 THEN
723: cln_debug_pub.add('m4u_xml_extn_utils.pop_lvl_stack x_ret_sts - ' || x_ret_sts,1);
724: END IF;
725: IF x_ret_sts <> g_success_code THEN
726: RAISE FND_API.G_EXC_ERROR;
727: END IF;
728:
729: x_xml := l_xml;
730: x_ret_sts := g_success_code;

Line 738: WHEN FND_API.G_EXC_ERROR THEN

734: IF g_log_lvl <= 2 THEN
735: cln_debug_pub.add('Exiting m4u_xml_extn.process_level',2);
736: END IF;
737: EXCEPTION
738: WHEN FND_API.G_EXC_ERROR THEN
739: IF g_log_lvl <= 6 THEN
740: cln_debug_pub.add('process_level - WHEN FND_API.G_EXC_ERROR',6);
741: cln_debug_pub.add('l_lvl_id - ' || l_lvl_id ,6);
742: cln_debug_pub.add('l_cur_idx - ' || l_cur_idx ,6);

Line 740: cln_debug_pub.add('process_level - WHEN FND_API.G_EXC_ERROR',6);

736: END IF;
737: EXCEPTION
738: WHEN FND_API.G_EXC_ERROR THEN
739: IF g_log_lvl <= 6 THEN
740: cln_debug_pub.add('process_level - WHEN FND_API.G_EXC_ERROR',6);
741: cln_debug_pub.add('l_lvl_id - ' || l_lvl_id ,6);
742: cln_debug_pub.add('l_cur_idx - ' || l_cur_idx ,6);
743: cln_debug_pub.add('l_progress - ' || l_progress ,6);
744: cln_debug_pub.add('x_ret_msg - ' || x_ret_msg ,6);

Line 934: g_success_code := FND_API.G_RET_STS_SUCCESS;

930:
931: BEGIN
932: -- initialize contansts and profile dependant values
933: g_log_lvl := NVL(FND_PROFILE.VALUE('CLN_DEBUG_LEVEL'), 5);
934: g_success_code := FND_API.G_RET_STS_SUCCESS;
935: g_err_code := FND_API.G_RET_STS_ERROR;
936: g_unexp_err_code := FND_API.G_RET_STS_UNEXP_ERROR;
937: END m4u_xml_extn;

Line 935: g_err_code := FND_API.G_RET_STS_ERROR;

931: BEGIN
932: -- initialize contansts and profile dependant values
933: g_log_lvl := NVL(FND_PROFILE.VALUE('CLN_DEBUG_LEVEL'), 5);
934: g_success_code := FND_API.G_RET_STS_SUCCESS;
935: g_err_code := FND_API.G_RET_STS_ERROR;
936: g_unexp_err_code := FND_API.G_RET_STS_UNEXP_ERROR;
937: END m4u_xml_extn;

Line 936: g_unexp_err_code := FND_API.G_RET_STS_UNEXP_ERROR;

932: -- initialize contansts and profile dependant values
933: g_log_lvl := NVL(FND_PROFILE.VALUE('CLN_DEBUG_LEVEL'), 5);
934: g_success_code := FND_API.G_RET_STS_SUCCESS;
935: g_err_code := FND_API.G_RET_STS_ERROR;
936: g_unexp_err_code := FND_API.G_RET_STS_UNEXP_ERROR;
937: END m4u_xml_extn;