> 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FkazzGVKMECOw98tp4fcE%2FCompany%20Selection%20Mandatory-Configuration%20new.png?alt=media&amp;token=8a8dff5c-3ff4-44b6-a073-65fab48a8e98" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FvLobG3l4lp7b8Pla5xcL%2FColumn%20Lock-Company%20Name-Configuration.png?alt=media&amp;token=1663ddfe-97b6-406c-9ffc-13763b0f2167" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FV16MvrAXgCIqBmCffdty%2FCompany%20Selection%20in%20header.png?alt=media&amp;token=759cdd25-2d1a-44bf-9cf1-9c6547d3c66e" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FL2FCBOlXdkPP1o9CQHX8%2FSelected%20Company%20Item%20Showing.png?alt=media&amp;token=828cb8bb-dd61-438e-bfdd-e8dcf21fd459" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Ft0pMw5gJ3VE4gSgt7mA6%2Ferror%20msg%20for%20comp.png?alt=media&amp;token=1d446804-5752-4420-8351-653f6de5ea42" 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 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/configurations/purchase-voucher-configurations/other-settings-1/company-selection-mandatory.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.
