Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Expand | ||
---|---|---|
| ||
|
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
|
Expand | ||
---|---|---|
| ||
You can also view All Personal Queries created under All Modules
|
\uD83D\uDCD8 Step-by-Step Tutorial
...
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
What is a Query?
Queries do not work like Google, Yahoo, and other search engines where you can use multiple words in a single field and get related results. Though the results will be different, every Query screen will have the same buttons and options for building and saving the search. The part that changes is the data being searched for within the record.
Examples of some common Queries
|
...
Expand | ||||
---|---|---|---|---|
| ||||
Basic vs Advanced Search
|
...
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
Display Order is a functionality of the Query screen that allows you to set the order of the columns of information that will show up in the search results screen. By default, each query will display a set of predetermined fields. These can be overridden by placing numbers in this box. Once a number is entered, only numbers with values entered will be displayed. With this feature, it’s best to start with numbers like 10, 20, 30, etc. to allow other elements to be added in between without having to renumber other fields. Consecutive numbers are not required. All of this is explained in more detail later in this section. Here, we’ll start with a basic search query to walk through the details of using the Display Order feature.
In this example, we want the columns of data in our search results to be presented in this order: Work Orders, Phase, Phase Description, Status, and Shop. [Display Order 5] Displays the Work Order number first/in the 1st column of our search results because 5 is the smallest number we enter in a Display Order field for this search. Typically all that is needed in a search at the work order level is the work order number. [Display Order 10] Display the Phase number next/in the 2nd column of our search results because 10 is the 2nd smallest number we enter in a Display Order field. [Display Order 20] Display the phase Description. The phase Description will show up in the 3rd column of our search results because 20 is the 3rd smallest number entered in a Display Order field for this search. [Display Order 30] Displays the Status in the 4th column. Select the operator to make the search more meaningful. In this example Closed, Closing, Incomplete, Deferred, and Complete - Pending R are excluded by changing the Operator to not in. [Display Order 40] Displays the Shop in the 5th column. Select the shop desired for the search. In this example, Electrical is the shop search.
|
Display Order - Asc/Dsc
Expand | ||
---|---|---|
| ||
In addition to the ability to set the Display Order using numbers in the designated fields, another part of the Display Order feature includes the ability to select between Ascending (Asc) or Descending (Dsc). |
Value & Operator
Expand | ||
---|---|---|
| ||
🟩 ValueSearching for a Work Order with the Value, 12345, this is the value used by the operator to determine if a record will be included in the query results or not. 🟩 OperatorHere (screenshot) is a standard list of Operators that can be applied to most rows of your search criteria. The logical operators (=, >, <, >=, <=, <>) work as expected. Starts with and Ends with work by looking for the value at the beginning or end of the data element. Contains just looks for the value anywhere in the data element. In and not in let you build a list of values and then the query will include records where the data element is either in or not in the list. The operators by End Date (screenshot below) only work with dates and allow the query to use the characteristics of dates to pull records in a more focused manner. Operators unique to date criteria include: Between, Older than, Last, Within, Next and Newer than 🟩 Other Operators: Null & Not NullWith some data elements, you can look to see if the element is empty (Null) or has something/anything in it (Not Null). 🟩 Operators in Table HeadersTable Headers can also (other than the Primary/top Table) have a drop down. The example below shows the Notes Log header operators. Select - This is the default value. With Select, any criteria selected from this section acts just like the criteria in the Primary Table. Not Exists - The only records returned will be those where there is no record from this subordinate table. For example, when searching for Work Orders and you select Not Exists for the Notes Log, you will get Work Orders that don’t have any notes. Exists - This is the opposite of Not Exists. So, for the example above, the search will return any Work Orders that have a Notes Log record. Match All - With Match All selected, only records where all the records on this subordinate table are selected will be returned. An example of this would be for a Work Order query where the Phase is set to Match All and a Shop is selected. The only Work Orders returned will be ones where ALL the Phases have a specific shop. |
...
Expand | ||
---|---|---|
| ||
Query Screens with Multiple TablesA query screen might have multiple tables involved. The Primary Table is listed first. After that, each additional table will have its own Heading Bar. If the header is indented, the table is subordinate to the table above it. In the screenshot example below, the Notes Log table is a Subordinate Table to the Primary Table (which is always the top-most table of a query screen). Display Order & Header OperationsSubordinate Tables will either have the Display Order column and its sort options, or the Header Operations(Operator dropdown list next to the header). It cannot have both. The Subordinate Tables without the Display Order column options cannot be displayed in the final query results. In the screenshot below, red boxes around columns can be displayed (tables with display order boxes) and green can’t (no display order boxes). |
...
Expand | ||
---|---|---|
| ||
From your WorkDesk, click on the hamburger icon on the left to expand your top-most search options/how you want to start your search.
|
...
Expand | ||
---|---|---|
| ||
🟩 Opening a Record
🟩 The Query Screen (for the Record Name Selected: E.g., Personal Query)Some primary features in the Query screen include:
|
The New Query Screen
Expand | ||
---|---|---|
| ||
When starting a new query, you’ll first be sent to a New Query screen, where you give the Query a title and select some basic preferences.
|
...
Expand | ||
---|---|---|
| ||
|
...
Expand | ||
---|---|---|
| ||
Queries can be built and saved for future use. Queries you have already created can also be edited and either replace the original query or saved as a completely new one. |
...
Expand | ||
---|---|---|
| ||
🟩 Query Screen Structure
🟩 Display OrderDisplay Order functionality allows you to specify which fields you want to see and the order you wan to see them in, in the Query Results screen. 🟩 Ascending/Descending Display OrderAscending (Asc) or Descending (Dsc) are additional Display Order options. |
Special Operators
Expand | ||
---|---|---|
| ||
|
...
Expand | ||
---|---|---|
| ||
You can also view All Personal Queries created under All Modules
By default, Personal Queries are “personal” to the user that created them, and are not visible to other logins. |
...