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.
NetSuite Tip - Setting Values to a Country List/Record Field
In Netsuite, the Standard Country list's internal id cannot be seen through UI. We need to find the internal id of the country we are about to set to the field
Solution
Get the country value from any of the Netsuite records and store it in a variable
For ex: Pulling ship country from sales order and setting that value to a country list/record custom field of a custom record.
Added a code snippet below
var shipCountry=salesorder.getValue('shipcountry) //or retreive from the address book
var stateSearchObj = _search.create({
type: "state",
filters:
[
["country","anyof",shipCountry]
],
columns:
[
_search.createColumn({name: "country", label: "Country"})