Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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