<@UFUCXSXCJ> <@UB0T77EES> <@U29PVMVAR> <@U29QCJQF3...
# sdf
a
@Ali Syed (NS DevTools QA) @Viktor Nikulin @erictgrubaugh @michoel This is a very crazy/disturbing SDF bug originally discovered by @mattdahse. Description: Entry Points added to scripts in the IDE after the script record was created and deployed do not trigger unless you edit and save the script file through the UI. Tested with: • WebStorm 2020.2.1 Build #WS-202.6948.73, built on August 25, 2020 • SuiteCloud IDE Plug-in by NetSuite 2020.2.0 Steps to Reproduce: • Create an
SDF Project
with one script, for example one
UserEvent
and only one
entry point
, for example
afterSubmit
. • Upload the script file to NetSuite, create the Script record and Deployment. • Add a new entry point to the script, for example:
beforeLoad
. • Upload/update the script file with SDF from your IDE.(I did not test this with SDF-CLI). •
The new entry point would not trigger.
• Edit the Script file through the Script Record in NetSuite UI and save it. •
The new entry point now triggers.