> 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/setups/setup-accounts/setup-agents/allocate-agents-to-parties-for-filter.md).

# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FpjScPwBvrMM8lZkqGory%2FLink%20Party%20and%20Agent.png?alt=media&amp;token=487e4eed-dee4-4b6a-a8c7-bd5e11286440" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FQBi7gSc0Zw0n5a6angTv%2FEntry%20Mode.png?alt=media&amp;token=903fe53e-d14a-4a51-96b4-28a8fd3de90c" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FO2bcUoopUxS2ZSCNorZQ%2FBill%20Wise%20Agent%20in%20Bill.png?alt=media&amp;token=127f155d-2d3c-4a04-827c-5e1d8e983b99" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FWJ3pHZRPvgphNyCG5tQt%2FAnother%20Party.png?alt=media&amp;token=c7cfdae6-2e77-4a95-94a5-1f05d5c74497" 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
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/setups/setup-accounts/setup-agents/allocate-agents-to-parties-for-filter.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.
