Defining an attribute

To define an attribute, you need to give it a name and associate it with an element and object type. Optionally, you can assign valid values to the attribute, limit an attribute's use to the items within an item group list, and indicate whether an attribute is required. Use this procedure to define attributes.

Attribute Matrix

Where can I use attributes?

Before defining attributes, load Lawson-defined attribute definitions and available subledger fields for transaction analysis. Loading Lawson-defined attributes and elements

Define an attribute

  1. If an appropriate element for the attribute does not exist, use Element (MX00.2) to define the element. Specify this information:
    Note: Select Define in the Element Name field on Attribute (MX00.1) to define an element.
    Element Name

    Type a name for the element. A user-defined element name does not have to match the attribute name, since the element can be used by several attributes.

    Data Type

    Select one of these data types:

    • A (Alpha)

    • N (Numeric)

    • D (Date)

    • S (Signed Numeric)

    Field Size

    Type a field size. The maximum field size depends on the data type:

    • Alpha (up to 32 characters)

    • Numeric (up to 18 characters)

    • Date (eight characters)

    • Signed Numeric (up to 99 characters)

  2. Use Attribute (MX00.1) to define the attribute. Specify this information:
    Attribute

    This field contains the attribute's name.

    Column Heading

    Leave this field blank, it is used only for transaction attributes.

    Element Name

    Select a Lawson-defined or user-defined element to identify the attribute's data type and size.

    From Value/Through Value fields

    You can assign ranges of valid values to the attribute. Defining valid values ensures consistency for data entry. If you do not define valid values, any entry valid for the attribute's data type and size will be accepted.

    Defining valid values makes your lists more accurate.

    To interface valid attribute value ranges from a non-Lawson system, use Attribute Valid Value Interface (MX160). Interfacing valid attribute value ranges to Attribute Matrix

  3. After adding the attribute, click the Objects button to open Associate Attribute to Objects (MX00.3) and assign valid object types to the attribute. Specify this information:
    Object Type

    Select the object types you want to assign to the attribute. The object type determines where you can use the attribute. For Production Order, you can assign this object type:

    • Item (ITEM)

    You can assign several object types to the same attribute.

    Required

    Select whether the attribute is required.

    Apply to Object Group

    You can associate the attribute with an item to limit its use to items associated with a group in the list. Restricting use of an attribute helps you better manage attributes when you have several groups that track different kinds of business operations.