---
schema_version: "1"
id: 2c46590c1294ca964ddac3fd9eca1e4fa39fca0d6e497dedd04936c90b691e98
title: Configure the DRO Qualifier Interface
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_configure_the_dro_qualifier_interface.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_configure_the_dro_qualifier_interface.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b0c39b953789697b7fb10ab37870a484c50f4446b2aef7ae7f39aef9adab183b
description: These steps explain how to verify or customize the logic that determines if an order qualifies for DRO processing.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Configure the DRO Qualifier Interface

These steps explain how to verify or customize the logic that determines if an order qualifies for DRO processing.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Edition.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d109837e70">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d109837e70 ">Permission for DRO Qualifier Interface:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d109837e70 ">RevenueLifecycleManagementAddOn</td>

          </tr>
        </tbody>
      </table>

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_important.png)

Important You can configure the DRO Qualifier Interface only when OM and DRO coexist.

1. From Setup, in the Quick Find box, enter Interface Implementation, and then select **DROQualifier**.
    
    The standard, out-of-the-box setting is **DefaultDROQualifierImplementation**.
2. To use your own business logic, and override the default setting.
    1. Create a Custom Apex Class: Write an Apex class that implements VlocityOpenInterface with your custom qualify method. Use this sample as a template.
        
        ```java
         global inherited sharing class CustomDROQualifierImplementation implements VlocityOpenInterface 
        {
        
            global Boolean invokeMethod(String methodName, Map<String, Object> input, Map<String, Object> output,
                                        Map<String, Object> options)
            {
                if (methodName.equals('qualify'))
                {
                    return qualify(input, output, options);
                }
                return false;
            }
        
            private Boolean qualify(Map<String, Object> input, Map<String, Object> output, Map<String, Object> options)
            {
                //System.debug('qual input ::: ' + JSON.serialize(input));
                List<String> orderIdList = (List<String>)input.get('orderIdList');
                Id orderId = (Id)orderIdList.get(0);
                Order orderObject = [SELECT vlocity_cpq9__PriceListId__r.vlocity_cpq9__Code__c FROM Order WHERE Id = :orderId limit 1];
                String priceListCode = (String)orderObject.vlocity_cpq9__PriceListId__r.vlocity_cpq9__Code__c;
                Boolean result = (priceListCode == 'KTel Pricelist' || priceListCode == 'PRICE_LIST_Q3');
                output.put('result', result);
                return true;
            }
        }
        ```
    2. Activate your class: Return to the DROQualifier interface page, find your new Apex class, and click **Set as Default**.