DBA Data[Home] [Help]

APPS.CST_ACCRUAL_REC_PVT dependencies on FND_LOG

Line 6: G_LOG_LEVEL constant number := FND_LOG.G_CURRENT_RUNTIME_LEVEL;

2: /* $Header: CSTACRHB.pls 120.24 2010/07/28 16:33:39 hyu ship $ */
3:
4: G_PKG_NAME constant varchar2(30) := 'CST_Accrual_Rec_PVT';
5: G_LOG_HEADER constant varchar2(40) := 'cst.plsql.CST_Accrual_Rec_PVT';
6: G_LOG_LEVEL constant number := FND_LOG.G_CURRENT_RUNTIME_LEVEL;
7:
8: -- Start of comments
9: -- API name : Get_Accounts
10: -- Type : Private

Line 41: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

37: l_api_version constant number := 1.0;
38: l_api_name constant varchar2(30) := 'get_accounts';
39: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
40: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
41: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
42: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
43: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
44: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
45: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 42: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

38: l_api_name constant varchar2(30) := 'get_accounts';
39: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
40: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
41: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
42: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
43: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
44: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
45: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
46: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 43: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

39: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
40: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
41: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
42: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
43: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
44: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
45: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
46: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
47: l_stmt_num number;

Line 44: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

40: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
41: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
42: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
43: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
44: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
45: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
46: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
47: l_stmt_num number;
48:

Line 45: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

41: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
42: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
43: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
44: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
45: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
46: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
47: l_stmt_num number;
48:
49: begin

Line 46: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

42: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
43: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
44: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
45: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
46: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
47: l_stmt_num number;
48:
49: begin
50:

Line 54: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

50:
51: l_stmt_num := 5;
52:
53: if(l_pLog) then
54: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
55: '.begin', 'get_accounts << ' || 'p_ou_id := ' || to_char(p_ou_id));
56: end if;
57:
58: /* Print out the parameters to the Message Stack */

Line 173: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

169: x_err_msg := 'CST_Accrual_Rec_PVT.get_accounts() ' || SQLERRM;
170: fnd_message.set_name('BOM','CST_UNEXPECTED');
171: fnd_message.set_token('TOKEN',SQLERRM);
172: if(l_unLog) then
173: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
174: || '(' || to_char(l_stmt_num) || ')', FALSE);
175: end if;
176: fnd_msg_pub.add;
177: return;

Line 225: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

221: l_api_version constant number := 1.0;
222: l_api_name constant varchar2(30) := 'flip_flag';
223: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
224: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
225: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
226: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
227: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
228: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
229: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 226: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

222: l_api_name constant varchar2(30) := 'flip_flag';
223: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
224: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
225: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
226: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
227: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
228: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
229: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
230: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 227: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

223: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
224: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
225: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
226: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
227: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
228: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
229: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
230: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
231: l_stmt_num number;

Line 228: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

224: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
225: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
226: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
227: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
228: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
229: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
230: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
231: l_stmt_num number;
232:

Line 229: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

225: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
226: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
227: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
228: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
229: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
230: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
231: l_stmt_num number;
232:
233: begin

Line 230: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

226: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
227: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
228: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
229: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
230: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
231: l_stmt_num number;
232:
233: begin
234:

Line 238: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

234:
235: l_stmt_num := 5;
236:
237: if(l_pLog) then
238: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
239: '.begin', 'flip_flag << '
240: || 'p_row_id := ' || p_row_id
241: || 'p_bit := ' || p_bit
242: || 'p_prog := ' || to_char(p_prog));

Line 312: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

308: x_err_msg := 'CST_Accrual_Rec_PVT.flip_flag() ' || SQLERRM;
309: fnd_message.set_name('BOM','CST_UNEXPECTED');
310: fnd_message.set_token('TOKEN',SQLERRM);
311: if(l_unLog) then
312: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
313: || '(' || to_char(l_stmt_num) || ')', FALSE);
314: end if;
315: fnd_msg_pub.add;
316: return;

Line 354: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

350: l_api_version constant number := 1.0;
351: l_api_name constant varchar2(30) := 'calc_age_in_days';
352: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
353: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
354: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
355: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
356: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
357: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
358: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 355: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

351: l_api_name constant varchar2(30) := 'calc_age_in_days';
352: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
353: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
354: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
355: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
356: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
357: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
358: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
359: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 356: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

