--- title: "Set up enrichment line of type Source field" slug: "set-up-enrichment-line-of-type-source-field" description: "Learn how to set enrichment rules allowing the target field value to be based on a source datasource field." tags: ["Task", "Data Quality Studio", "DQS"] updated: 2026-03-20T08:33:08Z published: 2026-03-20T17:44:45Z canonical: "docs.staedean.com/set-up-enrichment-line-of-type-source-field" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up enrichment line of type Source field For an enrichment rule, use an enrichment rule line to set a field value. To set a field value, you can use several value types. Use the value type **Source field** to set the value of the target field value of the enrichment rule line based on the value of a field in the source datasource. You can add enrichment lines in these ways: - Manually. - Select the target fields from a page. ### Steps 1. Click **Data quality management**. 2. On the **Data quality policies** tab, in the list, click the link of the desired data quality policy. 3. Click the **Enrichment rules** tab. 4. In the enrichment rules list (left pane), find and select the desired enrichment rule. 5. Sub-task: Manually create enrichment line. 1. You can manually create an enrichment line and define its target table and its target field. In the **Enrichment lines** section, click **Add**. 2. Define the table to be used as target datasource. Target datasources can exist, other than the source datasource. If so, you can select the source datasource or one of the other target datasources. In the **Target data source** field, enter or select a value. 3. Define the target datasource field which value must be set. In the **Target field** field, enter or select a value. > [!NOTE] > **Note** > > If the enrichment line is marked as 'key-field' or 'has-relation', the target field is used to define to which target datasource records the enrichment rule applies. In this case, the target field value is not set. 6. Sub-task: Create enrichment lines by selecting fields. 1. You can create enrichment lines by selecting fields from a page. In the **Enrichment lines** section, click **Select** fields. 2. Open the page from which you want to select fields. 3. On the **Field picker** dialog, click **Select** fields. 4. Click the '**+**' button for each field that you want to select. 5. On the **Field picker** dialog, click **Done**. 6. On the **Field picker** dialog, click **Submit** to save the selected fields to the validation rule. 7. In the **Value type** field, select '**Source field**'. 8. You can use manually defined field relations to identify records in the target datasource. The manually defined field relations setup defines to which target datasource records the enrichment rule applies. You can use manually defined field relations, for example, if no key fields are defined, or if you want to define other field relations than defined by the key fields. Select the **Has relation** check box. 9. Define the field from the source datasource which value must be set in the target field. In the **Source field** field, enter or select a value. 10. Close the page. ## Related - [Set up enrichment rule of type Source field](/set-up-enrichment-rule-of-type-source-field.md)