M3_H5_SimpleQuery
Use this H5 script to simplify an enterprise search query and filter records. You can add this script to any panel with a list and enterprise search enabled.
Note: This script only works in the new
H5 UI.
Script arguments
Examples of arguments are as follows:
- Argument to be used on 'Item. Open' (MMS001/B) to search and filter
item records.
Build Query,1,1
This table shows the objects included in the example argument and their corresponding descriptions:Argument Example Optional Descriptions Button name Build Query No You can use any button name on the panel based on your requirement. Target row for the button 1 No Specify any row selection for the button placement. Target column for the button 1 No Specify any column selection for the button placement. - Argument to be used on 'Customer. Open' (CRS610/B) to search and
filter customer records.
SimpleQuery,2,2
This table shows the objects included in the example argument and their corresponding descriptions:Argument Example Optional Descriptions Button name SimpleQuery No You can use any button name on the panel based on your requirement. Target row for the button 2 No Specify any row selection for the button placement. Target column for the button 2 No Specify any column selection for the button placement.
Activating the query search
- Add the M3_H5_SimpleQuery
script and argument to a program panel.
See procedure for adding a script in the M3 Core User and Administration Library (Cloud).
- Reload the program panel.
- Click the button added by the script to show the dialog. Specify the range of values for any field using the Value/From and To column fields and then click .
- You can view the filtered lines and check the generated query added by the enterprise search.