Uday Bhaskar Gajavalli
03/12/2025, 8:41 AMCeligo AI
03/12/2025, 8:42 AMAI generated answer (using internal Slack threads):To fetch your NetSuite company's information when multi-subsidiary is disabled via API and without SuiteScript, you can use the REST API. However, the specific method to do this is not mentioned in the provided threads. The threads do mention using SuiteScript to fetch company information, but since you specified not to use SuiteScript, this information may not be applicable to your situation. In SuiteScript, you can load the company information configuration and get the value of the desired field. Here is an example provided in the threads:
code
var companyInfo = nlapiLoadConfiguration('companyinformation');
var ShipAddr1 = companyInfo.getFieldValue('shippingaddress1');
var shipCity = companyInfo.getFieldValue('shippingcity');
var shipState = companyInfo.getFieldValue('shippingstate');
var shipZip = companyInfo.getFieldValue('shippingzip');
var shipCountry = companyInfo.getFieldValue('shippingcountry');
And to get the NetSuite account base URL:
code
var companyInfo = nlapiLoadConfiguration('companyinformation');
var baseUrl = companyInfo.getFieldValue('appurl');
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
03/12/2025, 8:42 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825473905
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81908977
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817170322
Celigo AI
03/12/2025, 8:42 AM