You create a new code list when you need to ensure a value is valid during translation. For instance, you may want to ensure that a simple element contains a valid part number.
The following steps describe how to create a new code list.
Open the Code
Lists editor. The following steps describe how to do this.
Click
the Mapping button on the main application window.
In
the Code Lists tab, click the New button. The Code List editor
opens.
On
the General tab of the Code List editor, type in the name of the code
list into the Name field. This value must be unique among translation
tables and code lists.
In
the Description field, you can optionally type a description of the code
list.
In
the Data Type field, indicate whether the values contained in the code
list will be character or numeric.
In
the Maximum Length field, identify the maximum length of the values. The
length can be up to 35 characters long.
Click
the New button to open the Add New Code List Entry dialog to create the
code list entries. Each entry identifies a valid value within the code
list. In the dialog, enter a value that is to be considered valid and
its corresponding description. Click the Insert button to insert the
entry. The dialog remains open so another entry can be made. Press the
OK button to add the last entry to the code list, or press the Cancel
button if the last entry has already been made.
Click
the Comments tab, and type any comments you have about the code
list.
Click
the Save button on the toolbar. Data Interchange Services client saves
the new code list to the database.