Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Setting Customer Address and Shipping Address
I am trying to set the customer address on the customer record and have it flow to the sales order as the shipping address this is via PHP and webservices. The address will not stay and here is the code.
Any help would be appreciated as we are stuck .
/** create new customer and get internal id */
//add new address
$address = new CustomerAddressBook();
$address->defaultShipping = true;
$address->defaultBilling = true;
$address->attention = mb_convert_encoding($row_order['ship_to_name'], 'UTF-8');
$address->addr1 = $row_order['ship_to_street1'].' '.$row_order['ship_to_street2'];
0