352: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
353: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
354: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
355: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
356: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
357: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
358: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
359: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
360: l_stmt_num number;

Line 357: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

353: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
354: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
355: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
356: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
357: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
358: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
359: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
360: l_stmt_num number;
361:

Line 358: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

354: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
355: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
356: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
357: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
358: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
359: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
360: l_stmt_num number;
361:
362: begin

Line 359: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

355: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
356: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
357: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
358: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
359: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
360: l_stmt_num number;
361:
362: begin
363:

Line 367: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

363:
364: l_stmt_num := 5;
365:
366: if(l_pLog) then
367: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
368: '.begin', 'procedure cal_age_in_days << '
369: || 'p_lrd := ' || to_char(p_lrd, 'YYYY/MM/DD HH24:MI:SS')
370: || 'p_lid := ' || to_char(p_lid, 'YYYY/MM/DD HH24:MI:SS'));
371: end if;

Line 443: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

439: x_err_msg := 'CST_Accrual_Rec_PVT.calc_age_in_days() ' || SQLERRM;
440: fnd_message.set_name('BOM','CST_UNEXPECTED');
441: fnd_message.set_token('TOKEN',SQLERRM);
442: if(l_unLog) then
443: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
444: || '(' || to_char(l_stmt_num) || ')', FALSE);
445: end if;
446: fnd_msg_pub.add;
447: return;

Line 477: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

473: l_api_version constant number := 1.0;
474: l_api_name constant varchar2(30) := 'calc_age_in_days';
475: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
476: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
477: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
478: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
479: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
480: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
481: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 478: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

474: l_api_name constant varchar2(30) := 'calc_age_in_days';
475: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
476: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
477: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
478: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
479: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
480: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
481: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
482: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 479: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

475: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
476: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
477: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
478: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
479: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
480: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
481: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
482: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
483: l_stmt_num number;

Line 480: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

476: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
477: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
478: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
479: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
480: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
481: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
482: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
483: l_stmt_num number;
484:

Line 481: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

477: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
478: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
479: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
480: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
481: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
482: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
483: l_stmt_num number;
484:
485: begin

Line 482: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

478: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
479: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
480: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
481: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
482: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
483: l_stmt_num number;
484:
485: begin
486:

Line 490: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

486:
487: l_stmt_num := 5;
488:
489: if(l_pLog) then
490: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
491: '.begin', 'function calc_age_in_days << '
492: || 'p_lrd := ' || to_char(p_lrd, 'YYYY/MM/DD HH24:MI:SS')
493: || 'p_lid := ' || to_char(p_lid, 'YYYY/MM/DD HH24:MI:SS'));
494: end if;

Line 556: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

552: rollback;
553: fnd_message.set_name('BOM','CST_UNEXPECTED');
554: fnd_message.set_token('TOKEN',SQLERRM);
555: if(l_unLog) then
556: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
557: || '(' || to_char(l_stmt_num) || ')', FALSE);
558: end if;
559: fnd_msg_pub.add;
560: return -1;

Line 608: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

604: l_api_version constant number := 1.0;
605: l_api_name constant varchar2(30) := 'update_all';
606: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
607: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
608: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
609: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
610: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
611: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
612: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 609: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

605: l_api_name constant varchar2(30) := 'update_all';
606: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
607: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
608: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
609: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
610: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
611: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
612: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
613: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 610: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

606: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
607: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
608: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
609: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
610: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
611: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
612: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
613: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
614: l_stmt_num number;

Line 611: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

607: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
608: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
609: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
610: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
611: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
612: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
613: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
614: l_stmt_num number;
615:

Line 612: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

608: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
609: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
610: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
611: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
612: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
613: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
614: l_stmt_num number;
615:
616: begin

Line 613: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

609: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
610: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
611: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
612: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
613: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
614: l_stmt_num number;
615:
616: begin
617:

Line 621: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

617:
618: l_stmt_num := 5;
619:
620: if(l_pLog) then
621: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
622: '.begin', 'update_all << '
623: || 'p_where := ' || p_where
624: || 'p_prog := ' || to_char(p_prog)
625: || 'p_ou := ' || to_char(p_ou_id));

Line 671: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

