I dont know what else or what field is causing the...
# suitescript
e
I dont know what else or what field is causing the error… but if you add a single line in your script
nlapiSetFieldValue({somedatefield}, '')
it should not throw an error