How to access the newly created assignment in a "ProjectAssignmentNew" event? RRS feed

  • Question

  • Hi,

    The ProjectAssignmentNew event provides the ID of the assignment just created:

    appevent_ProjectAssignmentNew(ByVal pj As Project, ByVal ID As Long)

    How can I get an Assignment object representing the newly created assignment from the ID obtained as parameter of ProjectAssignmentNew?


    Tuesday, January 3, 2017 3:07 PM

All replies

  • Hi Roberto,

    I am not sure if this will help you now.

    I have used the WindowsSelectionchange event to get the new assignment details.

    You can store the Assignment ID's and Task ID's of the new assignment from AssignmentNew event and later use them in WindowsSelectionChange to perform your updates in the new assignment.

    If this helps please mark my reply as answer so that it will help others with similar requirement.




    Tuesday, April 10, 2018 5:20 AM