> 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/user-access/logic-global-admin/purchase/force-attach-scheme-reference-with-every-purchase-having-schemes.md).

# Force Attach Scheme Reference with every Purchase having Schemes

**YouTube:** [How to Enforce Scheme Reference for Purchases with Applicable Schemes?](https://www.youtube.com/watch?v=KIc0Oc7boh4)

## How to Enforce Scheme Reference for Purchases with Applicable Schemes?

This tutorial explains how to ensure that a scheme reference is mandatorily attached to every purchase entry involving items with defined schemes.

***

### **Enable the Setting in Global Settings:**

* Launch **Logic Admin**.
* Navigate to **Global Settings**.
* Go to the **Purchase Settings** section.
* Locate and enable the option Labeled: **"Force Attach Scheme Reference with every Purchase having Schemes"**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FIJa9W5ZTL1fMaOis4lui%2FAdmin%20Setup%20-%20Force%20Attach%20Scheme%20Reference%20with%20every%20Purchase%20having%20Schemes.png?alt=media&amp;token=a86d9ada-4eb7-43f1-9304-945dace37688" alt=""><figcaption><p><strong>Let’s keep this feature enabled to observe its impact on purchase transactions.</strong></p></figcaption></figure>

* Click **Save** to apply the changes.
* **Restart the software** to activate the new setting.

***

### **Implement a Purchase Entry with a Scheme-Associated Item**

* Begin a new purchase entry involving an item linked to a predefined scheme.
* If a scheme reference is not provided, the software will:
  * **Restrict the transaction.**
  * Display an **error message** indicating that a scheme reference is required.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FrXh4qY8aPyv9bFiBT50r%2FPrompt.png?alt=media&amp;token=882ae996-1597-4072-91a0-a2fbb51296e1" alt=""><figcaption><p>As illustrated in the picture, an error message appears on the purchase screen:</p></figcaption></figure>

***

### **Add a Scheme Reference**

* In the **Scheme Reference** column, press the **Spacebar**.
* Select the appropriate scheme associated with the item from the list.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FsaqBdomf7LiLTKU2IEHS%2FSetup%20Scheme.png?alt=media&amp;token=d0c506dd-2cbf-4e90-8753-21c82f8f2422" alt=""><figcaption><p>As illustrated, select the appropriate scheme from the list in the <strong>Scheme Reference</strong> column to proceed.</p></figcaption></figure>

***

### **Enable Scheme Reference Column (If Not Visible)**

* If the **Scheme Reference** column is not visible:
  * Open the **Setup Column Attributes** option.
  * Enable the column manually from the available attributes.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FopompZ0WBFUXOP65jGHb%2FColumn%20Attribute.png?alt=media&amp;token=1b2528cf-e677-470f-9c77-c6ee8c57a116" alt=""><figcaption><p>As shown in the picture, select the column from <strong>Setup Column Attributes</strong> in the same way.</p></figcaption></figure>

***

### **Note on Scheme Setup**

* Schemes are defined in the **Setup Schemes** window.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FwPslAQcgaJjisctUns46%2FBuy%201%20get%20q%20free.png?alt=media&amp;token=ce349a24-b1bb-4838-8227-1f8499127918" alt=""><figcaption><p>As shown in the picture, you need to create the scheme from here.</p></figcaption></figure>

* Items linked to a defined scheme will automatically be flagged during purchase entry for reference selection.


---

# 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/user-access/logic-global-admin/purchase/force-attach-scheme-reference-with-every-purchase-having-schemes.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.
