BC Friday Tips #64 Filter Tokens Codeunit
The Filter Tokens codeunit enables converting text input into date filters with shortcuts like T for Today, matching FlowFilter behavior for consistent user experience in extensions.
Read it hereOpen in Claudehttps-thatnavguy-com-blog-2026-bc-friday-tips-64-filter-tokens-codeunit--83ed307789.md

post That NAV Guy
"You can turn a Text field into a Date Filter, just like a FlowFilter"
Key points
- Text fields can be converted to date filters using the Filter Tokens codeunit
- Supports date filter shortcuts similar to FlowFilters (e.g., T for Today)
- Validates user input before converting to proper date filter format
- Maintains consistent behavior with standard FlowFilter functionality
Quotes
- “You can turn a Text field into a Date Filter, just like a FlowFilter” (Shows the core capability to extend text input handling to match standard filter behavior)
- “Use the Filter Tokens codeunit to validate user input and convert it into a proper date filter” (Explains the practical purpose and method for implementing this feature in extensions)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
Context
- Features: Filter Tokens codeunit, date filter conversion, text to filter conversion, filter shortcuts
Source: That NAV Guy, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.