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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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