DBA Data[Home] [Help]

APPS.PO_COPYDOC_S1 dependencies on PO_DEBUG

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

2: /* $Header: POXCPO1B.pls 120.25 2007/12/26 07:59:00 adevadul ship $*/
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_S1';
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_S1';
10: g_module_prefix CONSTANT VARCHAR2(30) := 'po.plsql.' || g_pkg_name || '.';
11: --< Shared Proc FPJ End >

Line 441: PO_DEBUG.debug_stmt

437:
438: l_progress := '000';
439:
440: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
441: PO_DEBUG.debug_stmt
442: (p_log_head => g_module_prefix||'insert_header',
443: p_token => 'invoked',
444: p_message => 'header ID: '||x_po_header_record.po_header_id||
445: ' online_report ID: '||x_online_report_id);

Line 820: PO_DEBUG.debug_exc

816: x_sequence,
817: 0, 0, 0);
818: x_return_code := -1;
819: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
820: PO_DEBUG.debug_exc
821: (p_log_head => g_module_prefix||'insert_header',
822: p_progress => l_progress);
823: END IF;
824: END insert_header;

Line 854: PO_DEBUG.debug_stmt

850:
851: l_progress := '001';
852:
853: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
854: PO_DEBUG.debug_stmt
855: (p_log_head => g_module_prefix||'insert_line',
856: p_token => 'invoked',
857: p_message => 'line ID: '||x_po_line_record.po_line_id||
858: ' online_report ID: '||x_online_report_id);

Line 1155: PO_DEBUG.debug_exc

1151: x_sequence,
1152: x_po_line_record.line_num, 0, 0);
1153: x_return_code := -1;
1154: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
1155: PO_DEBUG.debug_exc
1156: (p_log_head => g_module_prefix||'insert_line',
1157: p_progress => l_progress);
1158: END IF;
1159: END insert_line;

Line 1236: PO_DEBUG.debug_stmt

1232:
1233: l_progress := '000';
1234:
1235: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
1236: PO_DEBUG.debug_stmt
1237: (p_log_head => g_module_prefix||'insert_shipment',
1238: p_token => 'invoked',
1239: p_message => 'ship ID: '||x_po_shipment_record.line_location_id||
1240: ' inv_org ID: '||x_inv_org_id||' accrue_on_receipt_flag: '||

Line 1848: PO_DEBUG.debug_exc

1844: x_sequence,
1845: x_line_num, x_po_shipment_record.shipment_num, 0);
1846: x_return_code := -1;
1847: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
1848: PO_DEBUG.debug_exc
1849: (p_log_head => g_module_prefix||'insert_shipment',
1850: p_progress => l_progress);
1851: END IF;
1852: END insert_shipment;

Line 1881: PO_DEBUG.debug_stmt

1877: BEGIN
1878:
1879: l_progress := '000';
1880: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
1881: PO_DEBUG.debug_stmt
1882: (p_log_head => g_module_prefix||'insert_distribution',
1883: p_token => 'invoked',
1884: p_message => 'dist ID: '||
1885: x_po_distribution_record.po_distribution_id||

Line 2179: PO_DEBUG.debug_stmt

2175: END LOOP;
2176: x_return_code := -1;
2177: --
2178: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
2179: PO_DEBUG.debug_stmt
2180: (p_log_head => g_module_prefix||'insert_distribution',
2181: p_token => l_progress,
2182: p_message => 'FND_API.g_exc_error exception caught.');
2183: END IF;

Line 2186: PO_DEBUG.debug_exc

2182: p_message => 'FND_API.g_exc_error exception caught.');
2183: END IF;
2184:
2185: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
2186: PO_DEBUG.debug_exc
2187: (p_log_head => g_module_prefix||'insert_distribution',
2188: p_progress => l_progress);
2189: END IF;
2190:

Line 2199: PO_DEBUG.debug_exc

2195: x_sequence,
2196: x_line_num, x_shipment_num, x_po_distribution_record.distribution_num);
2197: x_return_code := -1;
2198: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
2199: PO_DEBUG.debug_exc
2200: (p_log_head => g_module_prefix||'insert_distribution',
2201: p_progress => l_progress);
2202: END IF;
2203: END insert_distribution;

Line 2274: PO_DEBUG.debug_stmt

2270: BEGIN
2271:
2272: l_progress := '000';
2273: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
2274: PO_DEBUG.debug_stmt
2275: (p_log_head => g_module_prefix||'process_header',
2276: p_token => 'invoked',
2277: p_message => 'action_code: ' ||x_action_code||' to_doc_subtype: '||
2278: x_to_doc_subtype||' from header ID: '||x_from_po_header_id||

Line 2478: PO_DEBUG.debug_exc

2474: x_online_report_id,
2475: x_sequence,
2476: 0, 0, 0);
2477: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
2478: PO_DEBUG.debug_exc
2479: (p_log_head => g_module_prefix||'process_header',
2480: p_progress => l_progress);
2481: END IF;
2482: END process_header;

