Creating a business object using the Object Creation Wizard

Instead of creating new business objects manually, you can use the Object Creation Wizard to help you. When using the wizard, you can also specify the default privileges for the new business object, and you can also select groups and roles who can have those privileges.

When you create a new business object, make sure that you are creating it for the correct module.

If you specify a behavior for a business object, you cannot delete that business object. In addition, you cannot modify the behavior selection once you have saved the business object.

To create a business object using the Object Creation Wizard:
  1. In the Object Designer component, on the Business Objects tree, select the relevant module, such as Incident Management.
  2. On the Actions list, click Object Creation Wizard.

  1. In the Title box, type the name of your business object.
    As we are creating this business object within the Incident Management module, it would typically be used by the Incident business object. If you wanted it to be used by other items, then you would create it in a different module such as Process or System.
    You have three choices for the Type of object option:
    Created from Incident – creates an object with a relationship to Incident;
    Created from Task Incident – creates an object with a relationship to the Incident Task;
    Look-up – creates an object for a reference list, ordered list, or category.
    (Where Incident is the module from where you started the wizard.)
  2. Choose the required Type of object.
    If you choose Look-up, two more options appear on the page:

  1. In the Look-up type list, you have three available options: Reference, Ordered or Category. For this example, select Category.
  2. In the Look-up from object list, select the business object that contains the information that you want to look up. For this example, select Category. You can leave this option blank, and then manually link the items together after you have created the business object.

For example, if you select Reference or Ordered as the Look-up type and you have created the reference or ordered lists within the System module (as is typically the case), then leave this option blank.

  1. Click Next.
    The Adding Default Attributes page appears.

These are the typical attributes that you add to a new business object, and you can select all, or none apart from the Name attribute as this is a mandatory attribute.

In our example, our Name is longer than the default number of characters. If this is the case, then you can increase it using the number box alongside the Name box. The Name is taken directly from the Title that you specified on the previous page.

  1. If required, change the length of the Name and Details attributes. For this example, increase the Name length to 30.
    The length of the Details attribute is set to -1, as this indicates an infinite length, and is typically used for multi-line text fields. You can change this if required.
  2. Select the required options, then click Next.
    The Set Object Privileges page appears.
  3. Select the privileges that you want to apply for this business object, for example Read and Update, then click Next.
    The Apply Privileges to Group page appears. On this page, you select the Group Type, for example, Support Group, and the required Groups to which you want to apply these privileges.

You can select more than one Group Type on this page, and the result is that in the Selected Groups list, you may have groups of more than one type.

  1. Expand the Group Type list, and select the required item. For example, Support Group.
  2. In the Available Groups list, select the required group, then click to add it to the Selected Groups list. Repeat as required.
  3. If required, select a different Group Type and add the required groups in the same way.
  4. Click Next.
    The Apply Privileges to Roles page appears.
  5. In the Available Roles list, select the required role, then click to add it to the Selected Roles list.
  6. Repeat as required, then click Next, then click Finish.
    The business object is created, and the privileges that you have specified for this business object are automatically applied to the selected groups and roles.
  7. Click .

As mentioned on this page, when you click Finish, the business object is created, but not saved. Before you save your business object, you can add additional attributes and properties. The same rules apply as if you were creating a business object without using the wizard in that there are certain items that you cannot change after you have saved the business object. For example, Deletion type, Version Control and so on.