DBA Data[Home] [Help]

APPS.PO_MASS_CLOSE_PO_PVT dependencies on PO_DEBUG

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

1: PACKAGE BODY PO_Mass_Close_PO_PVT AS
2: /* $Header: PO_Mass_Close_PO_PVT.plb 120.12.12020000.3 2013/02/10 13:42:53 vegajula ship $*/
3:
4: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
5: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
6: g_pkg_name CONSTANT VARCHAR2(100) := 'PO_Mass_Close_PO_PVT';
7: g_log_head CONSTANT VARCHAR2(1000) := 'po.plsql.' || g_pkg_name || '.';
8:

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

1: PACKAGE BODY PO_Mass_Close_PO_PVT AS
2: /* $Header: PO_Mass_Close_PO_PVT.plb 120.12.12020000.3 2013/02/10 13:42:53 vegajula ship $*/
3:
4: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
5: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
6: g_pkg_name CONSTANT VARCHAR2(100) := 'PO_Mass_Close_PO_PVT';
7: g_log_head CONSTANT VARCHAR2(1000) := 'po.plsql.' || g_pkg_name || '.';
8:
9: TYPE g_close_po IS REF CURSOR;

Line 80: PO_DEBUG.debug_begin(l_log_head);

76: g_supplier_id := p_supplier_id;
77:
78: IF g_debug_stmt THEN
79:
80: PO_DEBUG.debug_begin(l_log_head);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);

Line 81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );

77:
78: IF g_debug_stmt THEN
79:
80: PO_DEBUG.debug_begin(l_log_head);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);

Line 82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );

78: IF g_debug_stmt THEN
79:
80: PO_DEBUG.debug_begin(l_log_head);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
86: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);

Line 83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --

79:
80: PO_DEBUG.debug_begin(l_log_head);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
86: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
87: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);

Line 84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);

80: PO_DEBUG.debug_begin(l_log_head);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
86: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
87: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
88:

Line 85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);

81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
86: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
87: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
88:
89: END IF;

Line 86: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);

82: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
86: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
87: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
88:
89: END IF;
90:

Line 87: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);

83: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_no_to ); --
84: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
85: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
86: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
87: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
88:
89: END IF;
90:
91: SAVEPOINT Close_SP;

Line 122: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_name',p_org_name );

118: END IF;
119:
120: IF g_debug_stmt THEN
121:
122: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_name',p_org_name );
123: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_name',p_supplier_name );
124:
125: END IF;
126:

Line 123: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_name',p_supplier_name );

119:
120: IF g_debug_stmt THEN
121:
122: PO_DEBUG.debug_var(l_log_head,l_progress,'p_org_name',p_org_name );
123: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_name',p_supplier_name );
124:
125: END IF;
126:
127: Print_Output(p_org_name,

Line 400: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );

396: l_progress := '002';
397:
398: IF g_debug_stmt THEN
399:
400: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );
401: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_id',l_doc_id );
402: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );
403: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_subtype',l_doc_subtype );
404:

Line 401: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_id',l_doc_id );

397:
398: IF g_debug_stmt THEN
399:
400: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );
401: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_id',l_doc_id );
402: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );
403: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_subtype',l_doc_subtype );
404:
405: END IF;

Line 402: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );

398: IF g_debug_stmt THEN
399:
400: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );
401: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_id',l_doc_id );
402: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );
403: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_subtype',l_doc_subtype );
404:
405: END IF;
406:

Line 403: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_subtype',l_doc_subtype );

399:
400: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );
401: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_id',l_doc_id );
402: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );
403: PO_DEBUG.debug_var(l_log_head,l_progress,'l_doc_subtype',l_doc_subtype );
404:
405: END IF;
406:
407: l_progress := '003';

Line 428: PO_DEBUG.debug_var(l_log_head,l_progress,'result',result );

424:
425:
426: IF g_debug_stmt THEN
427:
428: PO_DEBUG.debug_var(l_log_head,l_progress,'result',result );
429: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );
430:
431: END IF;
432:

Line 429: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );

425:
426: IF g_debug_stmt THEN
427:
428: PO_DEBUG.debug_var(l_log_head,l_progress,'result',result );
429: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );
430:
431: END IF;
432:
433: l_progress := '004';

Line 448: PO_DEBUG.debug_var(l_log_head,l_progress,'l_commit_count',l_commit_count );

444: l_progress := '005';
445:
446: IF g_debug_stmt THEN
447:
448: PO_DEBUG.debug_var(l_log_head,l_progress,'l_commit_count',l_commit_count );
449:
450: END IF;
451:
452: IF (l_return_code = 'STATE_FAILED' ) THEN

Line 455: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );

451:
452: IF (l_return_code = 'STATE_FAILED' ) THEN
453:
454: IF g_debug_stmt THEN
455: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );
456: END IF;
457:
458: ELSE
459: fnd_file.put_line(fnd_file.output, rpad(l_po_num,26) || l_doc_type);

Line 633: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );

629: l_progress := '007';
630:
631: IF g_debug_stmt THEN
632:
633: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );
634: PO_DEBUG.debug_var(l_log_head,l_progress,'l_release_id',l_release_id );
635: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );
636:
637: END IF;

Line 634: PO_DEBUG.debug_var(l_log_head,l_progress,'l_release_id',l_release_id );

630:
631: IF g_debug_stmt THEN
632:
633: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );
634: PO_DEBUG.debug_var(l_log_head,l_progress,'l_release_id',l_release_id );
635: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );
636:
637: END IF;
638:

Line 635: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );

631: IF g_debug_stmt THEN
632:
633: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_num',l_po_num );
634: PO_DEBUG.debug_var(l_log_head,l_progress,'l_release_id',l_release_id );
635: PO_DEBUG.debug_var(l_log_head,l_progress,'l_type_code',l_type_code );
636:
637: END IF;
638:
639: l_progress := '008';

Line 659: PO_DEBUG.debug_var(l_log_head,l_progress,'result',result );

655: p_origin_doc_id => NULL);
656:
657: IF g_debug_stmt THEN
658:
659: PO_DEBUG.debug_var(l_log_head,l_progress,'result',result );
660: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );
661:
662: END IF;
663:

Line 660: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );

656:
657: IF g_debug_stmt THEN
658:
659: PO_DEBUG.debug_var(l_log_head,l_progress,'result',result );
660: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_code',l_return_code );
661:
662: END IF;
663:
664:

Line 678: PO_DEBUG.debug_var(l_log_head,l_progress,'l_commit_count',l_commit_count );

674: END IF;
675:
676: IF g_debug_stmt THEN
677:
678: PO_DEBUG.debug_var(l_log_head,l_progress,'l_commit_count',l_commit_count );
679:
680: END IF;
681:
682: EXCEPTION

Line 836: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_name',p_supplier_name );

832: l_progress := '001';
833:
834: IF g_debug_stmt THEN
835:
836: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_name',p_supplier_name );
837:
838: END IF;
839:
840: fnd_file.put_line(fnd_file.output, l_msg1);