--- title: "Set up enrichment rule of type Enable/Disable" slug: "set-up-enrichment-rule-of-type-enable-disable" tags: ["Flow", "Data Quality Studio", "DQS"] status: "new" updated: 2026-04-15T13:36:56Z published: 2026-04-17T05:08:57Z canonical: "docs.staedean.com/set-up-enrichment-rule-of-type-enable-disable" --- > ## 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 rule of type Enable/Disable Use enrichment rules to set field values and behavior in D365 F&SCM. To set a field value or behavior, you can use several value types. This topic explains how to set up an enrichment rule line of type **Enable/Disable**. Use an **Enable/Disable** enrichment rule line to disable or enable a field based on the value of another field. Usually, for an enrichment rule of type **Enable/Disable**, you apply: - The '**Source field modified**' event. - A condition to define for which value of another a field is enabled or disabled. > [!NOTE] > **Note** > > - For a specific field, you can only set up one enrichment rule line for each enrichment rule. > - If you set up an enrichment rule with a line to disable a field, you must also set up an enrichment rule with a line to enable the field. ### Example: This example explains how you can apply an enrichment rule line of type **Enable/Disable**. As an example, the credit rating of a customer is used. | Credit rating | Credit limit (value) | Credit limit (enabled/disabled?) | | --- | --- | --- | | 'Poor' | Default set to '1000' | Disabled | | Other than 'Poor' | Not set | Enabled | For this example, three enrichment rules are required, each with an enrichment rule line on the **Credit limit** field: | Enrichment rule | Enrichment rule line | Condition | | --- | --- | --- | | **Table** | **Event** | **Source field** | **Target datasource** | **Target field** | **Value type** | **Value** | **Form** | **Enable field** | | | CustTable | Source field modified | Credit rating | CustTable | Credit limit | Fixed value | 1000 | - | - | Enrichment rule is applied only if the Credit rating field is set to '**Poor**'. | | CustTable | Source field modified | Credit rating | CustTable | Credit limit | Enable/Disable | - | CustTable | No | Enrichment rule is applied only if the Credit rating field is set to '**Poor**'. | | CustTable | Source field modified | Credit rating | CustTable | Credit limit | Enable/Disable | - | CustTable | Yes | Enrichment rule is applied only if the Credit rating field is set to another value than '**Poor**'. | ## Flow diagram > [!NOTE] > Note > > In the flow diagram, clicking ‘Set up enrichment rule conditions’ opens the corresponding section under ‘Set up enrichment rules’. [Embedded content](https://viewer.diagrams.net/?tags=%7B%7D&lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Set_up_enrichment_rule_of_type_Enable-Disable.drawio&dark=auto#R%3Cmxfile%3E%3Cdiagram%20name%3D%22Page-1%22%20id%3D%22page1%22%3E7Vnfc6M2EP5r%2FEgGg%2B2mj2fHuT5c25vxdDp96shoAV0EYiQ5tu%2Bv7woECHASm%2FyYNHd5kbTSrsT37a5WziRcZYfPkhTp74ICnwQ%2BPUzCm0kQTGdTHxsjOVaSX2fzSpBIRu2iVrBh38EKrV6yYxRUZ6EWgmtWdIWRyHOIdEdGpBT77rJY8O6uBUlgINhEhA%2BlfzOqUysNfL%2Bd%2BA1YktZbX9czGalXW4FKCRV7RxSuJ%2BFKCqGrXnZYATfo1cBUercPzDYnk5DrcxSUJlIPlawdpY%2F1N6MawouD5T5lGjYFiczMHhlGWaozjqMpdmPG%2BUpwIUu9MI7jIIpQrrQUd%2BDM%2BOVfM1Mjabe%2BJ3xnt960Z7wHqeHgnNF%2B1WcQGWh5xCWpA%2FzMorxvWVpYkTUSzO342NUg1kWSxnALInYsjuXwLwXyz%2B0342iBz8kWeKW6kkA0oAxyyaI0M%2BAGvtwhouUWnOV31Uo0SIkmXkZy9Jxq4S0VkcImKq14rQ3PWMAx2WJDmTJtZbDmVBN154JjKX%2BcXyl2OQVqSbyM460PISxGcHwZm9dDNqd9Ov0undPgcj5x6FB6OmwS5GRPjifCbYhs%2F9M7SGL8F2ZddkhMrryKudhHKfr7FYWIKSZyXFQ61VehmC7HNxxi3G1p4GOYlb70pjNGqdl8SThLjEBWGDYKn6y8WTiIWVg8GrP9CEW8DMYmpTNUlpWrY9gmgJ0FyYz%2F5FtlGhxzc5itxF5iesb3ldjJyBjRKcnLBp5WbJQcC%2BHtUO9lMses52qLrqs14xdIHRsDm78rHBDdb7wgfSjQ3q7wKitea%2BPJBBL8mAlk1ksgYy6EEwnkDKI7twSSa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