Auto generate Employee ID based on Employee Type

Auto generate Employee ID based on Employee Type

Hi,

I want to generate Employee ID based on Employee Type.

E.g. Employee Type >> Permanent, Secondary, On Contract

My Employee ID should be auto generated as Exxxx for Permanent, Sxxxx for Secondary and Cxxxx for Contract employees.

Please let me know how to achieve this. Thanks in advance.

Regards,
Shinney Walter