> For the complete documentation index, see [llms.txt](https://help.smallbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smallbuilder.com/ko/smallbuilder-lists/undefined-1-1/action-setup-optional/add-lineitem-action.md).

# 라인 아이템 작업 추가

**SmallBuilder Line Items 패키지**가 설치되어 있는 경우, 작업에 라인 아이템 작업을 추가할 수 있습니다.

{% hint style="warning" %}
해당 기능을 사용하려면 **SmallBuilder Line Items 패키지의 라이선스와 권한이 필요**합니다.
{% endhint %}

***

#### :small\_orange\_diamond: 설정 방법

1. **작업(action)** 설정에서 **라인 아이템 작업 추가(Add Line Item Action)** 버튼을 클릭합니다.\\

   <figure><img src="https://3985481653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA2fSsDo5KsIVkUoDIV1b%2Fuploads%2Fgit-blob-06288ce0e913812fd153d94f70025361f5911cd2%2FAction_AddLineItem_Step1.png?alt=media" alt=""><figcaption></figcaption></figure>
2. 버튼 레이블을 입력하고, 사용할 **라인 아이템 구성기(Line Item Configurator)**&#xB97C; 선택합니다.

{% hint style="warning" %}
라인 아이템 작업은 일반 리스트에서는 표시되지 않으며, 레코드 페이지의 관련 목록(Related List)으로 사용될 때만 노출됩니다.
{% endhint %}

<figure><img src="https://3985481653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA2fSsDo5KsIVkUoDIV1b%2Fuploads%2Fgit-blob-eacce1fbb3421620f230b2e9a1c8eaf233128daf%2FAction_AddLineItem_Step2.png?alt=media" alt=""><figcaption></figcaption></figure>

3. **저장(Save)**&#xC744; 클릭하여 설정을 완료합니다.

***

#### :small\_orange\_diamond: 예시: 기회 레코드 페이지에 기회 제품 리스트 구성하기

{% hint style="info" %}
이 예시에서는 기회 제품에 대한 라인 아이템 편집기를 설정하였습니다.

* **부모:** 기회(`Opportunity`)
* **라인 아이템:** 기회 제품(`OpportunityLineItem`)
* **조회:** 가격 목록 항목(`PricebookEntry`)
  {% endhint %}

1. 기회 레코드 페이지에서 **Related List Configurator**를 추가합니다.

<figure><img src="https://3985481653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA2fSsDo5KsIVkUoDIV1b%2Fuploads%2Fgit-blob-8fd5a0fead9cae4189d98712865995ac28ddb7d9%2FAction_LineItem_Result1.png?alt=media" alt=""><figcaption></figcaption></figure>

2. 설정한 라인 아이템 버튼이 관련 목록에 표시됩니다.

{% hint style="info" %}
리스트 로딩 초기에 라인 아이템 버튼이 비활성화(Disabled)되어 나타날 수 있습니다. 이는 **라인 아이템 구성기가 로드 중**인 것으로, 로드가 완료되면 활성화가 됩니다.
{% endhint %}

<figure><img src="https://3985481653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA2fSsDo5KsIVkUoDIV1b%2Fuploads%2Fgit-blob-e9b41c74b56b5ad19fa2c3a7f5b728d400d7d4a0%2FAction_LineItem_Result2.gif?alt=media" alt=""><figcaption></figcaption></figure>
