Charl
Charl

Reputation: 827

NetSuite user event script only ran once

I deployed a user event script, which applies to Purchase Orders, with event "edit". My script ran the first time I edited a purchase order, but thereafter it no longer ran. I recreated the entire script and deployment, but it is still not running.

I checked the list of scripts applied to purchase orders and my script is there. The script is deployed and released, with event type set to 'edit'.

Might this have something to do with usage limits? There was an error during the first execution of the script, where I did not supply a needed parameter, perhaps this caused an issue?

Any help will be greatly appreciated, thank you.

Upvotes: 0

Views: 609

Answers (1)

Rusty Shackles
Rusty Shackles

Reputation: 2850

Did you select an audience when you released the script? If there is no audience selected, the script won't execute. Happened to me a couple of times.

Upvotes: 1

Related Questions