Version 9.5 Failed to update table after deleting record

With version 9.5 the update of another table is failing when deleting a record, before it worked without problem, but with this update it is not updating the other table in the onbeforedelete event, it works in the insert and update events but in the delete events the macro sc_exec_sql to update another table.

I need urgent help, it was working perfectly before this update