using oldRecord on delete fixed the issue
# suitescript
c
using oldRecord on delete fixed the issue