Getting unexpected error when creating an Estimate...
# suitescript
a
Getting unexpected error when creating an Estimate, but only for a specific Role and not for Admin role, and no script logs are recorded anywhere saying unexpected error. The Estimate creates successfully, so I know it's not happening in beforeSubmit events, but the error page appears immediately afterward. How do I find out what's causing the unexpected error?
m
Try going to scripted records and turning off all scripts and workflows deployed to the estimate
Then turn on one at a time until you find the one causing the error
a
OK. I tried turning off a few but I can try all the rest.
That did the trick. The good old fashioned process of elimination is sometimes the best method. Thanks! The problem was the Send Email action was trying to access Sales Rep : Email to assign the recipient. I changed it to Current Record : Sales Rep and the problem went away.