> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fusioncore.us/llms.txt
> Use this file to discover all available pages before exploring further.

# Product Config Metadata Fields

> Below is a quick reference for all of the fields on the Product Config metadata type (usage, purpose, help text)

## Product Config Fields

Below is a quick reference for all of the fields on the Product Config metadata type (usage, purpose, help text)

<Note>
  This page is a developer and admin reference. In the Usage column, the `EH` suffix means event handler and the `TU` suffix means trigger unit.
</Note>

| **Name**                              | **Purpose**                                                                                                                                                | **Help Text**                                                                                                                                | **Usage (for devs)**                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Label                                 | The label for the Product Config                                                                                                                           | -                                                                                                                                            | —                                                                                                                                                                                                                                                                                                                                                                         |
| **Product Config Name**               | The name  for the Product Config                                                                                                                           | -                                                                                                                                            | —                                                                                                                                                                                                                                                                                                                                                                         |
| **System Category**                   | Name of the System Category                                                                                                                                | System Category Name                                                                                                                         | —                                                                                                                                                                                                                                                                                                                                                                         |
| **Opportunity Product Config Class**  | The Apex class used for Opportunity Line Item creation.                                                                                                    | Apex Class that will be used for opportunity line item creation                                                                              | - `FCORE_PAY.OrderEntryController` Class - Adding Opportunity Products<br />- `FCORE_PAY.OrderProductEditDefaultController` and `FCORE_MEM.OrderProductEditSubscriptionCtrl` Classes - Editing Order Products<br />- `FCORE_PAY.OrderProductTableController` Class - Loading Opportunity Products table<br />- `FCORE_PAY.OpportunityService` Class - Converting to Order |
| **Product Price Modifier Class**      | The Apex class used for final Product Price changes such as any prorated pricing                                                                           | Product Price Modifier class name                                                                                                            | - `FCORE_PAY.PricingEngine`                                                                                                                                                                                                                                                                                                                                               |
| **Priority**                          | Determines the order in which the Config will be selected if there are multiple matches to a Product in the query                                          | If there are multiple Configs with queries that a Product matches on then we will select Config based on higher priority (lower value first) | - `FCORE_PAY.ProductConfigMtdService` querying configs                                                                                                                                                                                                                                                                                                                    |
| **Purchase Activity Record Type**     | The type of Purchase Activity created for this Product System Category type                                                                                | Specifies Record Type developer name to be used in Purchase Activity creation logic for Products with given Record Type.                     | - `FCORE_PAY.PurchaseActivityCreationEH` is creating Purchase Activity records and setting Record Type on them                                                                                                                                                                                                                                                            |
| **Price Book Matcher Class**          | Used for matching Subscription Items and Price Books for a selected Subscription Plan - takes start date into consideration if specified on the Price Book | Price Book Matcher class name.                                                                                                               | - `FCORE_PAY.PricingEngine`                                                                                                                                                                                                                                                                                                                                               |
| **Namespace Prefix**                  | The namespace of the package that this metadata is in                                                                                                      | The namespace of the package that this metadata is in                                                                                        | —                                                                                                                                                                                                                                                                                                                                                                         |
| **Order Product Table Row Component** | The component that controls how the Order Product table row appears/behaves                                                                                | The component that controls how the Order Product table row appears/behaves                                                                  | - `orderProductsTableRow` LWC - Order Entry / Opportunity Products, Order Payment                                                                                                                                                                                                                                                                                         |
| **Order Product Selection Component** | The component that controls how Order Product selection appears/behaves when adding a Product to an Order                                                  | The component that controls how Order Product selection appears/behaves when adding a Product to an Order                                    | - `orderProductSelectionModal` LWC - Order Entry / Opportunity Products                                                                                                                                                                                                                                                                                                   |
| **Order Product Edit Component**      | The component that controls how Order Product edit appears/behaves in Order Entry/Opportunity Products                                                     | LWC with namespace i.e. FCORE\_PAY/lwcName                                                                                                   | - `orderProductEdit` LWC - Order Entry / Opportunity Products                                                                                                                                                                                                                                                                                                             |
| **Order Product Config Class**        | The Apex class that controls how Order Items get created . Also acts as a wrapper class for the item to store info as needed                               | Apex Class that will be used for Order Item creation as well as holding key data around the Order Item                                       | - `FCORE_PAY.OrderEntryController` Class - Adding Order Products<br />- `FCORE_PAY.OrderProductEditDefaultController` and `FCORE_MEM.OrderProductEditSubscriptionCtrl` Classes - Editing Order Products<br />- `FCORE_PAY.OrderProductTableController` Class - Loading Order Products table<br />- `FCORE_PAY.OrderService` Class - Creating Order Products               |
| **System Category SOQL WHERE**        | The SOQL WHERE clause for a Product query to define whether it belongs to given System Category                                                            | The SOQL WHERE clause for a Product query to define whether it belongs to given System Category                                              | - `FCORE_PAY.ProductConfigMtdService` querying configs<br />- `FCORE_PAY.ProductSystemCategoryTU` - populates `Product2.FCORE_PAY__System_Category__c`                                                                                                                                                                                                                    |
