DBA Data[Home] [Help]

APPS.FND_PRODUCT_INITIALIZATION_PKG dependencies on FND_LOG

Line 196: if (fnd_log.LEVEL_PROCEDURE >= fnd_log.g_current_runtime_level) then

192:
193: begin
194:
195: -- Logging info
196: if (fnd_log.LEVEL_PROCEDURE >= fnd_log.g_current_runtime_level) then
197: fnd_log.string(fnd_log.LEVEL_PROCEDURE,
198: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
199: 'Entering Fnd_Product_Initialization.ExecInitFunction');
200: tmpbuf := 'The current Apps and Context condition is'||

Line 197: fnd_log.string(fnd_log.LEVEL_PROCEDURE,

193: begin
194:
195: -- Logging info
196: if (fnd_log.LEVEL_PROCEDURE >= fnd_log.g_current_runtime_level) then
197: fnd_log.string(fnd_log.LEVEL_PROCEDURE,
198: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
199: 'Entering Fnd_Product_Initialization.ExecInitFunction');
200: tmpbuf := 'The current Apps and Context condition is'||
201: '('||x_apps_name||','||x_conditions||')';

Line 202: fnd_log.string(fnd_log.LEVEL_PROCEDURE,

198: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
199: 'Entering Fnd_Product_Initialization.ExecInitFunction');
200: tmpbuf := 'The current Apps and Context condition is'||
201: '('||x_apps_name||','||x_conditions||')';
202: fnd_log.string(fnd_log.LEVEL_PROCEDURE,
203: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',tmpbuf);
204: end if;
205:
206: -- Reformat the x_conditions so that we can use that in our IN clause.

Line 251: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then

247: deparr(i+1) := '';
248:
249: exception
250: when others then
251: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then
252: fnd_log.string(fnd_log.LEVEL_EXCEPTION,
253: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
254: 'Unable to fetch product dependency');
255: end if;

Line 252: fnd_log.string(fnd_log.LEVEL_EXCEPTION,

248:
249: exception
250: when others then
251: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then
252: fnd_log.string(fnd_log.LEVEL_EXCEPTION,
253: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
254: 'Unable to fetch product dependency');
255: end if;
256: fnd_message.set_name('FND', 'SQL_PLSQL_ERROR');

Line 281: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then

277: 'from FND_PRODUCT_INIT_CONDITION C '||
278: 'where C.APPLICATION_SHORT_NAME = :v2 '||
279: 'and C.RE_INIT_CONDITION in ('||conditions||'))';
280:
281: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
282: tmpbuf := 'Start fetching init_function for product '||deparr(i);
283: fnd_log.string(fnd_log.LEVEL_STATEMENT,
284: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',tmpbuf);
285: end if;

Line 283: fnd_log.string(fnd_log.LEVEL_STATEMENT,

279: 'and C.RE_INIT_CONDITION in ('||conditions||'))';
280:
281: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
282: tmpbuf := 'Start fetching init_function for product '||deparr(i);
283: fnd_log.string(fnd_log.LEVEL_STATEMENT,
284: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',tmpbuf);
285: end if;
286:
287: execute immediate sqlbuf into init_function

Line 291: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then

287: execute immediate sqlbuf into init_function
288: using deparr(i), deparr(i); */
289:
290: -- Fetch init function
291: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
292: tmpbuf := 'Start fetching init_function for product '||deparr(i);
293: fnd_log.string(fnd_log.LEVEL_STATEMENT,
294: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',tmpbuf);
295: end if;

Line 293: fnd_log.string(fnd_log.LEVEL_STATEMENT,

289:
290: -- Fetch init function
291: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
292: tmpbuf := 'Start fetching init_function for product '||deparr(i);
293: fnd_log.string(fnd_log.LEVEL_STATEMENT,
294: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',tmpbuf);
295: end if;
296:
297: if (n = 1) then

Line 402: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then

398: exception
399: when no_data_found then
400: -- This is ok. It means that the dependency product has no
401: -- initialization routine or don't care about the current conditions.
402: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
403: tmpbuf := deparr(i)||' has either no init routine or no matching '||
404: 'init condition';
405: fnd_log.string(fnd_log.LEVEL_STATEMENT,
406: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',

Line 405: fnd_log.string(fnd_log.LEVEL_STATEMENT,

401: -- initialization routine or don't care about the current conditions.
402: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
403: tmpbuf := deparr(i)||' has either no init routine or no matching '||
404: 'init condition';
405: fnd_log.string(fnd_log.LEVEL_STATEMENT,
406: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
407: tmpbuf);
408: end if;
409: when others then

Line 410: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then

406: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
407: tmpbuf);
408: end if;
409: when others then
410: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then
411: tmpbuf := 'Unable to fetch init_function of product '||deparr(i);
412: fnd_log.string(fnd_log.LEVEL_EXCEPTION,
413: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
414: tmpbuf);

Line 412: fnd_log.string(fnd_log.LEVEL_EXCEPTION,

408: end if;
409: when others then
410: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then
411: tmpbuf := 'Unable to fetch init_function of product '||deparr(i);
412: fnd_log.string(fnd_log.LEVEL_EXCEPTION,
413: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
414: tmpbuf);
415: end if;
416: fnd_message.set_name('FND', 'SQL_PLSQL_ERROR');

Line 426: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then

422:
423: if (init_function is not null) then
424: -- Execute the init function
425: begin
426: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
427: tmpbuf := 'Calling initialization routine: '||init_function;
428: fnd_log.string(fnd_log.LEVEL_STATEMENT,
429: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
430: tmpbuf);

Line 428: fnd_log.string(fnd_log.LEVEL_STATEMENT,

424: -- Execute the init function
425: begin
426: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
427: tmpbuf := 'Calling initialization routine: '||init_function;
428: fnd_log.string(fnd_log.LEVEL_STATEMENT,
429: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
430: tmpbuf);
431: end if;
432:

Line 438: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then

434: execute immediate init_function;
435:
436: exception
437: when others then
438: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then
439: tmpbuf := 'Unable to execute init_function of product '||deparr(i);
440: fnd_log.string(fnd_log.LEVEL_EXCEPTION,
441: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
442: tmpbuf);

Line 440: fnd_log.string(fnd_log.LEVEL_EXCEPTION,

436: exception
437: when others then
438: if (fnd_log.LEVEL_EXCEPTION >= fnd_log.g_current_runtime_level) then
439: tmpbuf := 'Unable to execute init_function of product '||deparr(i);
440: fnd_log.string(fnd_log.LEVEL_EXCEPTION,
441: 'PLSQL.FND.SECURITY.INIT.FND_INITIALIZATION_PKG',
442: tmpbuf);
443: end if;
444: fnd_message.set_name('FND', 'PRODUCT_INITIALIZATION_FAILED');