> 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/smallbuilder-line-items/builder/default-setting/line-item-editor-settings/show-summary.md).

# Show Summary

Displays summary information at the bottom of the Line Item Editor.

<figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FL5eYOW7iYEQ94jRwfOip%2FLineItem_Summary.png?alt=media&amp;token=ee27443e-2b2d-4b5a-a0c1-5c97a4ce0c76" alt="" width="293"><figcaption></figcaption></figure>

### Example: Displaying the Sum of Total Price Field Values in Line Items

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

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

In this case, the total values from the TotalPrice field (column) of all added line items will be summed up and displayed at the bottom of the editor.

#### Configuration Steps

1. Enable Show Summary in the Line Item Options under the Default Settings.
2. In the Line Item Editor Settings step, enable the summary attribute for the TotalPrice field (column).

<figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FywrLebq87haJgRLkq2W2%2FSummary_Example.png?alt=media&amp;token=fc68dcde-440c-4549-9b2d-e5c4d86c2717" alt=""><figcaption></figcaption></figure>

#### Result

When the Line Item Editor is executed, the sum of the total price values for all added data will be displayed at the bottom of the editor.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.smallbuilder.com/smallbuilder-line-items/builder/default-setting/line-item-editor-settings/show-summary.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
