DBA Data[Home] [Help]

APPS.PO_COPYDOC_S5 dependencies on PO_DEBUG

Line 6: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;

2: /* $Header: POXCPO5B.pls 120.2 2006/09/07 10:37:45 ajarora noship $*/
3:
4: --< Shared Proc FPJ Start >
5: -- Debugging booleans used to bypass logging when turned off
6: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
7: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
8:
9: g_pkg_name CONSTANT VARCHAR2(20) := 'PO_COPYDOC_S5';
10: g_module_prefix CONSTANT VARCHAR2(30) := 'po.plsql.' || g_pkg_name || '.';

Line 7: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;

3:
4: --< Shared Proc FPJ Start >
5: -- Debugging booleans used to bypass logging when turned off
6: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
7: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
8:
9: g_pkg_name CONSTANT VARCHAR2(20) := 'PO_COPYDOC_S5';
10: g_module_prefix CONSTANT VARCHAR2(30) := 'po.plsql.' || g_pkg_name || '.';
11: --< Shared Proc FPJ End >

Line 38: PO_DEBUG.debug_stmt

34: BEGIN
35:
36: x_progress := '001';
37: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
38: PO_DEBUG.debug_stmt
39: (p_log_head => g_module_prefix||'validate_distribution',
40: p_token => 'invoked',
41: p_message => 'action_code: ' ||x_action_code||' to_doc_subtype: '||
42: x_to_doc_subtype||' online_report ID: '||x_online_report_id||

Line 157: PO_DEBUG.debug_end

153:
154: x_return_code := 0;
155:
156: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
157: PO_DEBUG.debug_end
158: (p_log_head => g_module_prefix||'validate_distribution');
159: END IF;
160:
161: EXCEPTION

Line 166: PO_DEBUG.debug_stmt

162:
163: WHEN COPYDOC_DISTRIBUTION_FAILURE THEN
164: x_return_code := -1;
165: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
166: PO_DEBUG.debug_stmt
167: (p_log_head => g_module_prefix||'validate_distribution',
168: p_token => x_progress,
169: p_message => 'COPYDOC_DISTRIBUTION_FAILURE exception caught.');
170: END IF;

Line 174: PO_DEBUG.debug_exc

170: END IF;
171: WHEN OTHERS THEN
172: x_return_code := -1;
173: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
174: PO_DEBUG.debug_exc
175: (p_log_head => g_module_prefix||'validate_distribution',
176: p_progress => x_progress);
177: END IF;
178: END validate_distribution;

Line 267: PO_DEBUG.debug_stmt

263:
264: BEGIN
265: l_progress := '000';
266: IF g_debug_stmt THEN
267: PO_DEBUG.debug_stmt
268: (p_log_head => g_module_prefix||'generate_accounts',
269: p_token => 'invoked',
270: p_message => 'online_report ID: '||p_online_report_id||
271: ' header ID: '||p_po_header_rec.po_header_id||

Line 300: PO_DEBUG.debug_stmt(p_log_head => g_module_prefix || l_api_name,

296: l_func_unit_price := p_po_line_rec.unit_price
297: * NVL(x_po_distribution_rec.rate, 1);
298:
299: IF g_debug_stmt THEN
300: PO_DEBUG.debug_stmt(p_log_head => g_module_prefix || l_api_name,
301: p_token => l_progress,
302: p_message => 'unit price in functional currency: '||
303: l_func_unit_price);
304: END IF;

Line 457: PO_DEBUG.debug_stmt

453: x_distribution_num => x_po_distribution_rec.distribution_num);
454: l_acct_gen_error := TRUE;
455:
456: IF g_debug_stmt THEN
457: PO_DEBUG.debug_stmt
458: (p_log_head => g_module_prefix||'generate_accounts',
459: p_token => l_progress,
460: p_message => 'Accrual account failed.');
461: END IF;

Line 478: PO_DEBUG.debug_stmt

474: x_distribution_num => x_po_distribution_rec.distribution_num);
475: l_acct_gen_error := TRUE;
476:
477: IF g_debug_stmt THEN
478: PO_DEBUG.debug_stmt
479: (p_log_head => g_module_prefix||'generate_accounts',
480: p_token => l_progress,
481: p_message => 'Budget account failed.');
482: END IF;

Line 501: PO_DEBUG.debug_stmt

497: x_distribution_num => x_po_distribution_rec.distribution_num);
498: l_acct_gen_error := TRUE;
499:
500: IF g_debug_stmt THEN
501: PO_DEBUG.debug_stmt
502: (p_log_head => g_module_prefix||'generate_accounts',
503: p_token => l_progress,
504: p_message => 'Charge account failed.');
505: END IF;

Line 522: PO_DEBUG.debug_stmt

518: x_distribution_num => x_po_distribution_rec.distribution_num);
519: l_acct_gen_error := TRUE;
520:
521: IF g_debug_stmt THEN
522: PO_DEBUG.debug_stmt
523: (p_log_head => g_module_prefix||'generate_accounts',
524: p_token => l_progress,
525: p_message => 'Variance account failed.');
526: END IF;

Line 543: PO_DEBUG.debug_stmt

539: x_distribution_num => x_po_distribution_rec.distribution_num);
540: l_acct_gen_error := TRUE;
541:
542: IF g_debug_stmt THEN
543: PO_DEBUG.debug_stmt
544: (p_log_head => g_module_prefix||'generate_accounts',
545: p_token => l_progress,
546: p_message => 'Dest charge account failed.');
547: END IF;

Line 564: PO_DEBUG.debug_stmt

560: x_distribution_num => x_po_distribution_rec.distribution_num);
561: l_acct_gen_error := TRUE;
562:
563: IF g_debug_stmt THEN
564: PO_DEBUG.debug_stmt
565: (p_log_head => g_module_prefix||'generate_accounts',
566: p_token => l_progress,
567: p_message => 'Dest variance account failed.');
568: END IF;

Line 592: PO_DEBUG.debug_stmt

588: x_distribution_num => x_po_distribution_rec.distribution_num);
589: END IF;
590:
591: IF g_debug_stmt THEN
592: PO_DEBUG.debug_stmt
593: (p_log_head => g_module_prefix||'generate_accounts',
594: p_token => l_progress,
595: p_message => 'Account generation failure.');
596: END IF;

Line 603: PO_DEBUG.debug_stmt

599: RAISE FND_API.g_exc_error;
600: END IF; --< if not gen account success>
601:
602: IF g_debug_stmt THEN
603: PO_DEBUG.debug_stmt
604: (p_log_head => g_module_prefix||'generate_accounts',
605: p_token => l_progress,
606: p_message => 'Account generation successful.');
607: END IF;

Line 634: PO_DEBUG.debug_exc

630: x_line_num => p_po_line_rec.line_num,
631: x_shipment_num => p_po_shipment_rec.shipment_num,
632: x_distribution_num => x_po_distribution_rec.distribution_num);
633: IF g_debug_unexp THEN
634: PO_DEBUG.debug_exc
635: (p_log_head => g_module_prefix||'generate_accounts',
636: p_progress => l_progress);
637: END IF;
638: END generate_accounts;