Am I just crazy? How can I remove an externalid f...
# suitescript
d
Am I just crazy? How can I remove an externalid from a record? objRecord.setValue({fieldId: 'externalid', value: ''}); should be all I need no? load/save
c
You can't update the externalid using suitescript
See SuiteAnswer 79658
d
Then how?
c
CSV or SOAP
e
Once an externalid is set, it can't be removed. Only updated
d
Ok, I'll try the CSV route
Arg. CSV is a not go too
w
I've resorted to setting it to the internalid in the past. As long as the internal id won't collide with the other external Id. Sometimes suffixing it with internalid_{internalid}.
d
Ya, I've done things like ${recordType}_${internalid}. ... ok, thanks everyone