Applied the following improvements to the employment termination: If the Terminate Date is in the future (i.e. greater than today's date), then:
Even if a user selects the Close Current Activity option, it remains active. But the message will say that it is located before the date of the Terminate Date, so it is not closed. If the Terminate Date is in the past (i.e. less than today's date), then:
if there is a current activity less than the Terminate Date, then it is closed (historical is done) and Date End and Estimated End Date = Terminate Date (as now) all planned activities are deleted - both those in the future and all that in the past
|