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.
how to get all of the customer's addressbook
how to get all of the customer's addressbook
I search a list of customers these values
customer.internalId, customer.entityId, customer.companyName, customer.entityStatus.name, customer.email, customer.phone, Convert.ToString(customer.isInactive), customer.dateCreated.ToShortDateString()
is sucess!!!!
but when i use :
customer.addressbookList.addressbook[1].addr1
to get the addressbook I receive the error!!!
error:
System.NullReferenceException: 未将对象引用设置到对象的实例
help me how can I get all of the addressbook
i can't also set the bodyFieldsOnly too... how??
thanks very much
the guide show me that:
Important: When performing searches on records, by default only the body fields are returned. To
return field values for all lists on a record, you must set the bodyFieldsOnly element of the