Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Error: Sublist addressbook field Addressbookaddress is not a subrecord field
I have a before submit user event script that transfers address subrecords on a customer record to a contact record. The script executes perfectly on my end when logged in as any role. The script throws an error on line 58 when anyone not logged in as an admin tries to execute. The error is "Sublist addressbook field addressbookaddress is not a subrecord field Stack Trace: transfer(transferAddresses.jsfunction transfer(type, name){
if (nlapiGetFieldValue('custentity90') == 'T'){
try{
var com = nlapiLoadRecord('customer', nlapiGetFieldValue('company'));
}
catch(e){}
try{
if (com == null){
com = nlapiLoadRecord('othername', nlapiGetFieldValue('company'));
}
}
catch(e){}
try{
if (com == null){