Multi-level Configuration Examples
This topic provides examples of how to configure the Multi-level Lookup functionality in COSMO Mobile Solution.
- Configure 1 Layer Search
- Configure 2 Layer Search
- Configure Multi-level Lookup Combined with Complex Barcode
Configure 1 Layer Search
This example demonstrates the process of configuring the Multi-level Lookup to search values based on one additional layer of a related page.
The goal is to be able to search by Item Reference No. in the Items list.
Set Quick Search Mode
- Open the CCSMSItemsWS page customization.
- In the Quick Search Mode field, choose Always Use Multi-level Lookup.
For more information, see Quick Search Mode.
Configure the Relation
- In the Card View FastTab, locate the line for the "No" field, and then open the Relations page by choosing the Relation Type field or the Relations action.
- In the Related Service Name field, choose CCSMSItemReferenceWS.
- In the Related Field Name field, choose Item_No.
- Select the Enable Multi-level Lookup and Multi-level Lookup Only checkboxes.
- Click on the Search Field for Multi-level Lookup field to open the field selection page.
- From the displayed options, choose Reference_No as the searchable field.
This setup ensures that the Multi-level Lookup is configured correctly with "Reference_No" as the searchable field.
The following graphic shows what the setup should look like.
Important
To ensure the "Reference No" field is visible in the popup, it must be set as searchable in the page customization line.
- Open the CCSMSItemReferenceWS page customization.
- Locate line for the Reference_No field.
- Select the Searchable checkbox.
This will allow the "Reference No" field to be included in search results and display in the popup page as intended.
In the relation, both of the Enable Multi-level Lookup and Multi-level Lookup Only checkboxes were selected: the Enable Multi-level Lookup is a requirement for the validation and quick search functionality to work; the Multi-level Lookup Only is enabled to hide the lookup icon in the mobile application.
Now that the setup is complete, if the Items list is searched by a reference number, the corresponding item(s) are found.
Feedback
Submit feedback for this page .