M3_H5_IES_Button

Use this H5 script to create a button in any program that initiates the Infor Enterprise Search (IES). When you click the button, the search results follow the given script argument. To make the argument work, you must ensure that the program contains the fields which are used in the Search argument.

Note: This script only works in the new H5 UI.
Examples of arguments are as follows:
  • Argument to be used in 'Balance Identity. Open Toolbox' (CRS610) to filter the customer's name and staus.

    My Customers,2,15, CUNM:Test STAT:20, #880E0E

    Argument Example Optional Descriptions
    Button name My Items No You can use any button name which depends on your requirement.
    Target row for the button 2 No Specify any row selection for the button placement.
    Target column for the button 15 No Specify any column selection for the button placement.
    Search argument CUNM:Test STAT:20 No Add the argument string to be used by the Infor Enterprise Search. Each string condition is separated by a space.

    For the given example, CUNM:Test searches the field that returns all customer names that contain the keyword 'Test' and passes STAT:20 that indicates all records with status 20.

    Button color #880E0E Yes Use any hexadecimal color code based on your requirement. If color is undefined in the argument, the script uses the default color.
  • Argument to be used in 'Item. Open' (MMS001) to filter template items.

    Temp Items,2,15,STAT:05

    Argument Example Optional Descriptions
    Button name Temp Items No You can use any button name which depends on your requirement.
    Target row for the button 2 No Specify any row selection for the button placement.
    Target column for the button 15 No Specify any column selection for the button placement.
    Search argument STAT:05 No Add the argument string to be used by the Infor Enterprise Search.

    For the given example, STAT:05 searches the field that returns all templates with status 05.

    Button color empty Yes Use any hexadecimal color code based on your requirement. If color is undefined in the argument, the script uses the default color.