667: x_err_msg := 'CST_Accrual_Rec_PVT.update_all() ' || SQLERRM;
668: fnd_message.set_name('BOM','CST_UNEXPECTED');
669: fnd_message.set_token('TOKEN',SQLERRM);
670: if(l_unLog) then
671: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
672: || '(' || to_char(l_stmt_num) || ')', FALSE);
673: end if;
674: fnd_msg_pub.add;
675: return;

Line 731: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

727: l_api_version constant number := 1.0;
728: l_api_name constant varchar2(30) := 'insert_misc_data_all';
729: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
730: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
731: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
732: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
733: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
734: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
735: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 732: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

728: l_api_name constant varchar2(30) := 'insert_misc_data_all';
729: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
730: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
731: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
732: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
733: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
734: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
735: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
736: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 733: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

729: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
730: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
731: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
732: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
733: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
734: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
735: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
736: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
737: l_stmt_num number;

Line 734: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

730: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
731: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
732: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
733: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
734: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
735: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
736: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
737: l_stmt_num number;
738: l_rows number;

Line 735: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

731: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
732: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
733: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
734: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
735: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
736: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
737: l_stmt_num number;
738: l_rows number;
739: l_le_id number;

Line 736: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

732: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
733: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
734: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
735: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
736: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
737: l_stmt_num number;
738: l_rows number;
739: l_le_id number;
740: /* Cursor to hold all select miscellaneous transactions*/

Line 780: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

776:
777: l_stmt_num := 5;
778:
779: if(l_pLog) then
780: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
781: '.begin', 'insert_misc_data_all << '
782: || 'p_wo_date := ' || to_char(p_wo_date, 'YYYY/MM/DD HH24:MI:SS')
783: || 'p_off_id := ' || to_char(p_off_id)
784: || 'p_rea_id := ' || to_char(p_rea_id)

Line 1074: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

1070: x_err_msg := 'CST_Accrual_Rec_PVT.insert_misc_data_all() ' || SQLERRM;
1071: fnd_message.set_name('BOM','CST_UNEXPECTED');
1072: fnd_message.set_token('TOKEN',SQLERRM);
1073: if(l_unLog) then
1074: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
1075: || '(' || to_char(l_stmt_num) || ')', FALSE);
1076: end if;
1077: fnd_msg_pub.add;
1078: return;

Line 1133: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

1129: l_api_version constant number := 1.0;
1130: l_api_name constant varchar2(30) := 'insert_appo_data_all';
1131: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1132: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1133: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1134: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1135: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1136: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1137: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 1134: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

1130: l_api_name constant varchar2(30) := 'insert_appo_data_all';
1131: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1132: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1133: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1134: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1135: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1136: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1137: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1138: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 1135: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

1131: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1132: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1133: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1134: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1135: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1136: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1137: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1138: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1139: l_stmt_num number;

Line 1136: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

1132: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1133: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1134: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1135: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1136: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1137: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1138: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1139: l_stmt_num number;
1140: l_rows number;

Line 1137: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

1133: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1134: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1135: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1136: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1137: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1138: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1139: l_stmt_num number;
1140: l_rows number;
1141: l_ent_sum number;

Line 1138: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

1134: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1135: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1136: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1137: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1138: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1139: l_stmt_num number;
1140: l_rows number;
1141: l_ent_sum number;
1142: l_off_id number;

Line 1177: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

1173:
1174: l_stmt_num := 5;
1175:
1176: if(l_pLog) then
1177: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
1178: '.begin', 'insert_appo_data_all << '
1179: || 'p_wo_date := ' || to_char(p_wo_date, 'YYYY/MM/DD HH24:MI:SS')
1180: || 'p_rea_id := ' || to_char(p_rea_id)
1181: || 'p_comments := ' || p_comments

Line 1537: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

1533: x_err_msg := 'CST_Accrual_Rec_PVT.insert_appo_data_all() ' || SQLERRM;
1534: fnd_message.set_name('BOM','CST_UNEXPECTED');
1535: fnd_message.set_token('TOKEN',SQLERRM);
1536: if(l_unLog) then
1537: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
1538: || '(' || to_char(l_stmt_num) || ')', FALSE);
1539: end if;
1540: fnd_msg_pub.add;
1541: return;

Line 1590: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

1586: l_api_version constant number := 1.0;
1587: l_api_name constant varchar2(30) := 'is_reversible';
1588: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1589: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1590: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1591: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1592: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1593: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1594: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 1591: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

1587: l_api_name constant varchar2(30) := 'is_reversible';
1588: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1589: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1590: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1591: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1592: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1593: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1594: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1595: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 1592: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

