How I can fetch licence details, which stored against particular assignment?
Summary:
If employee has multiple assignments, and I want to get licence detail of particular assignment then how I can fetch by using sql. I wrote the sql to fetch all licences which are expiring soon, but it is giving duplicates records for all assignments, as I have link with the all lic tables with assignment with person id. I checked all lic tables but there is no any assignment id.
I used below tables
hrt_profiles_b
hrt_profile_items
hrt_person_qualidfications_v
hrt_content_types_b
hrt_content_items_tl
hrt_certification_items_v
per_all_assignments_m