In Business Central, there are several built-in filter tokens available, and users can also define custom filter tokens to suit their specific needs. Custom filter tokens can be defined in any language and are accessible across the application.
As a user of the Business Central you have some constants you can use to filter or insert values. These constants contain useful values for data manipulation such as
* t / today for date field – return current date
* q / quarter for date field filters – return range of the current quarter
* w / week, m / month, y / year …
A few weeks back, I watched Erik Hougaard‘s youtube video “Make your own Date Filters in AL and Business Central” and thought of trying it and adding my own bit to it.
First, what was the intention with custom filter tokens?
The standard application comes already with some tokens.
OAuth2 authentication method, this type of connection can be used to connect to Business Central Admin APIs; the system to access the exposed APIs services uses a token issued by the access procedure, it is possible to use different ways to get the token released.