Form IDs

Form IDs are unique identifiers for an object, such as a form, menu, or report program. You use form IDs when you search for a specific application form in the Lawson Portal, when you construct menus, and when you create new programs. The form IDs enable the system to find the correct program or form to run.

The format of a form ID varies depending on the type of form it represents. For Environment and user forms, it is usually a string of characters - for example, dbdef or usergrpdef. Lawson recommends that you do not use mixed case when naming a user form ID. A form ID must be executed using the name exactly as in appears in the Form ID Definition utility (tokendef). Mixed case could easily lead to confusion and typing errors.

For application online forms, the form ID consists of the program name (which is the system code plus a two-digit number), a period, and the form number. Examples of online form IDs are GL00.1 and HR11.1. For application batch parameter forms, the form ID consists of the program name (which is the system code plus a three-digit number). Examples of batch form IDs are PR198 and GL241

Application form IDs are assigned during program definition. Lawson defines its application form IDs before delivery and groups them under system codes in a product line. If you add a program, its form ID appears on the Application Form IDs form in the Form ID Definition utility (tokendef). When you delete an application form ID, only the form ID is deleted; the program still exists.