IBM Support

Down arrow is shown even when they are no further shipment lines while doing Backroom pick

Question & Answer


Question

Why is down arrow  displayed even when there are no further shipment lines while doing Backroom pick

Steps to reproduce (in webstore mobile):
1. Create an Order which has around 6 items.
2. Click on start backroom pick button
3. The screen displays 3 items in a page, other 3 in the last page.
4. Pick all 3 items in the first page of Backroom pick screen.
5. Click down arrow.
6. Other 3 items displayed on the last page with down arrow.

Cause

 The next button depends on the attribute "IsLastPage". If this attribute is returned as "N" then the button will be displayed.
Observed behavior happens only when "TotalNumberOfRecords" in the last page is same as the pageSize. Also this happens only when records from previous page are no longer valid for the current getPage API call.

Answer

When the reported scenario occurs and user clicks on next button, UI shows proper message saying there are no more records to be processed. As the UI is handling the no record scenario and it's not blocking the user from continuing the operations on UI , there is very little scope for any confusion to the user.

Quote from documentation,
IsLastPage
Allowed Value Description
Y This is the last page in the set.
N This is either not the last page, or the underlying pagination strategy doesn't know whether it is the last page.

NEXTPAGE strategy has a limitation where it can not identify if its a last page in certain cases as specified above.The reason NEXTPAGE strategy is used is because it offers a way to do pagination without causing much load on the JVM unlike GENERIC strategy which does caching of records for pagination

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF003","label":"Android"},{"code":"PF014","label":"iOS"}],"Version":"9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
31 December 2018

UID

ibm10791937