Forum Discussion

RV1's avatar
RV1
Helper I
4 years ago
Solved

Tracing Employee Position History

Hi,

 

I am trying to work on a solution that provides the relevant position of an employee on any given date. I have 2 tables:

 

a. EmployeePositionHistory

b. WorkSchedule

 

Position History - EmpCode, Position, StartDate, EndDate (Blank for current position)

WorkSchedule - Empode, ScheduleDate (Last 365 days), plus other fields

 

The WorkShcedule file has a record of last 365 days for all active employees (active on that day).

Based on the EmployeePositionHistory, I would like to add a column in WorkShcedule table for the staff's position on that particular date.

 

All help will be appreciated.

 

 

 

1 Reply