Appendix A: Creating a Menu Structure
A menu structure is a series of menu pages that are linked together to form a hierarchy. Each menu page contains a series of options which can be a mixture of other menu pages or application tasks/transactions. This can be demonstrated in the following diagram:-
- Each menu page is defined as a Task with TASK TYPE set to MENU.
- The contents of each menu page is constructed by using transaction Maintain Menu Items to link other tasks to the selected menu.
- By linking menus to other menus it is possible to create a hierarchical structure of infinite depth.
- The sequence in which menu options are displayed can be customised.
- A menu cannot be linked to itself.
- A task may be linked to any number of menus, but cannot be attached to the same menu more than once.
- Users of each Role may be directed to start at any menu in the system.
- It is not necessary to create a separate menu structure for each Role. Before each menu page is loaded its contents are compared with the Access Control list for that Role, and any task which is not accessible is dropped from the menu display. In this way the same menu structure can appear to be different for different users.
- In earlier versions of this software menu details were shown in their own screens totally separate from any transaction screens, but this has been altered so that transaction details and menu details can be shown in the same screen. The menu details are shown in the menu bar area at the top of each screen. This means that it is no longer necessary to jump from a transaction screen to a menu screen in order to choose another menu option.