"The nlapiScheduleScript API consumes 20 units per call. This API is supported in user event, portlet, RESTlet, scheduled, and Suitelet scripts." like @jkabot suggested, you can't do it at the form level (sorry tagged wrong person earlier)
s
stalbert
03/25/2019, 3:07 PM
this reply quotes clear indication that you cannot use this in client scripts
n
Nik
03/26/2019, 4:17 AM
One way out would be calling a Suitelet/RESTlet from client script that calls your scheduled script.