Linking and Grouping Infocodes

It can be useful to prompt for one infocode and then another one. For example, if you want to ask the passengers for a flight number and the reason for their travels at the start of a transaction, you can accomplish this by linking or grouping. This way you can control the order in which they are prompted. You can also assign multiple infocodes to the same entity.

You may also want to prompt the passengers for more information depending on what travel reason they chose. To accomplish this you need linking.

Infocode linking

You can link an infocode to another infocode. The program prompts for the first infocode and then prompts for the infocode that is linked to first infocode. You can create a chain of linked infocodes, as long as you do not link to the starting infocode.

Selection subcodes can also have a linked infocode. To let a set of business questions be prompted when the passenger selects Travel for business at the start of the transaction, you link the business questions infocode to the Travel for business selection subcode. Similarly, you link the Travel for pleasure questions to the Travel for pleasure selection subcode.

Note:  If an infocode has a linked infocode, none of its selection subcodes can have a linked infocode. An infocode with selection subcodes that have linked infocodes cannot also have a linked infocode.

Infocode grouping

Another method of linking infocodes is to create a group infocode. A group infocode is an infocode that has other selection infocodes as selection codes.

A group infocode must use a POS Pop-up window. The POS Pop-up window displays the selection codes for one infocode in the group at a time. You can select any infocode to see its selection codes. You can go back and forth between infocodes in the group and change the selection before closing the window.

The group infocode gives a heading to the POS Pop-up window, and defines the overall minimum and maximum number of selected codes, while the infocode that is currently selected in the POS Pop-up window determines the selection buttons and the selection restrictions and sub-headings.

When the user switches between infocodes in the group, the selection restrictions may therefore change. The group infocode controls whether the item lines created from the infocodes within it (if any) are linked to the trigger line (the parent), that is are inserted directly after the parent line.

Note: The group infocode can have a linked infocode but the infocodes it groups together cannot have any linking.