I am going to show how you can automatically select item from the item list via customization framework. With this you can build a logic that follows a custom order to select the next item.
You can find more information about the technology on the url below:
Customize Flows on Mobile Client
Start the Mobile Client in customization mode and navigate to the screen where you can select the product.
Enable the customization mode by clicking on the gear icon, click on the screen and then the customization window will appear. Go to the Events tab and set the name of the query and press Save button.
I am going to use: AdHocPickingSelectItemCustomOrder
The query will appear in group PMX_CLIENT_CUSTOMIZATION_USER_QUERIES
Open the query in SAP and define the following query. I am going to select the next item in alphabetical order backwards in this example
SELECT
TOP 1 "value" as "txtBarCode",
'btnForward' as "DefaultButton",
0 as "DefaultButtonClickTimeout"
FROM
string_split('$[lblProductDescription]', '|')
ORDER BY
"value" DESC
Start the Mobile Client without customization mode to see the result. Customization doesn't work in customization mode.
In the customization we pressed the next button by default (btnForward) with 0 timeout, so basically we skip the product selection screen. The automatically selected product will appear immediately:
Comments
0 comments
Please sign in to leave a comment.