Views:

Sorting, Searching, and Filtering

 

One of the many features of Microsoft Dynamics Business Central is the ability to search for data using criteria in filters and advanced filters.

There are available formats you can use on Microsoft Dynamics Business Central, in addition you can use special characters to find specific data

The following tables show the symbols which can be used in filters in Microsoft Dynamics Business Central:

When you enter criteria, you can use all the numbers and letters that you can normally use in the field. In addition, you can use some special symbols or mathematical expressions. Here are the available formats:

ENTERING CRITERIA IN FILTERS
 
SymbolMeaningSample ExpressionRecords Displayed
=Equal to377Number 377
  BLUEThose with the BLUE code, for example, the BLUE warehouse code
  22A datetime: from 22-current month-current year 0:00:00 to 22-current month-current year 22:59:59
  22 10An exact datetime: 22-01-01 10:00:00
..Interval1100..2100Numbers 1100 through 2100
  ..2500Up to and including 2500
  ..12 31 00Dates up to and including 12 31 00
  P8..Information for accounting period 8 and thereafter
  ..23From the beginning of time until 23-current month-current year 23:59:59
  23..From 23-current month-current year 0:00:00 until the end of time
  22..23From 22-current month-current year 0:00:00 until 23-current month-current year 23:59:59
|Either/or1200|1300Those with number 1200 or 1300
&And<2000&>1000Numbers that are less than 2000 and greater than 1000.

The & sign cannot be used by itself with numbers because no record can have two numbers.
<>Not equal to<>0All numbers except 0
>Greater than>1200Numbers greater than 1200
>=Greater than or equal to>=1200Numbers greater than or equal to 1200
<Less than<1200Numbers less than 1200
<=Less than or equal to<=1200Numbers less than or equal to 1200
*An indefinite number of unknown charactersCoTexts that contain "Co"
  *CoTexts that end with "Co"
  Co*Texts that begin with "Co"
?One unknown characterHans?nTexts such as Hansen or Hanson
 Calculate before rest30|(>=10&<=20)Those with number 30 or with a number from 10 through 20 (the result of the calculation within the parentheses)
@Ignore case (either uppercase or lowercase allowed)@locationTexts such as LOCATION, location or Location
' 'Empty text Text that is empty.

You can also combine the various format expressions:

TABLE 2
 
ExpressionDescription
5999|8100..8490Include any records with the number 5999 or a number from the interval 8100 through 8490.
..1299|1400..Include records with a number less than or equal to 1299 or a number equal to 1400 or greater (all numbers except 1300 through 1399).
>50&<100Include records with numbers that are greater than 50 and less than 100 (numbers 51 through 99).
C&*D*Texts containing both C and D.
@co?

Texts containing co, CO, Co, cO, such as cot, cope and incorporated.

CO, cO, Co or co must be present, followed by at least one character, but there can be an indefinite number of characters before and after these, and case is unimportant.

 

 

For more information use the URL below.

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-entering-criteria-in-filters