Elements

Elements are field definition parameters for an attribute. An element defines the attribute field's maximum number of characters and data type. All attributes must have an element assigned. An element must exist before you can define an attribute using that element.

You can define an element as these types:

  • Alpha type (up to 32 characters)

  • Numeric type (up to 18 characters)

  • Signed numeric type (up to 18 characters)

  • Date type (up to eight characters)

An attribute can use any Lawson-defined or user-defined element.

Elements can be Lawson-defined or user-defined.

  • Lawson-defined elements are pre-loaded, along with Lawson-defined attributes, using Attribute, Element Load (MX100).

    Example Lawson-defined attribute: LESSOR
    Example

    Lawson-defined element: LESSOR

    Data type: Alpha Size: 9

  • You create user-defined elements at will, provided that you remain within the data type and size restrictions listed above.

    Example User-defined attribute name: EQUIP NB
    Example

    User-defined element: EQUIP NB

    Data type: Alpha Size: 20