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.
Setting ShipTo / ShipAddress / ShipAddressList on Purchase Order
I am trying to set either the shipTo or shipAddressList fields on the Purchase Order, on a PO which the supplier is drop shipping direct to the customer.
My first issue is that there appears to be no documentation on shipTo, shipAddress, shipAddressList related to SuiteTalk.
So, I decided I would just pull the AddressBookList from the customer and set it to the PO. No dice, shipAddressList is a recordref and apparently addressBookList was not inherited from recordref. AddressBookList also does not appear to have an internal ID.
So, since that didn't work, I thought I'd try to loop through the Addressed in AddressBookList; get the Default Shipping Address and set the shipTo field to it's internalID. But, I can't figure out a way to loop through the AddressBook records, within the addressBookList?