Skip to main content

Admin | Custom Lists Inventory (Active Lists Only)

Returns all active custom lists in your NetSuite account, including script ID, owner, description, and ordering behavior for governance and documentation.

Updated over a week ago

Purpose of this query

This SuiteQL statement provides a clean inventory of active custom lists from the CustomList table. It returns the list name, description, script ID, owner (display name), and whether the list is ordered. Use this report to audit configuration, confirm ownership, document business logic tied to lists, and compare environments such as sandbox versus production. By filtering to IsInactive = ‘F’, the query focuses only on lists currently in use.

SuiteQL

SELECT
Name,
Description,
ScriptID,
BUILTIN.DF( Owner ) AS Owner,
IsOrdered
FROM
CustomList
WHERE
( IsInactive = 'F' )
ORDER BY
Name;

Sample Output

How the query works

  1. Reading custom list metadata

    The query selects from the CustomList table, which stores definitions for all custom lists in NetSuite.

  2. Returning key configuration fields

    Name shows the list label.

    Description provides context or business purpose.

    ScriptID is the technical identifier used in SuiteScript and integrations.

    BUILTIN.DF(Owner) converts the internal owner ID into a readable name.

    IsOrdered indicates whether the list values are manually ordered.

  3. Filtering to active lists only

    The WHERE clause excludes inactive lists so the report reflects only lists currently available in the account.

  4. Sorting alphabetically

    ORDER BY Name makes the output predictable and easy to review or compare across environments.

Why this report is useful

• Configuration governance: quickly see which custom lists exist and who owns them.

• Environment comparison: export from multiple accounts and compare by ScriptID to detect differences.

• Cleanup initiatives: identify outdated or unused lists (by temporarily removing the inactive filter).

• Integration validation: confirm ScriptID values referenced in SuiteScript or external integrations.

• Documentation support: maintain an up-to-date catalog of business-controlled list values.

Customization notes

• Include inactive lists: remove the WHERE (IsInactive = ‘F’) filter.

• Filter by owner: add WHERE Owner = <internal_id>.

• Join to list values: join to the custom list value table if you need to audit list entries.

• Add last modified date: include lastmodifieddate if you want to track recent changes.

• Export to Excel and group by Owner to see which teams control which lists.

Did this answer your question?