When I running a function del_bisnota in SQL mode eg.: select del_bisnota() PostgreSQL return ERROR.
If I run in EMS PostgreSQL Function Editor del_bisnota() running ok.