PX Insufficient Privilege Error
I installed a PX through the event manager. The PX ran manually in the development environment. When the event was trigger by a change to the manufacturer table (as plan) the event failed and the error was insufficient privilege. I added additional roles and also tried different modes (sync, async) with no success. We are not able to determine what action is causing the error or if it happening on sign-in. Anyone have a suggestion on the cause or how to trouble shoot this problem?
Thx Pete
Leaving the roles field blank will run the PX with the user’s privileges. The only reason to give a PX privileges is if a user who triggers it might not have sufficient privileges. I suppose another reason would be to apply filtering based on a restricted role. If you give the PX privileges then I always include My User Profile in case the px does anything that requires profile look up like a file operation–preferred IFS. You can give the PX more privileges than necessary so I usually have a PX role with god/dess prvileges. It will only do what the code does.
Please check the role which you have added in the event. It should have all the privileges which you are performing all actions through ask code.