This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Break into code in PersonInOrg.OnSaving

I'm trying to troubleshoot PersonInOrg.OnSaving.  Is there a way to step into the code?  The only way I know how to trigger it is to recalculate the affiliations/entitlements dynamic role through the Manager. Is there a way I can do that through the SystemDebugger?

  • Not sure how I did it, or if I can even replicate it, but I was finally able to activate the Save and New buttons to be able to add a new PersonInOrg entry and was able to step through the code. Not sure if this is version-specific, but v. 8 is what I'm using.
  • Has anyone else had issues with this?  Not sure what I'm doing wrong, but I can't seem to get the Action buttons to activate.  I'm trying all sorts of filters in the Database object drop-down but can't seem to get any objects to populate, aside from what's shown in this image. The buttons are inactive. Selecting that object or adding more filters does nothing, or takes me back to the start.

  • Hi Ellen,

    The buttons will not activate here because there are no actual records. Take a look at the PersonInOrg table in your database. Are there any rows?

    Trevor
  • Hi Trevor,

    Yes, there are many records in PersonInOrg - a couple million, in fact.
  • In that case you're likely missing some permissions.
  • Thanks Trevor. I assume you're talking SQL permissions? I'm able to pull up a list of Person employees through the debugger just fine. My SQL permissions in Person are the same as PersonInBaseTree. I realize PersonInOrg is actually a view rather than a true table, so I assume I wouldn't need anything other than Select permissions there, right?