The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_update_allowed VARCHAR2(1);
PO_DRAFTS_PVT.update_permission_check
( p_calling_module => PO_DRAFTS_PVT.g_call_mod_HTML_UI,
p_po_header_id => p_po_header_id,
p_role => PO_GLOBAL.g_role_SUPPLIER,
x_update_allowed => x_authoring_allowed,
x_locking_applicable => l_locking_applicable,
x_unlock_required => l_unlock_required,
x_message => x_message
);
PO_LOG.stmt(d_module, d_position, 'update permission check failed');
PO_DRAFTS_PVT.update_draft_status( p_draft_id => l_draft_id,
p_new_status =>PO_DRAFTS_PVT.g_status_DRAFT);