Scenario
User with custom role encounters an error: "Unexpected Error Occurred in a Script Running on This Page customscript_4601_accrual_cs WITHHOLDING TAX BUNDLE ERROR System Error: INSUFFICIENT PERMISSION Insufficient privileges" when creating Invoice and Journal Entry. Required permissions mentioned in "Answer ID 24509: Creating or Customizing Roles to Use Withholding Tax Features" is already followed but error still persists.
Solution
1. Go to Setup > Users/Roles > Manage Roles
2. Click Edit beside the custom role
3. Click Permissions tab
4. Click Lists subtab
- Permission: Select Perform Search
- Level: Select Full
5. Click Add
6. Click Save