1588: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1589: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1590: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1591: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1592: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1593: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1594: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1595: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1596: l_stmt_num number;

Line 1593: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

1589: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1590: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1591: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1592: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1593: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1594: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1595: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1596: l_stmt_num number;
1597: l_enabled number;

Line 1594: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

1590: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1591: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1592: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1593: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1594: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1595: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1596: l_stmt_num number;
1597: l_enabled number;
1598:

Line 1595: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

1591: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1592: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1593: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1594: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1595: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1596: l_stmt_num number;
1597: l_enabled number;
1598:
1599: begin

Line 1604: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

1600:
1601: l_stmt_num := 5;
1602:
1603: if(l_pLog) then
1604: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
1605: '.begin', 'is_reversible << '
1606: || 'p_wo_id := ' || to_char(p_wo_id)
1607: || 'p_txn_c := ' || p_txn_c
1608: || 'p_off_id := ' || to_char(p_off_id)

Line 1684: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

1680: x_err_msg := 'CST_Accrual_Rec_PVT.is_reversible() ' || SQLERRM;
1681: fnd_message.set_name('BOM','CST_UNEXPECTED');
1682: fnd_message.set_token('TOKEN',SQLERRM);
1683: if(l_unLog) then
1684: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
1685: || '(' || to_char(l_stmt_num) || ')', FALSE);
1686: end if;
1687: fnd_msg_pub.add;
1688: return;

Line 1747: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);

1743: l_api_version constant number := 1.0;
1744: l_api_name constant varchar2(30) := 'reverse_write_offs';
1745: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1746: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1747: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1748: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1749: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1750: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1751: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

Line 1748: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);

1744: l_api_name constant varchar2(30) := 'reverse_write_offs';
1745: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1746: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1747: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1748: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1749: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1750: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1751: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1752: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

Line 1749: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);

1745: l_full_name constant varchar2(60) := g_pkg_name || '.' || l_api_name;
1746: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1747: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1748: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1749: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1750: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1751: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1752: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1753: l_stmt_num number;

Line 1750: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);

1746: l_module constant varchar2(60) := 'cst.plsql.' || l_full_name;
1747: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1748: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1749: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1750: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1751: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1752: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1753: l_stmt_num number;
1754: l_rows number;

Line 1751: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);

1747: l_uLog constant boolean := fnd_log.test(fnd_log.level_unexpected, l_module);
1748: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1749: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1750: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1751: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1752: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1753: l_stmt_num number;
1754: l_rows number;
1755: l_po_proc number;

Line 1752: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);

1748: l_unLog constant boolean := l_uLog and (fnd_log.level_unexpected >= g_log_level);
1749: l_errorLog constant boolean := l_uLog and (fnd_log.level_error >= g_log_level);
1750: l_exceptionLog constant boolean := l_errorLog and (fnd_log.level_exception >= g_log_level);
1751: l_pLog constant boolean := l_exceptionLog and (fnd_log.level_procedure >= g_log_level);
1752: l_sLog constant boolean := l_pLog and (fnd_log.level_statement >= g_log_level);
1753: l_stmt_num number;
1754: l_rows number;
1755: l_po_proc number;
1756: /* Cursor to hold all the distributions marked for reversal */

Line 1795: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||

1791:
1792: l_stmt_num := 5;
1793:
1794: if(l_pLog) then
1795: fnd_log.string(fnd_log.level_procedure, g_log_header || '.' || l_api_name ||
1796: '.begin', 'reverse_write_offs << '
1797: || 'p_wo_date := ' || to_char(p_wo_date, 'YYYY/MM/DD HH24:MI:SS')
1798: || 'p_rea_id := ' || to_char(p_rea_id)
1799: || 'p_comments := ' || p_comments

Line 2450: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name

2446: x_err_msg := 'CST_Accrual_Rec_PVT.reverse_write_offs() ' || SQLERRM;
2447: fnd_message.set_name('BOM','CST_UNEXPECTED');
2448: fnd_message.set_token('TOKEN',SQLERRM);
2449: if(l_unLog) then
2450: fnd_log.message(fnd_log.level_unexpected, g_log_header || '.' || l_api_name
2451: || '(' || to_char(l_stmt_num) || ')', FALSE);
2452: end if;
2453: fnd_msg_pub.add;
2454: return;