> 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-line-items/builder/builder-setup-steps/relate-objects/lookup-object/select-lookup-reference-field.md).

# 설정 방법

부모 개체에서 시작하여 하위 개체인 라인 아이템을 선택하고, 라인 아이템이 참조하고 있는 조회 개체를 설정합니다. 조회 개체를 지정할 때는, 라인 아이템에서 조회 개체를 참조하는 필드를 선택해야 합니다.

기회(`Opportunity`)에 대한 기회 제품(`OpportunityLineItem`)을 기반으로 빌더를 설정한다고 가정해 보겠습니다. 아래 개체 구조 이미지와 같이 기회 제품은 두 가지 주요 관계를 가집니다:

* **기회(**`Opportunity`**)**

  기회 제품의 상위 개체로 **기회 ID(**`OpportunityId`**)** 필드로 참조됩니다.
* **가격 목록 항목(**`PricebookEntry`**)**

  기회 제품이 참조하고 있는 개체로 **가격 목록 항목 ID(**`PricebookEntryId`**)** 필드로 참조됩니다.

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

**부모 개체**는 기회(`Opportunity`)로 선택합니다.

<figure><img src="/files/3YVnzxbzFZc9tWd7FQ9O" alt=""><figcaption></figcaption></figure>

**라인 아이템 개체**는 기회 제품(`OpportunityLineItem`)으로 선택합니다.

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

기회 제품(`OpportunityLineItem`)은 가격 목록 항목(`PricebookEntry`)을 참조하여 생성되기 때문에, 조회 참조 필드로 기회 제품의 가격 목록 항목 ID(`PricebookEntryId`) 필드를 선택해야 합니다.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.smallbuilder.com/ko/smallbuilder-line-items/builder/builder-setup-steps/relate-objects/lookup-object/select-lookup-reference-field.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
