I need to restrict the creator of requisition from creating the purchase order.
i.e
The Create orders button should be disabled for the creator of requisition.

Kindly assist on this
Any kind of responses is always highly appreciated.
I need to restrict the creator of requisition from creating the purchase order.
i.e
The Create orders button should be disabled for the creator of requisition.
Kindly assist on this
Any kind of responses is always highly appreciated.
Best answer by darylbowman
You can use Base.AccessInfo.UserID to compare the current user's user ID to whatever the Creator's user ID is. Then, conditionally disable the action.
Something like:
bool isUserCreator = Base.AccessInfo.UserID == requisition.CreatedByID;
actionName.SetEnabled(userIsCreator)
Do this in the RowSelected event of the Requisition.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.