> 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/configurations/purchase-voucher-configurations/other-settings-1/company-selection-mandatory.md).

# Company Selection Mandatory

YouTube: [How to make Company / Brand Selection Mandatory in Purchase?](https://www.youtube.com/watch?v=8L7H8sLuQ38\&t=29s)

## How to make Company / Brand Selection Mandatory in Purchase?

In this tutorial, we'll show you how to make company selection mandatory when creating a purchase voucher.

### Steps to Enable Mandatory Company Selection

* Navigate to the "Purchase Voucher Configuration".
* Locate the option "Company Selection Mandatory".
* Tick the checkbox to activate this validation.

<figure><img src="/files/9NSNSTuRMftn9J2OWN78" alt=""><figcaption><p>Let's keep this feature enabled to observe its Impact.</p></figcaption></figure>

* After Implementing Configuration.
* On the left-hand side, click on "Column Locks."
* Tick the option (COMPANY {TICK TO USE}) for using the company field.

<figure><img src="/files/SaQ5GMLKOW83sHMWOjnG" alt=""><figcaption><p>This picture illustrates that you can enable the <strong>Company</strong> column from here.</p></figcaption></figure>

### **Demonstration: Creating a New Purchase Bill:**

* Create a "Purchase Voucher".
* Once the option is enabled, select a company.

<figure><img src="/files/lmZE8ehdpGkQDYjdtR2I" alt=""><figcaption><p>You can select the <strong>Company Filter</strong> from here.</p></figcaption></figure>

* Only items associated with the chosen company will appear in searches.

<figure><img src="/files/0HoZRJtE38IyT7PRGWZx" alt=""><figcaption><p>Now, only the items of the <strong>selected company</strong> will be displayed.</p></figcaption></figure>

* After selecting a company, you can proceed to the item details window.
* This ensures all purchase transactions are correctly linked, minimizing errors and ensuring precise filtration.

#### Note:

If you skip company selection, the software will generate an error message.

<figure><img src="/files/mNBZH8m8SO5WDjVZ0W9O" alt=""><figcaption><p>If you forget to select a <strong>company</strong>, the software will prompt you with a message like this.</p></figcaption></figure>


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/purchase-voucher-configurations/other-settings-1/company-selection-mandatory.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
