< Previous | Next >

Lesson 2.2: Adding and populating a custom class

In this lesson, you add a custom class to designate a new type of value. You then assign an initial set of values to this class by adding multiple classifications at the same time.

About this task

Overview

The fictional Sample Outdoor Company assigns all values that relate to size to the S Product Size custom class. The class includes both clothing sizes, such as WOMENS, JUNIOR, and LARGE, and units of measure such as CM and ML. To distinguish clothing sizes from units of measure, the company wants to add a separate custom class for units of measure.

Learn more about custom classifications:

A custom classification provides stronger contextual information about a value than a default classification. For example, if a definition does not assign the value TRAILCHEF to a custom class, the value is assigned to the + default class. This default class indicates that the value is a single alphabetic word. If a definition assigns the value to the Product Brand custom class, which is represented by the character B, the value provides more contextual information. When this information is provided, you can write rules that address a specific subset of the data and therefore handle that data more effectively.

Tasks in this lesson

Procedure

  1. Adding a custom class
  2. Adding multiple classification definitions

Adding a custom class

To create a class for units of measure, you can add the M custom class from the list of available classes.

About this task

Procedure

Procedure

  1. In the Standardization Rules Designer, click the Classifications tab.
  2. In the Custom Classes section, click Add Custom Class.
  3. From the Available Classes list, select M.
  4. In the Description field, enter Unit of Measure.
  5. Click Add. An entry for the new class is shown in the list.
    The Browse Classes pane shows each of the custom classes with a description. 0 is Null, B is Product Brand, C is Product Color, M is Unit of Measure, S is Product Size, T is Product Type, and U is Unspecified. The row for M Unit of Measure is highlighted.
  6. Click Close.

Adding multiple classification definitions

You can assign more than one value to the new M class by adding multiple classification definitions at the same time.

About this task

If you add a new custom class in the Standardization Rules Designer, no values are assigned to that class initially. For example, to populate the M custom class, you add classification definitions for values that represent a unit of measure. After values are assigned to the class, you can add or modify rules to handle unit of measure values.

In the retail product data set, the following values represent a unit of measure:
  • CC
  • CM
  • M
  • ML
  • MM

Procedure

Procedure

  1. In the Standardization Rules Designer, click the Classifications tab.
  2. Click Define Values.
  3. In the lower right of the Define Values window, click Define Multiple.
  4. Select the Apply class to all definitions check box.
  5. From the Select Class list, select M. In the Class column, M is selected automatically for each value that you define.
  6. Enter CC in the first field in the Value column, then click outside the field. A second row is enabled.
  7. Enter the following values by using the method from step 6.
    • CM
    • M
    • ML
    • MM

    Enter each value in a separate row.

  8. Expand Status of Definitions and verify that Active definition is selected. An inactive definition does not affect the value.
  9. Click OK.

What to do next

To view the values that are assigned to the M custom class, expand Custom Classes and select M.

What’s next

In this module, you completed the following tasks:
  • Identified the class that a value belongs to
  • Added classification definitions
  • Added a custom class

You can log out of the Standardization Rules Designer and complete the next module later. The revision remains open.

In the next module, you will add a lookup table that converts alphabetic information about product colors to numeric color codes.

< Previous | Next >