User event scripts cannot cause the trigger of another set of user event scripts. While it may seem like a limitation, this is intended to prevent recursive logic from occurring.
For Example:
- Item fulfillments are saved into the user’s NetSuite account from an external source.
- User event scripts for item fulfillment trigger, one of them transforms the sales order in the created from field into a sales receipt.
- Upon the creation of the sales receipt, any user event scripts deployed on the sales receipt will not trigger.
In order to work around this, the user needs to move the logic that creates the sales receipts into a suitelet and then call that suitelet through one of the active user event scripts.