Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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?