Similar up to a point, I'm loading the record with nlapiGetNewRecord, and then setting values separately with setFieldValue, and then submitting it at the end.
The nlapiGetContext is what I saw in Suite Answers as well, so will give that a try. Just got diverted though to another project so will need to try later 😞