DBA Data[Home] [Help]

APPS.FA_RX_PUBLISH dependencies on FND_MESSAGE

Line 375: fnd_message.set_name('OFA', 'FA_RX_NO_SOB_COLUMN');

371: --
372: -- The column did not exist in the database
373: -- Set SOB info to null;
374: --
375: fnd_message.set_name('OFA', 'FA_RX_NO_SOB_COLUMN');
376: IF (g_print_debug) THEN
377: fa_rx_util_pkg.debug('is_multi_format_report: ' || fnd_message.get);
378: END IF;
379: m_report.display_set_of_books := 'N';

Line 377: fa_rx_util_pkg.debug('is_multi_format_report: ' || fnd_message.get);

373: -- Set SOB info to null;
374: --
375: fnd_message.set_name('OFA', 'FA_RX_NO_SOB_COLUMN');
376: IF (g_print_debug) THEN
377: fa_rx_util_pkg.debug('is_multi_format_report: ' || fnd_message.get);
378: END IF;
379: m_report.display_set_of_books := 'N';
380: m_report.display_functional_currency := 'N';
381: m_report.set_of_books_name := null;

Line 395: fnd_message.set_name('OFA', 'FA_RX_NO_SOB_COLUMN');

391:
392: exception
393: when others then
394: -- no set of books
395: fnd_message.set_name('OFA', 'FA_RX_NO_SOB_COLUMN');
396: IF (g_print_debug) THEN
397: fa_rx_util_pkg.debug('is_multi_format_report: ' || fnd_message.get);
398: END IF;
399:

Line 397: fa_rx_util_pkg.debug('is_multi_format_report: ' || fnd_message.get);

393: when others then
394: -- no set of books
395: fnd_message.set_name('OFA', 'FA_RX_NO_SOB_COLUMN');
396: IF (g_print_debug) THEN
397: fa_rx_util_pkg.debug('is_multi_format_report: ' || fnd_message.get);
398: END IF;
399:
400: m_report.display_set_of_books := 'N';
401: m_report.display_functional_currency := 'N';

Line 1182: fnd_message.set_name('OFA', 'FA_RX_LENGTH_IS_ZERO');

1178: fetch ccol into rcol;
1179: exit when ccol%notfound;
1180:
1181: if (rcol.display_length = 0) then
1182: fnd_message.set_name('OFA', 'FA_RX_LENGTH_IS_ZERO');
1183: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1184: fa_rx_util_pkg.log(fnd_message.get);
1185: GOTO end_loop;
1186: end if;

Line 1183: fnd_message.set_token('COLUMN_NAME', rcol.column_name);

1179: exit when ccol%notfound;
1180:
1181: if (rcol.display_length = 0) then
1182: fnd_message.set_name('OFA', 'FA_RX_LENGTH_IS_ZERO');
1183: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1184: fa_rx_util_pkg.log(fnd_message.get);
1185: GOTO end_loop;
1186: end if;
1187:

Line 1184: fa_rx_util_pkg.log(fnd_message.get);

1180:
1181: if (rcol.display_length = 0) then
1182: fnd_message.set_name('OFA', 'FA_RX_LENGTH_IS_ZERO');
1183: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1184: fa_rx_util_pkg.log(fnd_message.get);
1185: GOTO end_loop;
1186: end if;
1187:
1188: IF (rcol.display_length > 255) THEN

Line 1189: fnd_message.set_name('OFA', 'FA_RX_LENGTH_RESET');

1185: GOTO end_loop;
1186: end if;
1187:
1188: IF (rcol.display_length > 255) THEN
1189: fnd_message.set_name('OFA', 'FA_RX_LENGTH_RESET');
1190: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1191: fa_rx_util_pkg.Log(fnd_message.get);
1192: rcol.display_length := 255;
1193: END IF;

Line 1190: fnd_message.set_token('COLUMN_NAME', rcol.column_name);

1186: end if;
1187:
1188: IF (rcol.display_length > 255) THEN
1189: fnd_message.set_name('OFA', 'FA_RX_LENGTH_RESET');
1190: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1191: fa_rx_util_pkg.Log(fnd_message.get);
1192: rcol.display_length := 255;
1193: END IF;
1194:

Line 1191: fa_rx_util_pkg.Log(fnd_message.get);

