The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_update_allowed varchar2(1);
l_update_allowed := ASO_CONTRACT_TERMS_PUB.ok_to_commit(
p_api_version => l_api_version,
p_init_msg_list => FND_API.G_FALSE,
p_doc_id => p_doc_id,
p_doc_type => p_doc_type,
p_validation_string => p_validation_string,
x_return_status => x_return_status,
x_msg_data => x_msg_data,
x_msg_count => x_msg_count);
return l_update_allowed;