The Form ID Definition Utility (tokendef)

The Form ID Definition utility (tokendef) has a variety of functions. It lets you define form IDs to represent executable objects. You can also use tokendef to create custom menus or to change some aspects of Lawson-delivered forms.

The following table describes the uses that can be made of tokendef.

tokendef use Concept Procedure
Defining a user form ID See The User Form IDs Feature. See Defining a User Form ID and Deleting a User Form ID.
Defining an application form ID See The Application Form ID Feature. See Defining an Application Form ID.
Defining an Environment form ID See The Environment Form ID Feature. See Defining an Environment Form ID and Deleting an Environment Form ID.
Defining menus See Menus. See Defining Menus.
Defining a transfer menu See Transfer Menus. See Defining a Transfer Menu.

The User Form IDs Feature

The User Form IDs feature of tokendef lets you define unique identifiers for user-defined programs. User form IDs represent user-defined programs and Windows scripts that the user created. User programs let you perform tasks designed for your specific needs. You can access user form IDs only through the command line or through the Lawson Interface Desktop (LID).

You can group user form IDs to organize programs with similar functions. Before defining user form IDs, you must first create the program. Note that end users using a graphical user interface cannot supply parameters to the script.

In some cases, creating custom user forms requires programming, which is not discussed in this manual. For more information about creating more complex customized forms, see the Lawson development training courses and the Doc for Developers: Application Development Workbench manual.

The Application Form ID Feature

The application form IDs feature of tokendef lets you work with the form IDs of application programs developed according to Lawson standards.

  • Identify the run type of the form. For more information on run types, see Doc for Developers: Application Development Workbench.

  • Change the form ID title (assign a new name)

  • Assign the cluster node for a batch program.

For online application form IDs, you can also define a transfer menu.

The Environment Form ID Feature

The Environment Form ID feature of the tokendef utility is used to change the way the categories in the Lawson Environment utilities are organized. Lawson ships its utilities in categories. For example, System Administration and Database Administration are categories under which specific utilities are grouped. The Environment form IDs and their categories are not grouped under a product line.

If your organization wants to give system administrators access to a particular utility that is grouped in the Database Administration category, you can use the Environment Form ID feature to accomplish this. In this case, you would include the particular utility's form ID in the System Administration category.

Because security can be placed on a category, you could then more easily control the access for system administrators to Environment forms. You could set up the security class for system administrators so that it gave access to the System Administration category. You would not need to also add access to an additional Environment form in a different category.