> 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/order-processing/purchase-order-stock-levels-basis.md).

# Purchase Order - Stock Levels Basis

**YouTube:** [Supplier wise Purchase Order on the base of Minimum/Maximum Level basis.](https://www.youtube.com/watch?v=vRLTjpljmCo)

## Supplier wise Purchase Order on the base of Minimum/Maximum Level basis.

Logic ERP allows you to automate your purchase order process by defining **Re-Order Levels** for stock items. This feature helps maintain optimal inventory by automatically triggering purchase orders when stock falls below the defined threshold.

***

#### **Step-by-Step Guide**

**1. Define the Re-Order Level**

* Navigate to Setup\Setup Items and the click on **"Setup Items Multiple Packs/Sizes".**
* Select the desired **Item**.
* Go to the **Pack Size Details** section.
* Enter the **Re-Order Level** (minimum stock level that triggers a new order).
  * **Note:** If the Order Levels column is not visible, enable it through Column Locks.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F4u5KOKzuSAOrwijfYfEl%2FSetup%20Item%20%2B%20Order%20Level.png?alt=media&amp;token=dfbddae7-0050-4d73-abd9-15c8580f1574" alt=""><figcaption></figcaption></figure>

**2. Link Supplier with Item**

* Navigate to Setup\Party Wise Settings and the click on **"Supplier + Companies".**
  * **Step A: Supplier + Companies**

    * Select the **Supplier Name**.
    * Choose the **Item Brand** to link.

    <figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FJPUKFU2956pAyu57PvRY%2FSupplier%20%2BCompany.png?alt=media&amp;token=d4c3dd0b-74d8-4334-a92f-6101d191f298" alt=""><figcaption></figcaption></figure>

    * Click **Save**.
  * **Step B: Supplier + Items**

    * Select the **Supplier Name** again.
    * Choose the **Item** to link.

    <figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FAUsNzLZMvaJebANcQ2IE%2FSupplier%20%2B%20Item.png?alt=media&amp;token=e05f9ca7-9692-4f2f-81a5-f6218ef908c5" alt=""><figcaption></figcaption></figure>

    * Click **Save**.

**3. Generate Purchase Order Based on Stock Level**

* Go to **Order Processing > Purchase Order (Stock Levels Basis)**.
* Under **Generate Order**, choose:
  * **Item-wise** or
  * **Supplier-wise** (let’s proceed with Supplier-wise).
* Select the relevant **Supplier**.
* Choose the **Godown**.
* Click on **Generate Order**.

💡 **Example:**

* Re-Order Level set: **600 units**
* Current stock: **294 units**
* System auto-generates a **Purchase Order for 306 units**
* Click **Save Order** to finalize the purchase order.

**4. Configure Purchase Order Quantity Basis**

* To change the basis of quantity calculation (e.g., **Maximum Level** instead of Re-Order Level):
  * Go to **Configuration > Other Settings**.
  * Choose the basis for quantity calculation:
    * **Re-Order Level**
    * **Maximum Level**
    * **Custom Logic**

***

#### **Benefits**

* Prevents stockouts by maintaining minimum inventory levels.
* Saves time by auto-generating purchase orders.
* Offers flexibility to calculate order quantities based on different stock levels.
* Ensures smooth procurement and supplier coordination.


---

# 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/order-processing/purchase-order-stock-levels-basis.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.
