DBA Data[Home] [Help]

APPS.FA_RX_PUBLISH dependencies on FND_MESSAGE

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

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

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

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

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

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

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

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

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

1162: fetch ccol into rcol;
1163: exit when ccol%notfound;
1164:
1165: if (rcol.display_length = 0) then
1166: fnd_message.set_name('OFA', 'FA_RX_LENGTH_IS_ZERO');
1167: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1168: fa_rx_util_pkg.log(fnd_message.get);
1169: GOTO end_loop;
1170: end if;

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

1163: exit when ccol%notfound;
1164:
1165: if (rcol.display_length = 0) then
1166: fnd_message.set_name('OFA', 'FA_RX_LENGTH_IS_ZERO');
1167: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1168: fa_rx_util_pkg.log(fnd_message.get);
1169: GOTO end_loop;
1170: end if;
1171:

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

1164:
1165: if (rcol.display_length = 0) then
1166: fnd_message.set_name('OFA', 'FA_RX_LENGTH_IS_ZERO');
1167: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1168: fa_rx_util_pkg.log(fnd_message.get);
1169: GOTO end_loop;
1170: end if;
1171:
1172: IF (rcol.display_length > 255) THEN

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

1169: GOTO end_loop;
1170: end if;
1171:
1172: IF (rcol.display_length > 255) THEN
1173: fnd_message.set_name('OFA', 'FA_RX_LENGTH_RESET');
1174: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1175: fa_rx_util_pkg.Log(fnd_message.get);
1176: rcol.display_length := 255;
1177: END IF;

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

1170: end if;
1171:
1172: IF (rcol.display_length > 255) THEN
1173: fnd_message.set_name('OFA', 'FA_RX_LENGTH_RESET');
1174: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1175: fa_rx_util_pkg.Log(fnd_message.get);
1176: rcol.display_length := 255;
1177: END IF;
1178:

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

1171:
1172: IF (rcol.display_length > 255) THEN
1173: fnd_message.set_name('OFA', 'FA_RX_LENGTH_RESET');
1174: fnd_message.set_token('COLUMN_NAME', rcol.column_name);
1175: fa_rx_util_pkg.Log(fnd_message.get);
1176: rcol.display_length := 255;
1177: END IF;
1178:
1179: m_column_count := m_column_count + 1;

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

1207: IF (g_print_debug) THEN
1208: fa_rx_util_pkg.debug('is_multi_format_report: ' || 'Retrieved '||to_char(m_column_count)||' column(s)');
1209: END IF;
1210: IF (m_column_count = 0) THEN
1211: fnd_message.set_name('OFA', 'FA_RX_NO_DISPLAYED_COLUMNS');
1212: -- fa_rx_util_pkg.Log(fnd_message.get);
1213: app_exception.raise_exception;
1214: END IF;
1215:

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

1208: fa_rx_util_pkg.debug('is_multi_format_report: ' || 'Retrieved '||to_char(m_column_count)||' column(s)');
1209: END IF;
1210: IF (m_column_count = 0) THEN
1211: fnd_message.set_name('OFA', 'FA_RX_NO_DISPLAYED_COLUMNS');
1212: -- fa_rx_util_pkg.Log(fnd_message.get);
1213: app_exception.raise_exception;
1214: END IF;
1215:
1216: --

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

2436: when invalid_result_columns then
2437: IF (g_print_debug) THEN
2438: fa_rx_util_pkg.debug('Expand_Complex_Multiformat: ' || 'Cannot use complex mode for these sets of reports');
2439: END IF;
2440: fnd_message.set_name('OFA', 'FA_RX_INVALID_USE_OF_COMPLEX');
2441: app_exception.raise_exception;
2442: end;
2443: for idx in 1..numcols loop
2444: dbms_sql.define_column(c, idx, buf, 400);

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

2531: current_pos := -2;
2532: current_line := 1;
2533: for colrow in col(min_level, break_flag) loop
2534: if colrow.display_length > max_width then
2535: fnd_message.set_name('OFA', 'FA_RX_COLUMN_TOO_WIDE');
2536: fnd_message.set_token('COLUMN_NAME', colrow.attribute_name);
2537: return FALSE;
2538: end if;
2539:

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

2532: current_line := 1;
2533: for colrow in col(min_level, break_flag) loop
2534: if colrow.display_length > max_width then
2535: fnd_message.set_name('OFA', 'FA_RX_COLUMN_TOO_WIDE');
2536: fnd_message.set_token('COLUMN_NAME', colrow.attribute_name);
2537: return FALSE;
2538: end if;
2539:
2540: if current_pos + 2 + colrow.display_length > max_width then

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

