Material Request purpose restricted


can i make restriction that purchae user can only see Material request with purchase and warehouse user can only see the one with purpose transfer material ?


AFAIK the answer to the question is “NO”.

To restrict based on a field then the field has to be a LINK field which can be set in the user property.

As a work around you can probably Add a custom field. Employment Type (this is a doctype in HR)

Write a code that when Material Request Type == Purchase then make employment type == Purchase similarly update the employment type based on the material request type and then add the user permission with the employment type.

I am using this similar functionality in my JV where I have blocked access based on this link field.

1 Like