Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Custom Shipping Address not getting set on Sales Order
Hi,
I am creating Sales Order through Suitescript 1.0 and trying to set Shipping Address on an Sales Order through the script when order is getting created. For US Addresses, all the fields are getting assigned correctly. For Canada, only Country, Zip Code & Ship Phone is getting set. All others going blank. Below is the Suitescript I'm using to assign the address.
Any help on this is appreciated.
record.setFieldText('shipaddresslist', 'New');
record.setFieldValue('shipattention', searchresult.getValue( 'custrecord_ah_inb_ship_to_attn' ));
record.setFieldValue('shipaddressee', searchresult.getValue( 'custrecord_ah_inb_ship_to_addressee' ));
record.setFieldValue('shipaddr1', searchresult.getValue( 'custrecord_ah_inb_ship_to_addr1' ));