I would like to fetch my netsuite company's inform...
# ask-stanley-ai
u
I would like to fetch my netsuite company's information when multi subsidiary is disabled via API and without suitescript
c
AI 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:
Copy code
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:
Copy code
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. ******
Slack 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
Please provide your feedback on this answer.