Add NetSuite Saved Search Available Filters While Using Criteria Expressions

NetSuite Technical

Tags: , ,

This article is relevant if you are looking to produce a complex Saved Search that uses criteria expressions and you also seek to use a one of the items as an available filter.

Background

During a recent NetSuite implementation, I needed to create a lookup tool to help our client inspect their item definitions while used in specific advanced configurations.   I needed to use expressions to key on the items of interest.  I then naturally wanted to use the one of the criteria in the available filter drop downs so the users can have options during their lookup work.  As I tried to save the Saved Search, I received the “You cannot use an expression builder criteria filter as an available filter” error message.

Solving the Available Filter Expression Challenge

The key to solving this expression builder filter challenge is to use formulas instead of direct field references.   Usually this can be done because you know the criteria condition you are looking for in advance.  In the attached image, I am seeking to filter on a checkbox which Yes / No is supplied by a ‘T’ or ‘F’ by the database.  By using a decode function (or a case statement), I get the criteria I need.  But then I also fool the Saved Search tool so that I can use the column that I really care about in the Available Filters definition.

Get Advanced NetSuite Support

NetSuite is a flexible business system and the platform allows us to be creative on how we adapt the system to fit requirements.  If you are looking for professionals that can help you extract more value from your NetSuite investment, let’s have a conversation.

Be Sociable, Share!

Marty Zigman

Holding all three official certifications, Marty is regarded as the top NetSuite expert and leads a team of senior professionals at Prolecto Resources, Inc. He is a former Deloitte & Touche CPA and has held CTO roles. For over 30 years, Marty has produced leadership in ERP, CRM and eCommerce business systems. Contact Marty to set up a conversation.

More Posts - Website - Twitter - Facebook - LinkedIn - YouTube

About Marty Zigman

Holding all three official certifications, Marty is regarded as the top NetSuite expert and leads a team of senior professionals at Prolecto Resources, Inc. He is a former Deloitte & Touche CPA and has held CTO roles. For over 30 years, Marty has produced leadership in ERP, CRM and eCommerce business systems. Contact Marty to set up a conversation.

Biography • Website • X (Twitter) • Facebook • LinkedIn • YouTube

7 thoughts on “Add NetSuite Saved Search Available Filters While Using Criteria Expressions

  1. Subhash Deshmukh says:

    Hi Marty Zigman,

    I have a query related to filters. I am creating a saved search of Transaction type. I which I have to filter out only those booking transaction which have status either Cancelled or Refunded. Which field should I use? I have checked all the status fields but they don’t have Cancelled & Refunded option to filter out.
    Thanks.

  2. Marty Zigman says:

    Did you see this article which gives you some clues how to get the values you are looking for?

    https://blog.prolecto.com/2013/08/30/netsuite-searchfilter-transaction-internal-status-list/

  3. Reza says:

    Hi Marty,

    Many thanks for posting workarounds and/or new ways to utilise NetSuite.

    I am not sure if the above “Decode” formula works unless you change to “is Not Empty” rather than ” is 1″

    Regards
    Reza

  4. Marty Zigman says:

    Hi Reza,

    Perhaps the NVL2 function can be used as well.

    Marty

  5. Edoardo Giovanni Rai says:

    how could we make [Amount] as available filters? it would be great to search for transactions that match a given amount value
    thanks

  6. Marty Zigman says:

    I agree it would be good with native tools. If I come up with a technique, I will update the article.

    Marty

  7. Marty,

    I was able to list all the transactions that match a given amount using the reports instead of a saved search. Maybe this helps

Leave a Reply

Your email address will not be published. Required fields are marked *