07-18-2016, 06:27 PM
As I'm currently in the process of writing the 'save' code, I'd like to know two things:
- How do I assign an event to a user other than the user currently using the Schedular module? I see I need to pass in $current_user, but my guess is this is mainly for checking if the current user has rights to save. How do we assign the user the event is designated to?
- I'm getting errors on missing fields like 'parent_id'. How do I find out which fields are required and what they are? For instance, I can't find the parent_id column in the vtiger_activity table.