Does anyone know if the there is a sleep function or the equivalent that can be used in suitelet?
I've tried the following but does not recognise function.
var timeOutSeconds; timeOutSeconds = 90000 setTimeout( "nlapiScheduleScript(47, 1, null)" , timeOutSeconds);