Description
The UserKeysMD object enables to mange user defined keys of user tables. A user table contains a default primary key that consists of the Code and Name columns. Use the UserKeysMD object to add secondary keys to user tables.
This object enables you to:
- Add a user key (identifier) to a user table.
- Retrieve the values of the object's properties by its KeyIndex and TableName.
- Remove a user key.
- Save the object in XML format.
Source table: OUKD.
Object Model
Remarks
DI API allows only one meta data object instance (with no other instances of any object type). This maintains data integrity by preventing any manipulation of a business object while modifying the object's properties.
Furthermore, it is recommended to add user keys while the user table is still empty.
To display the form in the application:
- From the main menu bar, select Tools --> Manage User Fields.
- Select a User Table.
- Click Keys.