Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

SETFILTER AL CODE for Wildcard search

(2) ShareShare
ReportReport
Posted on by 2,532
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. 
  • Verified answer
    Alexander Drogin Profile Picture
    Alexander Drogin 249 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
    Khushbu Rajvi. 7,396 Super User 2025 Season 1 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,963 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,761 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans