I have a netsuite environment that has a Custom Li...
# ask-stanley-ai
d
I have a netsuite environment that has a Custom List defined with script id: customlist_go_warranty_extension. How can I retrieve all the values inside this Custom List with a simple NetSuite SOAP API call? Do not worry about generating of token / access to the environment, that's done. Focus on which entities to query and how via SOAP API.
c
AI generated answer (using internal Slack threads):
To retrieve all the values inside a Custom List with a NetSuite SOAP API call, you can use the
getCustomizationId
operation. This operation retrieves metadata for a specified type of customization. Here is an example of how you can use this operation to retrieve a custom list:
Copy code
xml
<getCustomizationId xmlns="urn:messages_2017_1.platform.webservices.netsuite.com">
  <customizationType xmlns="urn:core_2017_1.platform.webservices.netsuite.com">
    <getCustomizationType>customList</getCustomizationType>
  </customizationType>
  <includeInactives>false</includeInactives>
</getCustomizationId>
In the
getCustomizationType
field, you specify the type of customization you want to retrieve. In this case, you want to retrieve a custom list, so you specify
customList
. The
includeInactives
field specifies whether to include inactive customizations in the results. If you set this field to
false
, the operation only retrieves active customizations. After you send this request, the NetSuite SOAP API returns a list of all active custom lists in the account. You can then search this list for the custom list with the script ID
customlist_go_warranty_extension
. ****** 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.862409353
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.851248384
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832043707
Please provide your feedback on this answer.
d
No this will give me a list of custom lists! It's not what I want. I know the custom list already, which has script ID customlist_go_warranty_extension. I want to return all the active values for custom list customlist_go_warranty_extension.
c
Thank you for your feedback
d
No this will give me a list of custom lists! It's not what I want. I know the custom list already, which has script ID customlist_go_warranty_extension. I want to return all the active values for custom list customlist_go_warranty_extension.