The way I think is since you are using User Event ...
# suitescript
n
The way I think is since you are using User Event Script - you have to apply it somewhere. I am guessing you are applying on Purchase Orders?