Keep the following things in mind when defining the screen size
dimensions for a mobile device:
- Restrict the screen size to 8 lines X 24 (or 22) characters per
line. This ensures that your custom screen also displays correctly
on a VT220 terminal.
- A mobile device screen can contain only table.
- A mobile device screen can handle a combined total of the following
hidden and displayed fields:
Field |
Maximum Size |
Text and hidden fields |
15 |
Labels and protected fields |
15 |
Command buttons |
5 |
- When the maximum allowed size for a given field is violated by
a user (for example, when a user enters 20 hidden fields), the following
error message is displayed: "An error was encountered while running
this program: Invalid procedure call or argument."
Draw a layout of each screen. For example, creating inventory
screens requires an Inventory Inquiry screen and an Inventory Detail
screen.
Figure 1. Inventory Inquiry Screen
Figure 2. Inventory Detail Screen
Note the use of fixed width font while drawing the screen
layouts. The buttons are not counted in the 8-row limit.
Figure 3. Inventory Inquiry Screen, Inventory Detail Screen
In this example,
the getItemList() API fetches item details based on the information
submitted on the Inventory Inquiry Search Screen, and getATP() API
fetches inventory details for the item on the Inventory Inquiry Detail
screen.
- List the APIs that must be called when each screen is navigated
to. This should include the entire API input that is passed and the
API template that is used for filtering the API output, if applicable.