# Sale History Prompt in Sales Return to track quantity/discount in previous bills

YouTube: [How to Enforce Mandatory Selection of Sale Bill Against Sale Return Items ?](https://youtu.be/lnqkVmnVtAQ?si=eTUy6Il8iveNMb-i)

## 🔄How to Enforce Mandatory Selection of Sale Bill Against Sale Return Items🧾

Managing **sales returns** effectively is key to keeping your records accurate ✅ and your operations smooth 🚀. Logic ERP allows you to view the **sale history** of items during sales returns, ensuring precise and error-free processing 📊.

This tutorial will guide you through the step-by-step process of enabling and utilizing this feature.

### ⚙️**Configuring Sale History for Sales Returns**

1. 🔧Navigate to the **Sale Voucher Configuration** in  **Logic ERP**.
2. 🧾Select the **Relevant Billing Series** to apply the setting.
3. ✅**Enable the option**: Tick the Check box for **"Prompt Sale History for Each Item in Sale Return."**
4. 💾**Save the configuration changes** to apply the setting.

> *Once this setting is enabled, the system will automatically prompt the **sale history window** during sales return transactions, helping users retrieve historical sales details easily*����*.*

***

### 🧾**Generating a Sales Bill (Before Returns)**

A **valid sales bill**🧾must be created before a sales return can be processed. To generate a sales bill:

1. 📦**Go to the Sales Module** and select the option to **create**➕ **a new sales bill**.
2. ✍️**Enter the required details**, including customer information, item details, quantity, price, and applicable taxes.
3. ✔️**Save the sales bill** once all details are verified.

> *This bill will serve as a reference*�� *for future sales return transactions and allow the system to track historical item sales*��&#xFE0F;*.*

***

### 🔁**Processing a Sales Return**

Once a customer requests a return, follow these steps to record it:

1. Before processing a sales return, a valid sales bill must be generated✅.
2. 🔄 **Access the Sales Return module** and click **"Enter Return."**
3. 📦**Select the product being returned** and choose the corresponding **Lot.**
4. 👀**View the Customer and Item-wise Sales History** window that appears.&#x20;

This window provides a detailed overview of **past sales transactions**🗂️ related to the selected customer and item. *(This feature is enabled by the setting configured in Step 1.)*

1. 🔍**Select the appropriate Document Number** for the original sale to ensure accurate return processing.
2. 🆗**Click OK** to confirm and proceed with the return.

> *This feature simplifies the process by providing quick access to past transactions, reducing errors*❌*, and ensuring the return is properly linked to its original sale*��*.*

***

### ✅Conclusion:

Enabling **“Prompt Sale History for Each Item”** in **Logic ERP**:

🛡️ Ensures accurate return processing.\
📉 Reduces errors.\
🚀 Enhances efficiency.\
😊 Improves customer service.

Perfectly streamlined returns, every time! 🔄🧾✨


---

# Agent Instructions: 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:

```
GET https://kb.logicerp.com/logic-erp-in-action-a-feature-overview/distribution/billing/sale-history-prompt-in-sales-return-to-track-quantity-discount-in-previous-bills.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
