Set Form Level Validations in Setup Items
Last updated
Last updated
YouTube:
In this tutorial, we'll explore how to use expression validation item configuration-wise in Logic ERP. This feature helps maintain data accuracy by applying custom validation rules during item creation.
Navigate to Setup Items and then click on Setup Items Multiple Pack Sizes.
By default, groups are marked as Not Required, allowing item creation without entering group details.
To apply validation, mark the Gender Group as Required.
Add an Expression in MRP ensuring it is greater than the sale rate.
As soon as you apply an expression in MRP, it will be displayed in red color.
Start creating an item.
Skip the Category Group to test validation.
The system will prompt an error message: "Group 1 cannot be blank".
Enter a valid category and proceed.
Set MRP less than Sale Rate to check expression validation.
The system will display: "MRP must be greater than the sale rate".
Enter a correct MRP and successfully save the item.
Navigate to the Setup and expand Setup Items.
Locate the option "Setup Configurations for Item Setup".
Enter a configuration name and save the data.
Now, click on "Set Configuration" to create a separate configuration for individual users.
Navigate to User Access Rights.
Select the user and assign "Setup Item Configuration".
Assign configurations:
Aakash → Finished Item Configuration
Rahul → Raw Item Configuration
Log in as Supervisor.
Navigate to Setup Items Multiple Pack Sizes.
Set validation rules:
Raw Item Configuration → Mark Category as mandatory, enforce MRP > Sale Rate.
Finished Item Configuration → Mark Fabric as mandatory.
Log in as Amit (Finished Item Configuration user) and check the fabric field validation.
Log in as Rahul (Raw Item Configuration user) and check category and MRP validation.
Conclusion
Expression validation in Logic ERP ensures data consistency, accuracy, and compliance across inventory management. Supervisors can define and enforce validation rules, minimizing errors and improving efficiency.