Interfacing valid attribute value ranges to attribute matrix
You can interface a non-Lawson file of valid attribute value ranges and attach them to attributes in Attribute Matrix. The valid value ranges are used to verify values you specify for the attribute. For example, an attribute of Opening Date might have a valid value range of 01/01/1995 to 12/31/2001. The application would not allow you to specify a date of 01/01/1990. Use this procedure to replace or add to existing value ranges that are used to validate values you specify for an attribute.
The attributes for which you are interfacing values must already be defined in the Attribute Matrix application.
Interface valid attribute values
- Prepare a comma-separated value (CSV) file containing the vendor attribute information you want to interface. The file fields must match the order and data type of the fields in the MXVALREL (Unix/Windows) or DBIFMVR (IBM i) file. This file layout is available in KB2218730 in Infor Customer Portal.
- Transfer the CSV file to the server where your environment resides.
- Use the Import command to load the item data from the CSV file into the Attribute file. For instructions on using the Import command, see Lawson Administration: Server Setup and Maintenance.
- Run Attribute Valid Value Listing (MX260) to verify the value ranges before interfacing those records.
- View and edit the records in MXVALREL / DBIFMVR, using Attribute Valid Value Maintenance (MX60.1). You can add, change, or delete any records.
- Run Attribute Valid Value Interface (MX160) to load valid attribute value ranges to Attribute Matrix. This program moves records from the MXVALREL (Unix/Windows) or DBIFMVR (IBM i) file to the MXVALIDATE (Unix/Windows) or DBIFMVL (IBM i) file, unless errors are found.
-
View the report generated by MX160. If it contains
errors:
- Correct the records, using MX60.1.
- Run MX160 again.
- Repeat this step until the report shows no errors.