> 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-schedules/undefined/relate-objects.md).

# 개체 설정 (Relate Objects)

**Schedule Configurator를 구현하기 위해서는 먼저 Parent 개체, Line-item 개체, Schedule 개체를 지정합니다.**

{% hint style="info" %}
참고로 기회에서 제품 Schedule Configurator를 구현하는 경우 Parent Object는 기회 개체로 Line-item 개체는 기회 제품으로 설정하며 OpportunityLineItemSchedule을 Schedule 개체로 설정합니다. ( Setup에서 Product Schedules Settings를 활성화해야 개체를 사용할 수 있습니다.)
{% endhint %}

<figure><img src="/files/BOOvPIfke4GpjMHkgQxc" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="197">항목</th><th width="453">설명</th><th>필수</th></tr></thead><tbody><tr><td>Parent Object</td><td>기회, 견적, 계약 등 일정을 추가할 개체를 의미합니다.</td><td><mark style="color:red;">✔️</mark></td></tr><tr><td>Line-item Object</td><td>기회 제품, 견적 제품 등 Parent Object의 자식 개체를 의미합니다.</td><td></td></tr><tr><td>Schedule Object</td><td>일정이 저장될 개체를 의미합니다.<br><br>💡 <strong>Tip</strong><br>Line-Item을 사용할 경우 Line-Item과 Lookup 관계를 가져야 합니다.<br>Line-Item을 사용하지 않을 경우 Parent Lookup 관계를 가져야 합니다.<br>Schedule Configurator와 Lookup 관계를 가져야 합니다.</td><td><mark style="color:red;">✔️</mark></td></tr></tbody></table>

### Line-item Object Advanced Setting

Line-Item Editor에서 저장된 레코드 불러올 시 정렬 및 조건 등을 설정합니다.

<figure><img src="/files/LbWIQSM6QwnO5mJRWIyF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8uy2UsPIqNgJAw8q5qh5" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="202">항목</th><th>설명</th></tr></thead><tbody><tr><td>Order By</td><td><p>저장된 Line-Item의 레코드를 불러올 시 정렬을 설정합니다.</p><p>SOQL의 <code>ORDER BY</code> 절을 기재합니다.<br><br>예를 들어 최근에 생성된 날짜(<em>필드: CreatedDate</em>)순으로 내림차순 정렬하고 싶은 경우 <code>CreatedDate DESC</code>로 기재하면 됩니다.</p></td></tr><tr><td>Advanced Condition</td><td>검색 조건을 미리 지정합니다.<br>SOQL의 <code>WHERE</code> 절을 기재합니다.<br><br>예를 들어 활성화(<em>필드: IsActive</em>)된 레코드만 조회하고 싶은 경우<br><code>IsActive = true</code>로 기재하면 됩니다.</td></tr></tbody></table>
