# Add Line Item Action

If the SmallBuilder Line Items package is installed, you can add a Line Item Action to your list actions.

{% hint style="warning" %}
To use this feature, you must have the appropriate license and permissions for the SmallBuilder Line Items package.
{% endhint %}

***

#### :small\_orange\_diamond: How to Configure

1. In the Action settings, click Add Line Item Action.

<figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FiIYPBKdLzpSz7uaMLSEt%2FAction_AddLineItem_Step1.png?alt=media&#x26;token=986ab6d3-30a8-4fdb-9856-25d85c698cd1" alt=""><figcaption></figcaption></figure>

2. Enter a button label, then select the Line Item Configurator you want to use.

{% hint style="warning" %}
Line Item Actions do not appear in regular lists. They are only available when the list is used as a Related List on a record page.
{% endhint %}

<figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FSIaheNfZ6F2YLAHxC7mD%2FAction_AddLineItem_Step2.png?alt=media&#x26;token=e31a9fbc-5cae-4097-a0e4-52f5673232a5" alt=""><figcaption></figcaption></figure>

3. Click Save to complete the configuration.

***

#### :small\_orange\_diamond: Example: Display Opportunity Product List on Opportunity Record Page

{% hint style="info" %}
This example demonstrates the configuration of a Line Item Editor for Opportunity Products:

* **Parent:** Opportunity
* **Line Item:** OpportunityLineItem
* **Lookup:** PricebookEntry
  {% endhint %}

1. Add the Related List Configurator to the Opportunity record page.

<figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FPfavx9YJCPj5J5f2dbya%2FAction_LineItem_Result1.png?alt=media&#x26;token=87f4da6b-b748-4149-984a-b6c2a974e6b4" alt=""><figcaption></figcaption></figure>

2. The configured Line Item button will appear in the related list section.

{% hint style="info" %}
The Line Item button may initially appear as disabled when the list is first loaded. This indicates that the Line Item Configurator is still loading. Once loading is complete, the button will become active.
{% endhint %}

<figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FasQ1VC4yCV61inxLNniW%2FAction_LineItem_Result2.gif?alt=media&#x26;token=ca0d5731-b315-4b75-bd5e-910a57d0e977" alt=""><figcaption></figcaption></figure>
