web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

SETFILTER AL CODE for Wildcard search

(1) ShareShare
ReportReport
Posted on by 3,124
Hi All
I'm trying use setfilter with wild card so for example I want to filer any records where description contains words CUSTOMER anywhere in the description
 
JobQueueEntry.SetFilter(Description,'%1','*CUSTOMER*")
 
Cannot get it work. 
I have the same question (0)
  • Verified answer
    Alexander Drogin Profile Picture
    262 on at
    SETFILTER AL CODE for Wildcard search
    And what does not work for you? Assuming that the double quote after the filter value is a typo and it's actually a single quote, this should work.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    19,072 Super User 2025 Season 2 on at
    SETFILTER AL CODE for Wildcard search
     
    Try this: JobQueueEntry.SetFilter("Description", '%CUSTOMER%');
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,814

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,681 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 2,363 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans