Skip to main content

Posts

Showing posts from July, 2023

Do you know how to fetch Oracle Cloud HCM Department changes using SQL

In this session, we are going to see how to fetch Oracle Cloud HCM Department changes using SQL SQL Text: with people_tbl_vw as ( select papf . person_id , papf . person_number , ppnf . display_name from per_all_people_f papf , per_person_names_f ppnf where 1 = 1 and ppnf . person_id = papf . person_id and ppnf . name_type = 'GLOBAL' and sysdate between papf . effective_start_date and papf . effective_end_date and sysdate between ppnf . effective_start_date and ppnf . effective_end_date and ( coalesce ( null ,: p_pers_num ) is null or papf . person_id in (: p_pers_num )) ) , dep_chng_tbl_vw as ( select papf . person_number , papf . display_name , bus . name business_unit , paam . effective_start_date , to_char ( paam . effective_start_date , 'dd/Mon/yyyy' , 'nls_date_language=english' ) effective_date , dep . name new_value , dep_pre...