# How to Show Business Partners with Data Quality Issues from CDQ.POOL in Lookup

## Overview

By default, Lookup only returns CDQ.POOL Business Partners with high data quality: records with a `WARNING` or `ERROR` quality status are filtered out. This tutorial describes how to enable the `SHOW_CDQ_POOL_QUALITY_ISSUE_RECORDS` feature so Lookup also returns these lower-quality Business Partners, together with a quality indicator and a filter to narrow results by quality status.

Info
Business Partner type-dependent validation rules determine whether a record is classified as `WARNING` or `ERROR`. High-quality Business Partners are always included in Lookup results, regardless of this setting.

**Learning Goals**

In this tutorial, you will learn how to:

- Understand what the `SHOW_CDQ_POOL_QUALITY_ISSUE_RECORDS` feature controls
- Enable the feature for Lookup
- Filter Lookup results by quality status (`ERROR`, `WARNING`)
- Review the quality status of a Business Partner in the search results and in the Business Partner details
- Understand the default behavior when the feature is off


## Prerequisites

To go through the tutorial, you have to log in to the [CDQ Cloud Apps](https://apps.cdq.com/).

| 
| ![](/assets/image01login.4e448e048eed3968a0dd2ddf2c89ae53dbf7c83fb043c6d594d6b908d92eeb54.c941f44b.png) |


Click on Sign In and enter your username and password.

| 
| ![](/assets/image02login.317613ec01be15708944edd41eadff3017d2bc0433579ddb7efb8ffc608feee3.c941f44b.png) |


Warning
If you have no access to the CDQ Cloud App, ask your internal point of contact to create a CDQ dedicated account. Account details will be sent by email.

## Step 1: Enable the Feature for Lookup

1. Go to the First Time Right cloud app.
2. Click the **Settings** button to open **Request Settings**.
3. Go to the **Augmentation** tab.
4. In **Data Sources**, make sure **CDQ.POOL** is selected.
5. Under **Features On**, add `SHOW_CDQ_POOL_QUALITY_ISSUE_RECORDS` alongside `ACTIVATE_DATASOURCE_CDQ_POOL`.
6. Click **Save Changes**.


| 
| ![Request Settings - Augmentation tab, Features On with ACTIVATE_DATASOURCE_CDQ_POOL and SHOW_CDQ_POOL_QUALITY_ISSUE_RECORDS](/assets/pg-dq-img003.dde65c9b97c3cdd2168028bc4a6eee26b0f5c9089ad9602008ced3c5b38ca0a0.85dd6ccb.png) |  |


1. A confirmation message, "Settings have been saved," confirms the feature is active.


## Step 2: Search and Review Results Including Lower-Quality Records

1. Run your search as usual in First Time Right.
2. Business Partners with a `WARNING` or `ERROR` quality status are now included in the results, alongside high-quality matches.


Info
High-quality Business Partners are always returned, whether or not this feature is enabled. The feature only adds `WARNING` and `ERROR` records to what is already returned.

## Step 3: Filter Results by Quality Status

1. In the search form, next to the **Identifier**, **Type**, and **Lookup** fields, use the new **Quality Status** filter.
2. Select `ERROR`, `WARNING`, or both to narrow the results to lower-quality Business Partners.
3. Leave the filter empty to return all results: high-quality Business Partners plus any with `ERROR` or `WARNING` status.


| Filter Selection  | Results Returned |
|  --- | --- |
| Empty (no selection)  | High-quality + `ERROR` + `WARNING` |
| `WARNING`  | High-quality + `WARNING` |
| `ERROR`  | High-quality + `ERROR` |
| `WARNING` and `ERROR`  | High-quality + `WARNING` + `ERROR` |


| 
| ![Quality Status filter with ERROR and WARNING options](/assets/pg-dq-img004.ed210b3343832d3310fd0440ed4bf5ec35fcd122bedcbb06169b828938e7fa0a.85dd6ccb.png) |  |


Info
The filter only affects lower-quality Business Partners; high-quality Business Partners are always included, whatever the filter selection.

## Step 4: Review the Quality Status in Business Partner Details

1. Select a Business Partner with a quality issue from the results.
2. A **Quality Status** section is displayed in the Business Partner details, listing each individual data quality issue together with its severity (`Error` or `Warning`) and a human-readable description.


| 
| ![Quality Status section in Business Partner details, listing severity and details for each data quality issue](/assets/pg-dq-img005.2d14e670d71032022e3d35209415ffc6d17b147063eb2aca36ebb701a8f1ad8f.85dd6ccb.png) |  |


## Feature Behavior Summary

|  | Feature Off (default) | Feature On |
|  --- | --- | --- |
| Business Partners with `WARNING`/`ERROR` quality | Excluded from Lookup results | Included in Lookup results |
| Quality status label on each result | Not shown | Shown (`ERROR`/`WARNING` badge next to match score) |
| Quality status filter | Not visible | Visible, multi-select (`ERROR`, `WARNING`) |
| Quality Status panel in BP details | Not displayed | Displayed, listing severity and description for each issue found |


## Summary

In this tutorial, you learned how to enable the `SHOW_CDQ_POOL_QUALITY_ISSUE_RECORDS` feature so Lookup also returns CDQ.POOL Business Partners with `WARNING` or `ERROR` data quality, how to filter results by quality status, and how to review the quality status of a Business Partner in the search results and in its details.

## Related Resources

- [How to Fetch Business Partner Relations from CDQ.POOL](/documentation/_public/tutorials/partner-guard/pg-how-to-fetch-bp-relations-from-cdq-pool)
- [Lookup Business Partners API](https://developer.cdq.com/apis/referencedata-api/api-v3/business-partners/paths/~1v3~1businesspartners~1lookup/get)


## Your opinion matters!

We are constantly working on providing an outstanding user experience with our products. Please share your opinion about this tutorial!