Tried this var id = record.att...
# suitescript
r
Tried this var id = record.attach({ record: { type: record.Type.PHONE_CALL, id: callId }, to: { type: record.Type.CUSTOMER, id: customerRecord.getValue('id') } });
l
@Russell SS 2.0 doc is not yet updated but see this one from SS 1.0.. looks like attaching phone call to record via SS is not yet supported: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_n3027360.html#bridgehead_N3027757
r
Thanks, Netsuite frustrates me so much
wouldn't mind if it was cheap
👍 1
l
I hear ya. If this is really the end of the world for you though, you can file a case and complain about it. Sometimes they listen.
r
I mean I do need to do it are there other routes to achieve the same?
It annoys me that everything the UI can do isn't available, any decent application should be written around an API so API can do anything the UI can
🙏 1
</endrant> 🙂 sorry
l
Will it not work for you if you just load the phone call record and update the 'company' field?
Looks like that's the way to go.
r
The company field should be set to the ID of the customer record?
l
Nope. You will set the company field on the phone call record.