Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Find Current Role in Saved Search
Hi guys,
I am creating a Saved Search on a transaction, with the following requirements:
The record should only appear if the role currently used by the user (current role) is the same as the value in the custom field custbody_next_approver_role.
I have tried using the following formula:
CASE WHEN {user.role} = {custbody_next_approver_role} THEN 1 ELSE 0 END
However, I noticed that the record still appears even though I log in with a different role. It is as if {user.role} reads all roles owned by the user, not the role currently used in the current session.
Regards,
R. Dieka Pribadi G. E.,
Tagged:
0