The SmartConnect NetSuite Real-Time trigger works in conjunction with the native NetSuite SuiteScript file. The SuiteScript file is generated dynamically when clicking the Register button on the NetSuite Real-Time Data Source and is specific to NetSuite Real-Time Data Source and NetSuite entity. This SuiteScript file is not automatically removed when a Real-Time Data Source is unregistered or deleted. The file will need to be manually removed from NetSuite.
Delete the Script Record in NetSuite
- Log into NetSuite as a user with access to publish Scripts.
- Navigate to Customization > Scripting > Script Deployments.

- Add the filter TYPE= “User Event”.
- Add a filter on RECORD TYPE for the record type your real-time data source was referencing.

- Click on the Script link

- Click Edit on the Script Record
- Select Actions > Delete
