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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
AE: How do I get the shipping address from Sales Orders in a format?
Hi all,
I've been running into some walls when it comes to scripting with shipping addresses.
What I'm trying to achieve is to get the shipping address from a sales order, combined with other information, into a STRING variable that gets rendered as a PDF later on. (We are not using the Advanced PDF/HTML templates as it lacks the customization we need for these PDFs, instead we are using SuiteScript)
However, using the "shipaddress" from the sales order record, gives an unformatted string, which is not allowed on the PDF, it needs to be in a certain format.
Using "shipaddr1", "shipzip", "shipcity", "shipcountry" from the sales order record returns empty variables even though using a chrome extension I can clearly see these are indeed filled with information. (Using the above variables from the customer record is not an option, as the shipping address may and will be changed on the sales order)