Regarding logic
Posted: Thu Apr 08, 2010 11:30 pm
Hi,
we have a following requirement. We will be getting a source file which contains details of an EMPLOYEE ID and SUPERVISOR ID. We need to find out all the direct and indirect EMPLOYEE IDs under a particular SUPERVISOR. For example
Employee Supervisor
E1 S1
E2 S1
S1 S2
The employees under supervisor S2 should be E1,E2,S1.
Can anyone help me on this please
we have a following requirement. We will be getting a source file which contains details of an EMPLOYEE ID and SUPERVISOR ID. We need to find out all the direct and indirect EMPLOYEE IDs under a particular SUPERVISOR. For example
Employee Supervisor
E1 S1
E2 S1
S1 S2
The employees under supervisor S2 should be E1,E2,S1.
Can anyone help me on this please