Defining a lookup table
Lookup tables define the mapping of codes and values in a data file to
Controller object codes so that the data
can be used in
Controller. For
example, you often need to convert the account codes in the import file to
Controller account codes.
About this task
A lookup table contains the following information:
- Lookup table name
- Lookup table description
- The Controller object to convert a code to
- Indicate whether to allow mapping of one value in the data file to more than one Controller object code (duplicates allowed). The mapping of one Controller object to many values in the data file is allowed by default.
You can define the mapping in a lookup table in the following ways:
- By importing a .csv or .xlsx file that contains the mappings
- By manually entering the mappings
You can use the wildcard character
*in the string when you specify the values from the data file. The wildcard character indicates that one or more characters in the file can be of any value.
Note: Use caution when you specify the
*in lookup tables where duplicates are allowed. If a value matches both a code with a
*and a code with no
*in the lookup table, the lookup table is invalid even if duplicates are allowed.
You can export and import the content of a lookup table to and from an .xlsx file.
Procedure
Results
If the lookup table is valid, a green dot is displayed beside it.
If the lookup table is invalid, a red dot is displayed beside it. You must edit the mapping rows in the lookup table and make sure they are defined correctly.
What to do next
To change the name, description, Controller object, or whether duplicates are allowed, click the three dots icon beside the lookup table and select Edit.
To delete a lookup table, click the three dots icon beside it, and select Delete.