Transformations > Lookup Transformation > Lookup Return Fields
  

Lookup Return Fields

Select the fields to return from the lookup object on the Return Fields tab of the Properties panel.
The Return Fields tab displays all fields from the selected lookup object. By default, the mapping includes all fields in the list in the data flow. Remove fields that you do not want to use.
You can edit the name of a field. You can also edit the metadata for a field. When you edit field metadata, you can change the name, native data type, native precision, and native scale. When you change field metadata, you cannot automatically revert your changes. Avoid making changes that can cause errors when you run the task.
You can add a field to the field list if the field exists in the lookup object. To add a field, you need exact field details, including the field name, data type, precision, and scale.
To restore the original fields from the lookup object, use the Synchronize icon. Synchronization restores deleted fields, adds new fields, and retains added fields with corresponding fields in the lookup object. Synchronization removes any added fields that do not have corresponding fields in the lookup object. Synchronization does not revert any local changes to the field metadata.
The following table describes the options that you can use on the Return Fields tab:
Field Option
Description
Generate Lookup Fields From
Field name display option. Display field names by label or technical field name.
Sort Field Name By
Field order display option. Display fields in native order, ascending order, or descending order.
Add Field icon
Adds a field from the selected lookup object. Use to retrieve a field from the object that does not display in the list.
Opens the New Field dialog box. Enter the exact field name, data type, precision, and scale, and click OK.
Synchronize icon
Synchronizes the list of fields with the lookup object.
Note: If you select this option, you lose any changes you make to the metadata for return fields.
Delete icon
Deletes the field from the list, removing the field from the data flow.
Edit Metadata
Displays the native field metadata from the lookup system. You can edit native field metadata.
You can display the native field name by label or technical field name.