1187:
1188: IF (rcol.display_length > 255) THEN
1189: fnd_message.set_name('OFA', 'FA_RX_LENGTH_RESET');
1190: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1191: fa_rx_util_pkg.Log(fnd_message.get);
1192: rcol.display_length := 255;
1193: END IF;
1194:
1195: m_column_count := m_column_count + 1;

Line 1227: fnd_message.set_name('OFA', 'FA_RX_NO_DISPLAYED_COLUMNS');

1223: IF (g_print_debug) THEN
1224: fa_rx_util_pkg.debug('is_multi_format_report: ' || 'Retrieved '||to_char(m_column_count)||' column(s)');
1225: END IF;
1226: IF (m_column_count = 0) THEN
1227: fnd_message.set_name('OFA', 'FA_RX_NO_DISPLAYED_COLUMNS');
1228: -- fa_rx_util_pkg.Log(fnd_message.get);
1229: app_exception.raise_exception;
1230: END IF;
1231:

Line 1228: -- fa_rx_util_pkg.Log(fnd_message.get);

1224: fa_rx_util_pkg.debug('is_multi_format_report: ' || 'Retrieved '||to_char(m_column_count)||' column(s)');
1225: END IF;
1226: IF (m_column_count = 0) THEN
1227: fnd_message.set_name('OFA', 'FA_RX_NO_DISPLAYED_COLUMNS');
1228: -- fa_rx_util_pkg.Log(fnd_message.get);
1229: app_exception.raise_exception;
1230: END IF;
1231:
1232: --

Line 2508: fnd_message.set_name('OFA', 'FA_RX_INVALID_USE_OF_COMPLEX');

2504: when invalid_result_columns then
2505: IF (g_print_debug) THEN
2506: fa_rx_util_pkg.debug('Expand_Complex_Multiformat: ' || 'Cannot use complex mode for these sets of reports');
2507: END IF;
2508: fnd_message.set_name('OFA', 'FA_RX_INVALID_USE_OF_COMPLEX');
2509: app_exception.raise_exception;
2510: end;
2511: for idx in 1..numcols loop
2512: dbms_sql.define_column(c, idx, buf, 400);

Line 2603: fnd_message.set_name('OFA', 'FA_RX_COLUMN_TOO_WIDE');

2599: current_pos := -2;
2600: current_line := 1;
2601: for colrow in col(min_level, break_flag) loop
2602: if colrow.display_length > max_width then
2603: fnd_message.set_name('OFA', 'FA_RX_COLUMN_TOO_WIDE');
2604: fnd_message.set_token('COLUMN_NAME', colrow.attribute_name);
2605: return FALSE;
2606: end if;
2607:

Line 2604: fnd_message.set_token('COLUMN_NAME', colrow.attribute_name);

2600: current_line := 1;
2601: for colrow in col(min_level, break_flag) loop
2602: if colrow.display_length > max_width then
2603: fnd_message.set_name('OFA', 'FA_RX_COLUMN_TOO_WIDE');
2604: fnd_message.set_token('COLUMN_NAME', colrow.attribute_name);
2605: return FALSE;
2606: end if;
2607:
2608: if current_pos + 2 + colrow.display_length > max_width then

Line 2631: -- fa_rx_util_pkg.Log(fnd_message.get);

2627: for i in 1..m_format_count loop
2628: pos := 0;
2629: line := 0;
2630: if not calculate_pos(i, 'Y', m_report.page_width, last_pos, last_line) then
2631: -- fa_rx_util_pkg.Log(fnd_message.get);
2632: app_exception.raise_exception;
2633: end if;
2634: pos := last_pos;
2635: line := last_line;

Line 2639: fa_rx_util_pkg.debug(fnd_message.get);

2635: line := last_line;
2636:
2637: if m_formats(i).group_display_type = 'GROUP LEFT' then
2638: if not calculate_pos(i, 'N', m_report.page_width - 2 - pos, last_pos, last_line) then
2639: fa_rx_util_pkg.debug(fnd_message.get);
2640: fnd_message.set_name('OFA', 'FA_RX_GROUP_ABOVE_USED');
2641: fa_rx_util_pkg.log(fnd_message.get);
2642:
2643: m_formats(i).group_display_type := 'GROUP ABOVE';

