# Setup Configurations for Item Setup

**YouTube:** [How to Assign Form Level Validations in Setup Items to Users in Logic ERP Software?](https://www.youtube.com/watch?v=mBts9xlzcT0\&t=245s)

## How to Assign Form Level Validations in Setup Items to Users in Logic ERP Software?

This tutorial explains how to use **Expression Validation (Item Configuration Wise)** in Logic ERP to enforce data accuracy and consistency during item creation. It covers setting mandatory fields, applying conditional expressions, assigning configurations to users, and enabling supervisors to control validations. By implementing these validations, businesses can ensure error-free inventory management and standardized data entry processes.

***

### **Objective of Expression Validation**

* Ensure **Accurate and consistent item data entry**
* Prevent invalid inputs using **custom validation rules**
* Apply **configuration-based and user-specific validations**
* Enhance **data integrity across inventory operations**

***

### **Accessing Item Setup**

* Navigate to **Setup** and **Setup Items**
* Open **"Setup Items Multiple Packs/Sizes".**
* This is the primary window to:
  * Create items
  * Apply validation rules
  * Configure item fields

**Understanding Default Behavior**

* Item Groups are set to **“Not Required”** by default.
* Users can create items without selecting group fields unless modified

**Applying Mandatory Field Validation**

* Mark specific fields (e.g., **Category Group**) as **Required**

<figure><img src="/files/rC0Ji747wBOzycBZevWu" alt=""><figcaption></figcaption></figure>

* **Effect:**
  * System restricts saving the item if the field is left blank
  * Displays error message prompting completion

<figure><img src="/files/CU4NmDsCPMSRSQU2FaPf" alt=""><figcaption></figcaption></figure>

**Applying Expression-Based Validation**

* Right-click on the field to create an expression.

<figure><img src="/files/8YqLsiYYaoVg2DyhIMNJ" alt=""><figcaption></figcaption></figure>

* Define logical conditions for fields.

<figure><img src="/files/W6vJPThxyf0EihmNHZpp" alt=""><figcaption></figcaption></figure>

* Example:
  * **MRP must be greater than Sale Rate**

**Outcome**

* If condition fails → Error message displayed
* If condition passes → Item can be saved successfully

<figure><img src="/files/VlYUqqeFLckMgrxbNKqv" alt=""><figcaption></figcaption></figure>

***

### **User-Wise Validation Configuration**

* Validation rules can be applied **user-wise**
* Prerequisites:
  * Create users
  * Assign **Setup Menu Rights**

<div><figure><img src="/files/5MErs0WhjnYfGVOK5Ny7" alt=""><figcaption></figcaption></figure> <figure><img src="/files/NILDkhWQKz4wOImH954c" alt=""><figcaption></figcaption></figure></div>

***

### **Creating Item Configurations**

* Navigate to **Setup Configurations (Item Setup)**
* Enter:
  * Configuration Name (e.g., Raw Item, Finished Item)

<figure><img src="/files/ZGdxr3E62JnCejfyArjn" alt=""><figcaption></figcaption></figure>

* Click **Save**

**Enabling Expression Validation Feature**

* Tick **“Use Expression Validation Item Configuration Wise”**
* This step is **mandatory** to activate configuration-based validation

<figure><img src="/files/FLjmA4HE21kPR67BzTAd" alt=""><figcaption></figcaption></figure>

* Allows:
  * Applying different rules for different item types

***

#### **Assigning Configurations to Users**

* Navigate to **User Access Rights.**
* First, we will grant complete access to the **Supervisor**.
  * Select User → Click **Setup Item Configuration.**
* As you can see, we have already assigned both configurations.

<figure><img src="/files/ijha3MXLgYyUNgEvto34" alt=""><figcaption></figcaption></figure>

* Once everything is defined, click on **Grant Access**.
* Next, we will assign rights to users one by one:
  * **Counter 1** will be assigned **Finished Goods**.
  * **Counter 2** will be assigned **Raw Material**.

<div><figure><img src="/files/u793p3i8sQCHD5uGmJTM" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ndreeLan1umsKElHOgbF" alt=""><figcaption></figcaption></figure></div>

***

### **Supervisor Role in Validation Setup**

* Supervisor users can:
  * Define validation rules for all configurations
  * Control data entry standards across users

***

### **Setting Validation Rules by Supervisor**

* First, log in using the **Supervisor ID**.
* Go to **Setup → Items Multiple Packs/Sizes**

<figure><img src="/files/2ja8gr6kGIgRYOzfHZVs" alt=""><figcaption></figcaption></figure>

**For Raw Item Configuration**

* Mark **Category Field as Mandatory**
* Apply expression:
  * MRP > Sale Rate

**For Finished Item Configuration**

* Mark **Fabric Field as Mandatory**

**Note:** Please set the conditions as demonstrated earlier.

***

#### **Validating User-Specific Behavior**

* Log in with different users:

**Counter 1 (Finished Item Configuration)**

* Must fill **Fabric Field**
* Validation applies only to assigned configuration

<figure><img src="/files/9rmxBSYBWSRN5Owqhby9" alt=""><figcaption></figcaption></figure>

**Counter 2 (Raw Item Configuration)**

* Must follow:
  * Category mandatory
  * MRP > Sale Rate condition

<div><figure><img src="/files/9efvdEXqu5VNbRXZl9KG" alt=""><figcaption></figcaption></figure> <figure><img src="/files/CklS6Lr7JSfFDcvx9Y3i" alt=""><figcaption></figcaption></figure></div>

***

#### **Key Benefits of Expression Validation**

* Prevents **incorrect or incomplete data entry**
* Enables **role-based validation control**
* Improves **operational efficiency and compliance**
* Reduces manual verification effort
* Ensures **standardization across item creation**

***

### **Final Outcome**

* Each user follows **specific validation rules**
* Supervisors maintain **centralized control**
* System ensures **data accuracy and consistency**
* ERP processes become more **reliable and efficient**


---

# Agent Instructions: 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:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/setup-items/setup-configurations-for-item-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
