I have the following function:
create or replace function functions.send_occurrence(username_a varchar(80),