Line 2640: fnd_message.set_name('OFA', 'FA_RX_GROUP_ABOVE_USED');

2636:
2637: if m_formats(i).group_display_type = 'GROUP LEFT' then
2638: if not calculate_pos(i, 'N', m_report.page_width - 2 - pos, last_pos, last_line) then
2639: fa_rx_util_pkg.debug(fnd_message.get);
2640: fnd_message.set_name('OFA', 'FA_RX_GROUP_ABOVE_USED');
2641: fa_rx_util_pkg.log(fnd_message.get);
2642:
2643: m_formats(i).group_display_type := 'GROUP ABOVE';
2644: else

Line 2641: fa_rx_util_pkg.log(fnd_message.get);

2637: if m_formats(i).group_display_type = 'GROUP LEFT' then
2638: if not calculate_pos(i, 'N', m_report.page_width - 2 - pos, last_pos, last_line) then
2639: fa_rx_util_pkg.debug(fnd_message.get);
2640: fnd_message.set_name('OFA', 'FA_RX_GROUP_ABOVE_USED');
2641: fa_rx_util_pkg.log(fnd_message.get);
2642:
2643: m_formats(i).group_display_type := 'GROUP ABOVE';
2644: else
2645: line := line + last_line - 1;

Line 2651: -- fa_rx_util_pkg.Log(fnd_message.get);

2647: end if;
2648:
2649: if m_formats(i).group_display_type = 'GROUP ABOVE' then
2650: if not calculate_pos(i, 'N', m_report.page_width, last_pos, last_line) then
2651: -- fa_rx_util_pkg.Log(fnd_message.get);
2652: app_exception.raise_exception;
2653: else
2654: line := line + last_line;
2655: end if;

Line 2667: fnd_message.set_name('OFA', 'FA_RX_PAGE_HEIGHT_TOO_SMALL');

2663:
2664: if m_report.page_height <> 0 then
2665: -- Check page height
2666: if max_lines*2 + 20 > m_report.page_height then
2667: fnd_message.set_name('OFA', 'FA_RX_PAGE_HEIGHT_TOO_SMALL');
2668: -- fa_rx_util_pkg.Log(fnd_message.get);
2669: app_exception.raise_exception;
2670: end if;
2671: end if;

Line 2668: -- fa_rx_util_pkg.Log(fnd_message.get);

2664: if m_report.page_height <> 0 then
2665: -- Check page height
2666: if max_lines*2 + 20 > m_report.page_height then
2667: fnd_message.set_name('OFA', 'FA_RX_PAGE_HEIGHT_TOO_SMALL');
2668: -- fa_rx_util_pkg.Log(fnd_message.get);
2669: app_exception.raise_exception;
2670: end if;
2671: end if;
2672:

Line 2780: FND_MESSAGE.SET_NAME('FND','FND_MO_RPT_PARTIAL_LEDGER');

2776:
2777: If to_number(l_Reporting_Level) = 1000 Then --* if 1000, then it means it is legal entity.
2778: l_ld_sp:= mo_utils.check_ledger_in_sp(TO_NUMBER(l_reporting_entity_id)); --* if 1000, then use the p_reporting_entity_id
2779: IF l_ld_sp = 'N' THEN
2780: FND_MESSAGE.SET_NAME('FND','FND_MO_RPT_PARTIAL_LEDGER');
2781: xMoac_Message :=FND_MESSAGE.get;
2782: END IF;
2783: END IF;
2784: fa_rx_util_pkg.debug(' xMoac_Message = '||xMoac_Message);

Line 2781: xMoac_Message :=FND_MESSAGE.get;

2777: If to_number(l_Reporting_Level) = 1000 Then --* if 1000, then it means it is legal entity.
2778: l_ld_sp:= mo_utils.check_ledger_in_sp(TO_NUMBER(l_reporting_entity_id)); --* if 1000, then use the p_reporting_entity_id
2779: IF l_ld_sp = 'N' THEN
2780: FND_MESSAGE.SET_NAME('FND','FND_MO_RPT_PARTIAL_LEDGER');
2781: xMoac_Message :=FND_MESSAGE.get;
2782: END IF;
2783: END IF;
2784: fa_rx_util_pkg.debug(' xMoac_Message = '||xMoac_Message);
2785: END IF; --if g_release = 12