Search for orders
When customers inquire about their orders, users must be able to search for the orders and do related tasks.
Solution
The following section describes APIs, user exits, services, and other components.
Users can
search for an order in the following ways:
- Users can enter the appropriate details in the Order panel on the home page and find the order.
- Users can use the "Order Search" related task to search for orders from the Order Search screen.
In the Order Search screen, the following
APIs are called:
- Enterprise: The
getOrganizationList
API is called to retrieve the list of enterprises. Only if a user has access to multiple enterprises, a list of enterprises is displayed. If the user has access to a single enterprise only, the list is not displayed. - Hold types: If the logged-in user has access to a single enterprise,
the
getHoldTypeList
API is called to retrieve the hold types, when the Order Search screen loads. However, if the user has access to multiple enterprises, thegetHoldTypeList
API is called to retrieve the hold types for the selected enterprise. If an enterprise is not selected, the Hold type list remains empty.
When the user does a search for orders, the getOrderList
API
is called to retrieve a list of orders that match the search criteria.
If the search results in a single record, the order details are displayed.
If the search results in multiple records, a list of all the orders
is displayed.
Implementation
The following section describes the rules that you must configure.
None.
End-user impact
Users can locate the order and do the required tasks.