PA_FUNC_SECURITY_ENFORCED - While creating events through API from Custom Page

Error:

PA_FUNC_SECURITY_ENFORCED - While creating events through API from Custom Page

Solution:
The following functions needs to be added in the Custom menu created for Event creation.



Events maintainence for single project
Activity Management Gateway:Create Event
Activity Management Gateway:Delete Event
Activity Management Gateway:Update Event
Activity Management Gateway:Delete Event OK
Invoice Events Maintainence
Revenue Events Maintainence