# Allocate Agents to Parties for Filter

**YouTube:** [How to Allocate Agents or Salesmen to Parties for Filtering in Sales?](https://youtu.be/qAkwFNezog4)

## How to Allocate Agents or Salesmen to Parties for Filtering in Sales?

In this tutorial, we will learn how to **allocate agents to parties for filtering in Logic ERP**, ensuring that only relevant agents are available for selection during transactions.

***

### Allocating Agents to Parties

To begin, configure agent allocation for parties.

* Navigate to the **Setup Module** from the main menu
* Click on **Setup Accounts**
* Under the **Setup Agent** section
* Open **Allocate Agents to Parties for Filter**

**Assign Agents**

* Select the required **Parties** from the account search list
* Select the corresponding **Agents** from the agent list

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

* Click **Save** to apply the allocation

***

### Reviewing Agent Allocation (Entry Mode)

You can review or verify the allocated agents at any time.

* Open **Allocate Agents to Parties for Filter**
* Switch to **Entry Mode**
* Select the **Party** and **Agent**
* Click **Refresh**

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

* The system will display all agents allocated to the selected party.

***

### Using Agent Filter in Sales Billing

Now, let’s see how this configuration works during sales entry.

* Open the **Sales Bill** window
* Select the **Customer / Party**
* Click on the **Agent** field

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

***Observation:***

* Only the agents allocated to the selected customer will be visible in the dropdown list.

***

### Party-Wise Agent Filtering

* Select another customer for whom agents are allocated
* Observe that:
  * The agent dropdown updates automatically
  * Only relevant agents are available for selection

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

This ensures accurate agent assignment and prevents incorrect agent selection.

***

### Conclusion

This completes the **Agent Allocation to Parties for Filter setup in Logic ERP**, enabling **party-wise agent filtration** and improving data accuracy during sales transactions.


---

# 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-learning-hub-tutorials-and-best-practices/setups/setup-accounts/setup-agents/allocate-agents-to-parties-for-filter.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.
