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.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
setting transactionbilladdress for SalesOrders in PHP
would anyone happen to know how to add a SalesOrder with the transactionShipAddress and transactionBillAddress fields set to what I specify ?
I can't seem to get this to work, this is my code :
$orderData = array();
$orderData['billAddressee'] = 'Some Guy';
$orderData['billPhone'] = '6665554321';
$orderData['billAddr1'] = '101 Some Sreet';
$orderData['billAddr2'] = 'Suite 101';
$orderData['billCity'] = 'Nowheresville';
$orderData['billState'] = 'OR';
$orderData['billZip'] = '97214';
$orderData['billCountry'] = '_unitedStates';
// A bunch more data set here ...
...
// set up addresses (transaction bill address and shipping bill address will be set to the same for now)
$shipAddress = new nsComplexObject("ShipAddress");
$shipAddress->setFields(array('shipAddressee' => $orderData['billAddressee'],