Hi, we have a Vendor Bill Approval workflow. On th...
# general
n
Hi, we have a Vendor Bill Approval workflow. On the workflow in order to reject a bill, comments have to be made. I am getting this error when users are entering in comments for rejection "Code: INSUFFICIENT_PERMISSION Details: Permission Violation: You need a higher level of the 'Transactions -> Bills' permission to access this page." This makes logical sense, but when I go to your employee center role, the bill permission is only View and None, with no edit. But the approvers usually only have the employee center role assigned to them. Any idea on how to get past this issue?
I can also see that some users, who also only have the employee center role, can make comments on the vendor bills.
n
Where are the comments actually stored? Does the Workflow put them onto the Bill record? Does the Approval Workflow "EXECUTE AS ADMIN"?
n
It is a script that runs on a button execution on the bill record. It submits the text on the bill record.
n
@Noel B is the deployment "Execute As Role" set to Administrator? Any Audience settings that might make it different for the different users?
n
@Netsuite Tragic The Execute as Role is Current Role. But if I set that as Admin, I would get inefficient permission on the window that would pop up to type in the approval/rejection message.
I think I got it figured out. When I originally set the script deployment to Execute as Admin, I did not change the Audience to All Roles. Also the reason why another employee in the same role was able to write comments, because a different script is running on the initial email of the approval, that they can reject directly from the email that is sent to the approver to approve/reject.
1