Defining a transaction attribute

You can track additional information about a transaction using user-defined fields called transaction attributes. Transaction attributes provide you with additional reporting capabilities and let you create reports in General Ledger with subsystem specific information in them. Defining attributes This procedure describes only items that are unique when defining a transaction attribute.

Attribute Matrix

Attribute

Transaction attribute

Before defining attributes, load Lawson-defined element and attribute definitions and available subledger fields for transactions analysis. For detailed procedures, see Loading Lawson-defined attributes (SCM/FIN).

Note: Only transaction attributes for General Ledger, Multi-Book Ledger, Recurring Journal, and Recurring Ledger can use a user-defined element or a Lawson-defined element. Transaction attributes for other applications require a Lawson-defined element.

Define a transaction attribute

  1. If an appropriate element for the transaction attribute you are going to define does not exist, use Element (MX00.2) to define the element.
  2. Specify this information:
    Element Name

    Specify a name for the element. An element represents the database field that holds an attribute value. It defines the maximum number of characters and the data type (alphanumeric, numeric, or date) for the field.

    Because transaction attributes are mapped to originating system values for specific source codes, transaction attributes (for all systems except GL, ML, RJ, RL, and CA) must use the Lawson-defined element associated with the originating system value.

    For example, Cash Payment Vendor is an originating system value for the AP (Vendor Payment) source code and is defined with a VENDOR element. You must use the VENDOR element when defining the transaction attribute to associate the Cash Payment Vendor with General Ledger transactions.

    Note: To view the element used by an originating system value, use Source Code (GL05.1) to inquire on the source code. Then select Define in the Originating System Value field on this subform. Use this subform to display available field names for the source code and associated element names.
  3. Use Attribute (MX00.1) to define the attribute.
  4. Specify this information:
    Element Name

    Select an element. Transaction attributes must use the Lawson-defined element associated with the originating system value.

    Note: A source code identifies where a transaction was created within a system. For example, CB is the Lawson-defined source code for the Intercompany Balancing transactions.
  5. Access Source Code (GL05.1) and inquire on the source code to which you want to attach attributes.
  6. Associate up to three transaction attributes with the source code. Use the following guidelines to enter field values:
    Originating System Value
    • If you are defining a transaction attribute for GL, RJ, ML, RL, or CA, leave this field blank. There are no originating system values for these applications.

    • For other applications, select an originating system value. This field specifies where in the database to retrieve the transaction attribute value from. This value must match the element name assigned to the transaction attribute in Attribute (MX00.1).

      Note: You cannot change or add information on the Attribute Origin (GL05.3) subform. Adding or changing originating system values requires customized program changes.
    Attribute

    Select the attribute you want to associate with the source code. The attributes you define in this form are automatically assigned to transactions with the associated source code. The attribute must exist in Attributes (MX00.1).

    Note: The object type for a Multi-Book Ledger transaction attribute is MLTRN (Multi-Ledger Entry).
    Options (AC, GL, SL, and ML)

    Identify the system(s) you want to be able to use the transaction attribute. Select Yes in the GL field to use the transaction attribute with General Ledger transactions.

Related reports and inquiries

To Use
List Lawson and user-defined attributes Attribute Listing (MX201)
List source code information set up for all companies by system code Source Code Listing (GL205)