Is it possible to fetch company information (Setup...
# ask-stanley-ai
j
Is it possible to fetch company information (Setup > Company > Company Information) through REST, SOAP, or SuiteQL (and NOT SuiteScript)?
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it appears that fetching company information (Setup > Company > Company Information) through REST, SOAP, or SuiteQL (and NOT SuiteScript) is not directly mentioned. However, there are some indirect references that might be helpful. In the first conversation, a user asks if it's possible to get configurations and preferences using the REST API / SuiteQL. Another user suggests that it might be possible to get the features that are available and enabled, and provides a SuiteQL query to fetch this information from the
CompanyFeatureSetup
table. This suggests that some company information might be accessible through SuiteQL, but it's not clear if this includes all the information available under Setup > Company > Company Information. In the second conversation, a user asks if it's possible to get the company name without using the
N/config
module in SuiteScript, because this would require giving the 'setup company' permission to each role that executes the script. Another user suggests running the script with elevated permissions, but it's not clear if this is a viable solution for the original user's problem. This conversation suggests that getting company information might be challenging without using SuiteScript and the appropriate permissions. In the third conversation, a user asks if it's possible to access the Company Information using SuiteScript 1.0. Another user provides a working example of how to load the NetSuite configuration page and get field values from it using SuiteScript. This suggests that it's possible to get company information using SuiteScript, but it doesn't provide any information about getting this information through REST, SOAP, or SuiteQL. In conclusion, while it's clear that company information can be accessed using SuiteScript, it's not clear from the conversations provided if this information can be fetched through REST, SOAP, or SuiteQL.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83795166
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826416075
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825317383
Please provide your feedback on this answer.
a
no you can get this by suitescript's module 'config'
j
Thanks - i was wondering if it’s possible to do this without suitescript. seems like the answer is no. but thanks for including the screenshot example!
a
welcome