Hello all,
Here's something strange.
I can create a contact client side with the following code but when the code is run in a suitelet it throws a bizarre error:
" Items you have requested in the record have been deleted since you retrieved the form"
var contact = nlapiCreateRecord('contact'); contact.setFieldValue('company', targetCompany); contact.setFieldValue('email', email); contact.setFieldValue('firstname', firstName); contact.setFieldValue('lastname', lastName); contact.setFieldValue('entityid', firstName +' '+ lastName); contact.setFieldValue('globalsubscriptionstatus', doSubscribe ? 1 : 2); var contactId = nlapiSubmitRecord(contact, {disabletriggers:true}); Anyone have any insight? workarounds? fixes? anything?I've tried starting off using nlapiCopyRecord on a known good contact and tried creating in dynamic mode.