Something like this `nlapiAttachRecord('contact', ...
# suitescript
m
Something like this
nlapiAttachRecord('contact',  contactId, 'customer', customerId, { role: roleId })