2559: for i in 1..m_format_count loop
2560: pos := 0;
2561: line := 0;
2562: if not calculate_pos(i, 'Y', m_report.page_width, last_pos, last_line) then
2563: -- fa_rx_util_pkg.Log(fnd_message.get);
2564: app_exception.raise_exception;
2565: end if;
2566: pos := last_pos;
2567: line := last_line;

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

2567: line := last_line;
2568:
2569: if m_formats(i).group_display_type = 'GROUP LEFT' then
2570: if not calculate_pos(i, 'N', m_report.page_width - 2 - pos, last_pos, last_line) then
2571: fa_rx_util_pkg.debug(fnd_message.get);
2572: fnd_message.set_name('OFA', 'FA_RX_GROUP_ABOVE_USED');
2573: fa_rx_util_pkg.log(fnd_message.get);
2574:
2575: m_formats(i).group_display_type := 'GROUP ABOVE';

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

2568:
2569: if m_formats(i).group_display_type = 'GROUP LEFT' then
2570: if not calculate_pos(i, 'N', m_report.page_width - 2 - pos, last_pos, last_line) then
2571: fa_rx_util_pkg.debug(fnd_message.get);
2572: fnd_message.set_name('OFA', 'FA_RX_GROUP_ABOVE_USED');
2573: fa_rx_util_pkg.log(fnd_message.get);
2574:
2575: m_formats(i).group_display_type := 'GROUP ABOVE';
2576: else

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

2569: if m_formats(i).group_display_type = 'GROUP LEFT' then
2570: if not calculate_pos(i, 'N', m_report.page_width - 2 - pos, last_pos, last_line) then
2571: fa_rx_util_pkg.debug(fnd_message.get);
2572: fnd_message.set_name('OFA', 'FA_RX_GROUP_ABOVE_USED');
2573: fa_rx_util_pkg.log(fnd_message.get);
2574:
2575: m_formats(i).group_display_type := 'GROUP ABOVE';
2576: else
2577: line := line + last_line - 1;

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

2579: end if;
2580:
2581: if m_formats(i).group_display_type = 'GROUP ABOVE' then
2582: if not calculate_pos(i, 'N', m_report.page_width, last_pos, last_line) then
2583: -- fa_rx_util_pkg.Log(fnd_message.get);
2584: app_exception.raise_exception;
2585: else
2586: line := line + last_line;
2587: end if;

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

2595:
2596: if m_report.page_height <> 0 then
2597: -- Check page height
2598: if max_lines*2 + 20 > m_report.page_height then
2599: fnd_message.set_name('OFA', 'FA_RX_PAGE_HEIGHT_TOO_SMALL');
2600: -- fa_rx_util_pkg.Log(fnd_message.get);
2601: app_exception.raise_exception;
2602: end if;
2603: end if;

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

2596: if m_report.page_height <> 0 then
2597: -- Check page height
2598: if max_lines*2 + 20 > m_report.page_height then
2599: fnd_message.set_name('OFA', 'FA_RX_PAGE_HEIGHT_TOO_SMALL');
2600: -- fa_rx_util_pkg.Log(fnd_message.get);
2601: app_exception.raise_exception;
2602: end if;
2603: end if;
2604:

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

2701:
2702: If to_number(l_Reporting_Level) = 1000 Then --* if 1000, then it means it is legal entity.
2703: l_ld_sp:= mo_utils.check_ledger_in_sp(TO_NUMBER(l_reporting_entity_id)); --* if 1000, then use the p_reporting_entity_id
2704: IF l_ld_sp = 'N' THEN
2705: FND_MESSAGE.SET_NAME('FND','FND_MO_RPT_PARTIAL_LEDGER');
2706: xMoac_Message :=FND_MESSAGE.get;
2707: END IF;
2708: END IF;
2709: fa_rx_util_pkg.debug(' xMoac_Message = '||xMoac_Message);

Line 2706: xMoac_Message :=FND_MESSAGE.get;

2702: If to_number(l_Reporting_Level) = 1000 Then --* if 1000, then it means it is legal entity.
2703: l_ld_sp:= mo_utils.check_ledger_in_sp(TO_NUMBER(l_reporting_entity_id)); --* if 1000, then use the p_reporting_entity_id
2704: IF l_ld_sp = 'N' THEN
2705: FND_MESSAGE.SET_NAME('FND','FND_MO_RPT_PARTIAL_LEDGER');
2706: xMoac_Message :=FND_MESSAGE.get;
2707: END IF;
2708: END IF;
2709: fa_rx_util_pkg.debug(' xMoac_Message = '||xMoac_Message);
2710: Exception