8: -- PO_Mass_Update_PO_GRP.Update_Persons calls the procedure PO_Mass_Update_PO_PVT.DO_Update
9:
10: --------------------------------------------------------------------------------------------------
11:
12: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
13: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
14: g_pkg_name CONSTANT VARCHAR2(100) := 'PO_Mass_Update_PO_GRP';
15: g_log_head CONSTANT VARCHAR2(100) := 'po.plsql.' || g_pkg_name || '.';
16:
9:
10: --------------------------------------------------------------------------------------------------
11:
12: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
13: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
14: g_pkg_name CONSTANT VARCHAR2(100) := 'PO_Mass_Update_PO_GRP';
15: g_log_head CONSTANT VARCHAR2(100) := 'po.plsql.' || g_pkg_name || '.';
16:
17: --------------------------------------------------------------------------------------------------
67: l_progress := '000';
68:
69: IF g_debug_stmt THEN
70:
71: PO_DEBUG.debug_begin(l_log_head);
72: PO_DEBUG.debug_var(l_log_head,l_progress,'p_update_person',p_update_person );
73: PO_DEBUG.debug_var(l_log_head,l_progress,'p_old_personid', p_old_personid);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
68:
69: IF g_debug_stmt THEN
70:
71: PO_DEBUG.debug_begin(l_log_head);
72: PO_DEBUG.debug_var(l_log_head,l_progress,'p_update_person',p_update_person );
73: PO_DEBUG.debug_var(l_log_head,l_progress,'p_old_personid', p_old_personid);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
69: IF g_debug_stmt THEN
70:
71: PO_DEBUG.debug_begin(l_log_head);
72: PO_DEBUG.debug_var(l_log_head,l_progress,'p_update_person',p_update_person );
73: PO_DEBUG.debug_var(l_log_head,l_progress,'p_old_personid', p_old_personid);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
70:
71: PO_DEBUG.debug_begin(l_log_head);
72: PO_DEBUG.debug_var(l_log_head,l_progress,'p_update_person',p_update_person );
73: PO_DEBUG.debug_var(l_log_head,l_progress,'p_old_personid', p_old_personid);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
71: PO_DEBUG.debug_begin(l_log_head);
72: PO_DEBUG.debug_var(l_log_head,l_progress,'p_update_person',p_update_person );
73: PO_DEBUG.debug_var(l_log_head,l_progress,'p_old_personid', p_old_personid);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
79: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
72: PO_DEBUG.debug_var(l_log_head,l_progress,'p_update_person',p_update_person );
73: PO_DEBUG.debug_var(l_log_head,l_progress,'p_old_personid', p_old_personid);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
79: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
80: PO_DEBUG.debug_var(l_log_head,l_progress,'p_include_close_po',p_include_close_po);
73: PO_DEBUG.debug_var(l_log_head,l_progress,'p_old_personid', p_old_personid);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
79: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
80: PO_DEBUG.debug_var(l_log_head,l_progress,'p_include_close_po',p_include_close_po);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
74: PO_DEBUG.debug_var(l_log_head,l_progress,'p_new_personid', p_new_personid);
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
79: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
80: PO_DEBUG.debug_var(l_log_head,l_progress,'p_include_close_po',p_include_close_po);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
82:
75: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_type',p_document_type );
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
79: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
80: PO_DEBUG.debug_var(l_log_head,l_progress,'p_include_close_po',p_include_close_po);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
82:
83: END IF;
76: PO_DEBUG.debug_var(l_log_head,l_progress,'p_document_no_from',p_document_no_from );
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
79: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
80: PO_DEBUG.debug_var(l_log_head,l_progress,'p_include_close_po',p_include_close_po);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
82:
83: END IF;
84:
77: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_from',p_date_from);
78: PO_DEBUG.debug_var(l_log_head,l_progress,'p_date_to',p_date_to);
79: PO_DEBUG.debug_var(l_log_head,l_progress,'p_supplier_id',p_supplier_id);
80: PO_DEBUG.debug_var(l_log_head,l_progress,'p_include_close_po',p_include_close_po);
81: PO_DEBUG.debug_var(l_log_head,l_progress,'p_commit_interval',p_commit_interval);
82:
83: END IF;
84:
85: SAVEPOINT Update_Persons_SP;
103: l_progress := '001';
104:
105: IF g_debug_stmt THEN
106:
107: PO_DEBUG.debug_var(l_log_head,l_progress,'After Calling Do_Update', 'After Calling Do_Update');
108:
109: END IF;
110:
111: EXCEPTION