Example of Using Menu Sequence in Function Control Table

LANSA for i

Example of Using Menu Sequence in Function Control Table

Assume that HOLD function will be displayed on the resulting process menu. However we want it to be the first entry on the process menu.

                                          Display on    Menu

Function  Description                     process menu   Seq

HEADER    Input order header details         YES         ____2

          Default next function   : LINES

          Allowable next function : LINES

 

HOLD      Hold order for processing later    YES         1____

          Default next function   : MENU

          Allowable next function : MENU

 

Specifying the 'Menu Sequence' as shown in the above example will cause the function HEADER to be displayed first, and this is not the order that was required.

To ensure that the order is correct when ordering by number, place the digit in the right most part of the field or precede number with zeros.

                                       Display on    Menu

Function  Description                  process menu   Seq

HEADER    Input order header details         YES      000002

          Default next function   : LINES

          Allowable next function : LINES

 

HOLD      Hold order for processing later    YES      000001

          Default next function   : MENU

          Allowable next function : MENU

 

OR

Use a word that is a combination of alpha characters and numeric characters to determine the ordering of the functions. e.g. A01 ... A10, OPT001 ... OPT010, SEQ001 ... SEQ010, etc...

                                        Display on    Menu

Function  Description                   process menu   Seq

HEADER    Input order header details         YES       OPT002

          Default next function   : LINES

          Allowable next function : LINES

 

HOLD      Hold order for processing later    YES       OPT001

          Default next function   : MENU

          Allowable next function : MENU