codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 41 "Filter Tokens"

System Application · System.Text

Across versions

  1. BC23-30present

Neighbourhood 15 connected objects and pages

Codeunit 360 "Accounting Period Mgt." (event subscribers)Accounting Period Mgt.Codeunit 9150 "My Records Filter Sub." (event subscribers)My Records Filter Sub.Codeunit 58 "Filter Tokens Impl." (calls, 9 links)Filter Tokens Impl.Page 113 "Budget" (calls)BudgetPage 221 "Resource Allocated per Job" (calls)Resource Allocated per JobPage 228 "Res. Gr. Allocated per Job" (calls)Res. Gr. Allocated per JobPage 344 "Navigate" (calls)NavigatePage 408 "G/L Balance by Dimension" (calls)G/L Balance by DimensionPage 5915 "Service Tasks" (calls)Service TasksPage 6004 "Res. Availability (Service)" (calls)Res. Availability (Service)Page 6008 "Res. Alloc. per Service Order" (calls)Res. Alloc. per Service OrderPage 6009 "Res. Gr. Alloc. per Serv Order" (calls)Res. Gr. Alloc. per Serv OrderPage 6010 "Res.Gr. Availability (Service)" (calls)Res.Gr. Availability (Service)Page 9209 "Invt. Analys by Dim. Matrix" (calls)Invt. Analys by Dim. MatrixReport 25 "Account Schedule" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.Text · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public
SingleInstance true

Events published

  • OnResolveDateFilterToken(DateToken: Text; var FromDate: Date; var ToDate: Date; var Handled: Boolean) (integration): Use this event if you want to add support for additional tokens that user will be able to use when working with date filters, for example “Christmas” or “StoneAge”. Ensure that in your subscriber you check that what user entered contains your keyword, then return proper date range for your filter to…
  • OnResolveTextFilterToken(TextToken: Text; var TextFilter: Text; var Handled: Boolean) (integration): Use this event if you want to add support for additional filter tokens that user will be able to use when working with text or code filters, for example “MyFilter”. Ensure that in your subscriber you check that what user entered contains your token, then return properly formatted text for your filte…
  • OnResolveTimeFilterToken(TimeToken: Text; var TimeFilter: Time; var Handled: Boolean) (integration): Use this event if you want to add support for additional filter tokens that user will be able to use when working with time filters, for example “Lunch”. Ensure that in your subscriber you check that what user entered contains your token, then return properly formatted time for your filter token.
  • OnResolveDateTokenFromDateTimeFilter(DateToken: Text; var DateFilter: Date; var Handled: Boolean) (integration): Use this event if you want to add support for additional filter tokens that user will be able to use as date in DateTime filters. Parses and translates a date token into a date filter.
  • OnResolveTimeTokenFromDateTimeFilter(TimeToken: Text; var TimeFilter: Time; var Handled: Boolean) (integration): Use this event if you want to add support for additional filter tokens that user will be able to use as time in DateTime filters. Parses and translates a time token into a time filter.

Procedures

  • MakeDateFilter(var DateFilterText: Text): Turns text that represents date formats into a valid date filter expression with respect to filter tokens and date formulas. Call this function from onValidate trigger of page field that should behave similar to system filters. The text from which the date filter should be extracted passed as VAR. F…
  • MakeTimeFilter(var TimeFilterText: Text): Turns text that represents a time into a valid time filter with respect to filter tokens. Call this function from onValidate trigger of page field that should behave similar to system filters.
  • MakeTextFilter(var TextFilter: Text): Turns text into a valid text filter with respect to filter tokens. Call this function from onValidate trigger of page field that should behave similar to system filters.
  • MakeDateTimeFilter(var DateTimeFilterText: Text): Turns text that represents a DateTime into a valid date and time filter with respect to filter tokens. Call this function from onValidate trigger of page field that should behave similar to system filters.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Filter Tokens"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources