DBA Data[Home] [Help]

APPS.FND_FUNCTION dependencies on FND_FUNCTION

Line 1: package body FND_FUNCTION as

1: package body FND_FUNCTION as
2: /* $Header: AFSCFNSB.pls 120.11 2011/12/05 12:28:21 srinnakk ship $ */
3:
4: C_PKG_NAME CONSTANT VARCHAR2(30) := 'FND_FUNCTION';
5: C_LOG_HEAD CONSTANT VARCHAR2(30) := 'fnd.plsql.FND_FUNCTION.';

Line 4: C_PKG_NAME CONSTANT VARCHAR2(30) := 'FND_FUNCTION';

1: package body FND_FUNCTION as
2: /* $Header: AFSCFNSB.pls 120.11 2011/12/05 12:28:21 srinnakk ship $ */
3:
4: C_PKG_NAME CONSTANT VARCHAR2(30) := 'FND_FUNCTION';
5: C_LOG_HEAD CONSTANT VARCHAR2(30) := 'fnd.plsql.FND_FUNCTION.';
6:
7: /* These column values mark a menu as uncompiled. */
8: /* These will be stored in the FUNCTION_ID and GRANT_FLAG to indicate */

Line 5: C_LOG_HEAD CONSTANT VARCHAR2(30) := 'fnd.plsql.FND_FUNCTION.';

1: package body FND_FUNCTION as
2: /* $Header: AFSCFNSB.pls 120.11 2011/12/05 12:28:21 srinnakk ship $ */
3:
4: C_PKG_NAME CONSTANT VARCHAR2(30) := 'FND_FUNCTION';
5: C_LOG_HEAD CONSTANT VARCHAR2(30) := 'fnd.plsql.FND_FUNCTION.';
6:
7: /* These column values mark a menu as uncompiled. */
8: /* These will be stored in the FUNCTION_ID and GRANT_FLAG to indicate */
9: /* that a particular menu has been modified and needs to be recompiled */

Line 1089: if (FND_FUNCTION.G_ALREADY_FAST_COMPILED <> 'T') then

1085: 'p_menu_id =>'|| to_char(p_menu_id) ||
1086: 'p_check_grant_flag (as vc) =>'|| p_chk_gnt_as_vc || ');');
1087: end if;
1088:
1089: if (FND_FUNCTION.G_ALREADY_FAST_COMPILED <> 'T') then
1090: FND_FUNCTION.FAST_COMPILE;
1091: end if;
1092:
1093: -- Check first if there are any compiled rows at all for the menu

Line 1090: FND_FUNCTION.FAST_COMPILE;

1086: 'p_check_grant_flag (as vc) =>'|| p_chk_gnt_as_vc || ');');
1087: end if;
1088:
1089: if (FND_FUNCTION.G_ALREADY_FAST_COMPILED <> 'T') then
1090: FND_FUNCTION.FAST_COMPILE;
1091: end if;
1092:
1093: -- Check first if there are any compiled rows at all for the menu
1094: some_compiled_menus := FALSE;

Line 2006: -- FND_FUNCTION.COMPILE_MENU_MARKED(menu_id)

2002: --
2003: -- recompiles all the marked menus.
2004: --
2005: -- for (each menu_id marked)
2006: -- FND_FUNCTION.COMPILE_MENU_MARKED(menu_id)
2007: --
2008: -- Returns number of compiled rows changed.
2009: --
2010: function COMPILE_ALL_MARKED_I(compile_missing in VARCHAR2)

Line 2055: fnd_function.g_already_fast_compiled := 'T';

2051: end if;
2052:
2053: -- Set the alreadt fast compiled flag since we are done bug5184601
2054:
2055: fnd_function.g_already_fast_compiled := 'T';
2056: return l_rows_processed;
2057: end;
2058:
2059: /* Reset recursion detector and recompile that menu */

Line 2067: fnd_function.g_already_fast_compiled := 'T';

2063: COMPILE_MENU_MARKED_I(l_menu_id, 'N');
2064:
2065: end loop;
2066:
2067: fnd_function.g_already_fast_compiled := 'T';
2068: if (fnd_log.LEVEL_PROCEDURE >= fnd_log.g_current_runtime_level) then
2069: fnd_log.string(FND_LOG.LEVEL_PROCEDURE,
2070: c_log_head || l_api_name || '.end',
2071: 'returning l_rows_processed:' || l_rows_processed );

Line 2083: -- FND_FUNCTION.COMPILE_MENU_MARKED(menu_id)

2079: --
2080: -- recompiles all the marked menus.
2081: --
2082: -- for (each menu_id marked)
2083: -- FND_FUNCTION.COMPILE_MENU_MARKED(menu_id)
2084: --
2085: -- Returns number of compiled rows changed.
2086: --
2087: function COMPILE_ALL_MARKED(compile_missing in VARCHAR2)

Line 2114: -- if (FND_FUNCTION.G_ALREADY_FAST_COMPILED <> 'T') then

2110: --
2111: -- Other packages that reference FND_COMPILED_MENU_FUNCTIONS should
2112: -- call it like this in their package initialization block:
2113: --
2114: -- if (FND_FUNCTION.G_ALREADY_FAST_COMPILED <> 'T') then
2115: -- FND_FUNCTION.FAST_COMPILE;
2116: -- end if;
2117: --
2118: -- Administrators can also call it from SQL*Plus in order to compile

Line 2115: -- FND_FUNCTION.FAST_COMPILE;

2111: -- Other packages that reference FND_COMPILED_MENU_FUNCTIONS should
2112: -- call it like this in their package initialization block:
2113: --
2114: -- if (FND_FUNCTION.G_ALREADY_FAST_COMPILED <> 'T') then
2115: -- FND_FUNCTION.FAST_COMPILE;
2116: -- end if;
2117: --
2118: -- Administrators can also call it from SQL*Plus in order to compile
2119: -- the FND_COMPILED_MENU_FUNCTIONS table, like this:

Line 2121: -- execute FND_FUNCTION.FAST_COMPILE;

2117: --
2118: -- Administrators can also call it from SQL*Plus in order to compile
2119: -- the FND_COMPILED_MENU_FUNCTIONS table, like this:
2120: --
2121: -- execute FND_FUNCTION.FAST_COMPILE;
2122: --
2123: procedure FAST_COMPILE is
2124: pragma autonomous_transaction;
2125: RESULT_COUNT number;

Line 2167: -- Call FND_FUNCTION.COMPILE_MENU_MARKED() to compile this submenu

2163: -- for each menu_entry on this menu
2164: -- if this is a function
2165: -- add it to the compiled table
2166: -- if this is a menu
2167: -- Call FND_FUNCTION.COMPILE_MENU_MARKED() to compile this submenu
2168: -- Copy all the submenu elements from the compiled table
2169: -- delete the marker row for this menu_id
2170: --
2171: -- IN:

Line 2522: -- Call FND_FUNCTION.COMPILE_MENU_MARKED() to compile this submenu

2518: -- for each menu_entry on this menu
2519: -- if this is a function
2520: -- add it to the compiled table
2521: -- if this is a menu
2522: -- Call FND_FUNCTION.COMPILE_MENU_MARKED() to compile this submenu
2523: -- Copy all the submenu elements from the compiled table
2524: -- delete the marker row for this menu_id
2525: --
2526: -- RETURNS - a count of how many rows needed to be processed.

Line 2748: end FND_FUNCTION;

2744: retcode := 2;
2745: errbuf := 'ERROR: '|| sqlerrm;
2746: end;
2747:
2748: end FND_FUNCTION;