Is there a DBI for Enterprise Seniority Date
Is there a DBI for Enterprise Seniority Date based on person id and effective date?
There can be multiple seniority dates for an employee based on rehire , global transfer within his service period. Therefore Enterprise seniority date should be able to extract based on effective date.
PER_PER_SENIORITY_DATES_SENIORITY_DATE DBI has only one context to set which is person_id
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
select seniority_date , person_id from per_senirority_dates_f where person_id = :person_id and trunc(:effective_Date) between effective_start_date and effective_end_date