Define Default Data Generator

Explanation

This activity is used to define a default data generator which will insert default values and modify data when creating, modifying or deleting an object or design part. Default values are created in a special package that is written expressly for this purpose. Default data generators are defined with a business object type (e.g., Object, Design Part), a Key (a concatenated value of all Plant Classes and Plant Standards), and an Implementation Package (A package, e.g., TEST_API containing commands such as Pre-insert, Pre-new, Post-new, Pre-delete, Post-insert, among others).

Prerequisites

A standard and a customized implementation package to fit your installation, should exist.

System Effects

Depending upon how the implementation package has been written, default data can be inserted automatically.

Window

Default Data Generators

Related Window Descriptions

Default Data Generators

Procedure

  1. Open the Default Data Generators window.
  2. Click New.
  3. In the Standard field, the standard of the default plant is displayed. Use the List of Values to select the standard for which your default data generator will apply, if different.
  4. In the Business Object Type field, use the List of Values to select the business object type for which the default data generator will apply.
  5. In the Key field, use the List of Values to select a key for the default data generator. The key is a concatenated value of the class and standard for which the default data generator will apply.
  6. In the Implementation field, use the List of Values to select a customized package containing commands to insert default values or modify values when creating an object or design part.
  7. Click Save.