bluejay92
bluejay92

Reputation: 161

Suitescript Unknown error: TypeError this.handleChange is not a function

I have been working with Suitescript for just over a year. I have a client script running on Save on a Journal Entry. The error I get on Save is "TypeError this.handleChange is not a function". Can someone explain what this could mean with my script?

Upvotes: 1

Views: 726

Answers (2)

Maria Berinde-Tampanariu
Maria Berinde-Tampanariu

Reputation: 1041

If you see it only in Chrome, then it's related to a change in the latest version of Chrome (57). We are experiencing the same behaviour with client-side fieldChanged scripts, which used to work without issues before and work fine in other browsers.

Upvotes: 1

Donny West
Donny West

Reputation: 720

Impossible to know without seeing the code, but I'd wager your issue is related to scope. Check and make sure "this" is pointing where you expect it to.

Upvotes: 1

Related Questions