Task put 2
Similar to the traditional Task put interaction, but IxnTskPut2 allows the use of the MEMRECNOs array to specify members associated to an individual task.
The traditional Task put interaction leaves this field null. This interaction is used for custom tasks; use the idtxtsk object to get and set the text and hint fields.
- For mpi_memxtsk and mpi_entxtsk records, a list of tasks with an associated SETRECNO are created in the database.
- For mpi_idtxtsk records, a single task is created with the member associations persisted in the mpi_tskxmem table.
Ensure that custom task data includes, at a minimum, a task type (tasktypeno) and the member record number (memrecno) for the member record with which a particular custom task is associated.
One thing to note about using IxnTskPut2 to update tasks is that you first need to retrieve the task from the hub using the tskrecno. In the past, you could update a task using the memrecno because a member could have only one task. With the introduction of custom tasks, a member can now have multiple tasks, therefore, the tskrecno is the key, rather than the memrecno.