We would like to request guidance regarding role-based display preferences for Item fields.
We have two different user roles with distinct display:
-
Role A:
Users should see Item Name displayed everywhere in the system instead of Item Code. -
Role B:
Users should see Item Code displayed everywhere instead of Item Name.
Scope:
This behavior is expected consistently across:
-
All DocTypes (including child tables)
-
Link field dropdown suggestions
-
Reports
-
Search results and global search
-
Print formats (if applicable)
Current Attempt:
We have explored the “Show/Hide (Mask)” functionality using Permission Levels, but it does not provide role-based control for switching between Item Name and Item Code dynamically across the system.
Challenges:
-
There is no built-in role-based configuration to toggle between Item Name and Item Code display globally.
-
Custom scripts or minor configurations are not achieving consistent results across all modules.
Request:
Could you please advise:
-
Is there any standard feature or recommended approach to achieve role-based display control for Item Name vs Item Code?
-
If not, what would be the best practice (customization or override) to implement this behavior system-wide?
-
Are there any existing hooks, settings, or roadmap plans supporting this requirement?
We would appreciate your guidance or any alternative approach to achieve this functionality efficiently.