Line 2586: PO_DEBUG.debug_stmt

2582: BEGIN
2583:
2584: l_progress := '000';
2585: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
2586: PO_DEBUG.debug_stmt
2587: (p_log_head => g_module_prefix||'process_line',
2588: p_token => 'invoked',
2589: p_message => 'action_code: ' ||x_action_code||' to_doc_subtype: '||
2590: x_to_doc_subtype||' header ID: '||x_po_header_id||

Line 2698: PO_DEBUG.debug_exc

2694: x_online_report_id,
2695: x_sequence,
2696: x_po_line_record.line_num, 0, 0);
2697: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
2698: PO_DEBUG.debug_exc
2699: (p_log_head => g_module_prefix||'process_line',
2700: p_progress => l_progress);
2701: END IF;
2702: END process_line;

Line 2759: PO_DEBUG.debug_stmt

2755: BEGIN
2756:
2757: l_progress := '000';
2758: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
2759: PO_DEBUG.debug_stmt
2760: (p_log_head => g_module_prefix||'process_shipment',
2761: p_token => 'invoked',
2762: p_message => 'action_code: ' ||p_action_code||' to_doc_subtype: '||
2763: p_to_doc_subtype||' header ID: '||p_po_header_id||

Line 2963: PO_DEBUG.debug_exc

2959: p_online_report_id,
2960: x_sequence,
2961: p_line_num, x_po_shipment_record.shipment_num, 0);
2962: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
2963: PO_DEBUG.debug_exc
2964: (p_log_head => g_module_prefix||'process_shipment',
2965: p_progress => l_progress);
2966: END IF;
2967: END process_shipment;

Line 3025: PO_DEBUG.debug_stmt

3021: END IF;
3022: --
3023:
3024: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
3025: PO_DEBUG.debug_stmt
3026: (p_log_head => g_module_prefix||'process_distribution',
3027: p_token => 'invoked',
3028: p_message => 'action_code: '||p_action_code||' to_doc_subtype: '||
3029: p_to_doc_subtype||' header ID: '||

Line 3136: PO_DEBUG.debug_stmt

3132: --< Shared Proc FPJ Start >
3133: WHEN FND_API.g_exc_error THEN
3134: x_return_code := -1;
3135: IF g_debug_stmt THEN
3136: PO_DEBUG.debug_stmt
3137: (p_log_head => g_module_prefix||'process_distribution',
3138: p_token => l_progress,
3139: p_message => 'FND_API.g_exc_error exception caught.');
3140: END IF;

Line 3151: PO_DEBUG.debug_exc

3147: l_line_num,
3148: l_shipment_num,
3149: x_po_distribution_rec.distribution_num);
3150: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
3151: PO_DEBUG.debug_exc
3152: (p_log_head => g_module_prefix||'process_distribution',
3153: p_progress => l_progress);
3154: END IF;
3155: END process_distribution;

Line 3225: PO_DEBUG.debug_stmt

3221: l_is_complex_work_po BOOLEAN; --
3222:
3223: BEGIN
3224: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
3225: PO_DEBUG.debug_stmt
3226: (p_log_head => g_module_prefix||'copy_document',
3227: p_token => 'invoked',
3228: p_message => 'action_code: ' ||x_action_code||' to_doc_subtype: '||
3229: x_to_doc_subtype||' from header ID: '||x_from_po_header_id||

Line 3562: PO_DEBUG.debug_stmt

3558: --< HTML Agreements R12 End>
3559: END IF;
3560:
3561: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
3562: PO_DEBUG.debug_stmt
3563: (p_log_head => g_module_prefix||'copy_document',
3564: p_token => 'end',
3565: p_message => 'x_return_code = '||x_return_code||
3566: ' x_sequence = '||x_sequence);

Line 3573: PO_DEBUG.debug_stmt

3569: EXCEPTION
3570: WHEN COPYDOC_FATAL THEN
3571: ROLLBACK TO SAVEPOINT COPY_DOCUMENT_PVT; --< HTML Agreements R12>
3572: IF g_debug_stmt THEN --< Shared Proc FPJ > Add correct debugging
3573: PO_DEBUG.debug_stmt
3574: (p_log_head => g_module_prefix||'copy_document',
3575: p_token => x_progress,
3576: p_message => 'COPYDOC_FATAL exception caught.');
3577: END IF;

Line 3583: PO_DEBUG.debug_exc

3579: RAISE;
3580: WHEN OTHERS THEN
3581: ROLLBACK TO SAVEPOINT COPY_DOCUMENT_PVT; --< HTML Agreements R12>
3582: IF g_debug_unexp THEN --< Shared Proc FPJ > Add correct debugging
3583: PO_DEBUG.debug_exc
3584: (p_log_head => g_module_prefix||'copy_document',
3585: p_progress => x_progress);
3586: END IF;
3587: copydoc_sql_error('copy_document', x_progress, sqlcode,