JmgAssistance::activateAssistance Method

Resets all the relations on a given assistant.

Syntax

client server public static void activateAssistance(JmgTermReg termreg)

Run On

Called

Parameters

Remarks

This method deletes all the assistance records where an employee is both an assistant and a pilot, as well as all records where the current pilot of the employee is an assistant. This is done as general maintenance of the records.

After that it finds all the jmgAssistance records that corresponds to the pilot and assistant of the Termreg record, and activates them.

See Also

Reference

JmgAssistance Table