Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
6000_case_study:0400_configuration:0700_operations:0200_find_member [2022/08/21 22:47] – ↷ Page moved from docs:6000_case_study:0400_configuration:0700_operations:0200_find_member to 6000_case_study:0400_configuration:0700_operations:0200_find_member administrator6000_case_study:0400_configuration:0700_operations:0200_find_member [2026/08/13 00:55] (current) – ↷ Links adapted because of a move operation localdev
Line 4: Line 4:
 This operation will allow users to find a particular member. The user will select the operation from the system menu and the system will prompt the user to enter the last name and/or the number of the member that she wants to find, and the system will display the details of this member. The user may also enter a partial name and/or number of the member(s) in which case the system will show all members whose names contain the entered partial name and/or whose numbers contain the entered partial number. This operation will allow users to find a particular member. The user will select the operation from the system menu and the system will prompt the user to enter the last name and/or the number of the member that she wants to find, and the system will display the details of this member. The user may also enter a partial name and/or number of the member(s) in which case the system will show all members whose names contain the entered partial name and/or whose numbers contain the entered partial number.
  
-For us to configure such an operation we need to define a //query// that will look for members by name and/or number (see also the [[docs:2000_concepts:0600_data_retrieval|Data Retrieval]]). To do this right click on the "Queries" node in the Elements Tree and select "New" from the pop-up menu. The query editor will appear in the working area. Enter the name of the new query "Member" in the list of properties of the query. Select "Member" from the drop down as the business object that the query will be looking for (What to Look For section). We will now define conditions of the search. Conditions are defined in the "Where" panel of the editor. To define the first condition:+For us to configure such an operation we need to define a //query// that will look for members by name and/or number (see also the [[2000_concepts:0600_data_retrieval|Data Retrieval]]). To do this right click on the "Queries" node in the Elements Tree and select "New" from the pop-up menu. The query editor will appear in the working area. Enter the name of the new query "Member" in the list of properties of the query. Select "Member" from the drop down as the business object that the query will be looking for (What to Look For section). We will now define conditions of the search. Conditions are defined in the "Where" panel of the editor. To define the first condition:
  
   - Click on the cell in the first row of the Attribute/Expression column and select ''Member.LastName'' from the drop down that appears.    - Click on the cell in the first row of the Attribute/Expression column and select ''Member.LastName'' from the drop down that appears. 
Line 22: Line 22:
 Our query has been completed – we can click on the "Save" button and the new query will appear in the Elements Tree. Our query has been completed – we can click on the "Save" button and the new query will appear in the Elements Tree.
  
-Now we can define the menu item that will run the query that we have defined. We do it in a similar fashion to how we defined the "New library member" menu item (see [[docs:6000_case_study:0400_configuration:0700_operations:0100_register_new_member]]). In the "Administrator" visual perspective we define the "Find" folder item and underneath it we define the "Library member" item of the "Run Query" type. We select the "Member" query that we have just defined as the query that will be run.+Now we can define the menu item that will run the query that we have defined. We do it in a similar fashion to how we defined the "New library member" menu item (see [[6000_case_study:0400_configuration:0700_operations:0100_register_new_member]]). In the "Administrator" visual perspective we define the "Find" folder item and underneath it we define the "Library member" item of the "Run Query" type. We select the "Member" query that we have just defined as the query that will be run.