When an officer or employee terminates employment with one department, office, institution, or agency of the state government and is employed by another department, office, institution, or agency of the state government without break in service, accumulated personal leave and banked medical leave also transfer and shall be credited to the officer or employee in the employing department, office, institution, or agency.