---
schema_version: "1"
id: b3e410cbee6edde6fd601a96d86254500bd7bc15a9c331e98a5e5e85dd860288
title: Extend Context Definitions for Qualification and Pricing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/advanced_orders_extend_context_definitions.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.advanced_orders_extend_context_definitions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 00bb9c4ce22cda03f1ab4376fe755801d4bdd31fed409cd4a52b660c6e9e4df6
description: Advanced Orders for Telesales provides standard context definitions that structure the data payload passed between product discovery, qualification, and pricing. The standard context definitions work by default, so you don't need to configure them for standard use cases. Extend an existing context definition when you want to add custom attributes without modifying the base attributes.
release: "264"
---
# Extend Context Definitions for Qualification and Pricing

Advanced Orders for Telesales provides standard context definitions that structure the data payload passed between product discovery, qualification, and pricing. The standard context definitions work by default, so you don't need to configure them for standard use cases. Extend an existing context definition when you want to add custom attributes without modifying the base attributes.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p style="margin-bottom:0;"><a href="https://help.salesforce.com/s/articleView?id=xcloud.advanced_orders_editions_permissions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions</a></p>
          </td>

        </tr>
      </tbody>
    </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d7174e72">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d7174e72 ">To configure and extend context definitions:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d7174e72 ">Context Service Admin AND Customize Application</td>

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

Advanced Orders for Telesales relies on two context definitions to pass data across the ordering lifecycle.

MACZProductDiscoveryContext (or ProductDiscoveryContext)

Maps customer account, IOU, catalog, and assortment attributes during runtime product discovery and qualification procedures (ProductIOUQualificationPlan).

AdvSalesTxnContext (AdvOrderSalesTxnContext\_\_stdctx)

Maps transaction-level order header and line-item attributes (OrderItemSpec, quantities, units of measure) and passes them directly into Penny Perfect Pricing (PPP) procedures during instant or manual price calculations.

To learn how to extend a context definition, see [Extend a Context Definition](https://help.salesforce.com/s/articleView?id=ind.context_service_extend_context_definitions.htm&type=5&language=en_US).