> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/user-access/logic-global-admin/sale-return/prompt-original-sale-details-in-case-of-sale-return.md). Agents can also search and read this documentation through its [MCP server](https://kb.logicerp.com/~gitbook/mcp).

# Prompt Original Sale Details in case of Sale Return

**YouTube:** [How to Prompt Original Sale Details During Sale Return?](https://www.youtube.com/watch?v=-5caDDeOUzU)

## How to Prompt Original Sale Details During Sale Return?

In this tutorial, we will demonstrate how to enable the feature that **displays original sale bill details** during the creation of a **Sale Return** entry in Logic ERP. This helps ensure accurate referencing and validation of returned goods.

***

### **Enable the Setting in Logic Admin**

* Launch **Logic Admin**.
* Navigate to **Global Settings**.
* Go to the **“Sale Return Settings”** section.
* Locate and enable the option: **"Prompt Original Sale Details in case of Sale Return"**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F48LoMlktxLmelnWg9cKG%2FAdmin%20Setup%20-%20Prompt%20Original%20Sale%20Details%20in%20case%20of%20Sale%20Return.png?alt=media&amp;token=6a382a73-7d68-46f5-9ca4-384ad9dd725c" alt=""><figcaption></figcaption></figure>

* Click **Save** to apply the changes.
* Restart the software to activate the setting.

***

### **Implement in Sale Return Voucher**

* Open the **Sale Return Voucher** screen.
* Fill in the required return details as usual.
* When you attempt to **save the voucher**, the software will:

> **Automatically display the original sale bill details**\
> against which the sale return is being issued.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FcdDSwrg0af0kPF1KjpDq%2FPrompt%20for%20original.png?alt=media&amp;token=ae451054-a340-4eac-a16d-c4531d28252a" alt=""><figcaption></figcaption></figure>

***

#### **Conclusion**

Enabling the **“Prompt Original Sale Details”** option ensures every return is accurately linked to its original sale transaction. This improves traceability, prevents errors, and strengthens inventory and billing integrity.


---

# 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://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/user-access/logic-global-admin/sale-return/prompt-original-sale-details-in-case-of-sale-return.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.
