File tree Expand file tree Collapse file tree 3 files changed +130
-1
lines changed
OracleIdentityGovernance/samples/scripts Expand file tree Collapse file tree 3 files changed +130
-1
lines changed Original file line number Diff line number Diff line change
1
+ -- Copyright (c) 2025 Oracle and/or its affiliates.
2
+ --
3
+ -- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4
+ --
5
+ -- Author: OAG Development
6
+ --
7
+ -- Description: Script file to create JOB_DATA_VIEW in the AG Service Account User Schema of the PSFT DB, required for OAG integration
8
+ --
9
+ -- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
10
+
11
+ CREATE OR REPLACE VIEW job_Data_View (
12
+ empl_id,
13
+ empl_rcd,
14
+ eff_dt,
15
+ EFF_SEQ,
16
+ business_unit,
17
+ empl_type,
18
+ empl_class,
19
+ officer_Code,
20
+ company,
21
+ per_org,
22
+ POSITION_NBR,
23
+ poi_type,
24
+ deptid,
25
+ jobcode,
26
+ supervisor_id,
27
+ hr_status,
28
+ empl_status,
29
+ full_part_time,
30
+ action,
31
+ action_reason,
32
+ locationCode,
33
+ locationDetails,
34
+ job_type,
35
+ setid_jobcode,
36
+ job_title,
37
+ end_date,
38
+ termination_dt,
39
+ reports_to,
40
+ dept_code_hierarchy,
41
+ Description,
42
+ lastupddttm ) AS
43
+ SELECT
44
+ pj .emplid ,
45
+ pj .empl_rcd ,
46
+ pj .effdt ,
47
+ pj .EFFSEQ ,
48
+ pj .business_unit ,
49
+ pj .empl_type ,
50
+ pj .empl_class ,
51
+ pj .officer_cd ,
52
+ pj .company ,
53
+ pj .per_org ,
54
+ pj .POSITION_NBR ,
55
+ pj .poi_type ,
56
+ pj .deptid ,
57
+ pj .jobcode ,
58
+ pj .supervisor_id ,
59
+ pj .hr_status ,
60
+ pj .empl_status ,
61
+ pj .full_part_time ,
62
+ pj .action ,
63
+ pj .action_reason ,
64
+ pj .location ,
65
+ null ,
66
+ pj .JOB_INDICATOR ,
67
+ setid_jobcode,
68
+ pjc .descr ,
69
+ To_Date(NULL , ' YYYYMMDD' ),
70
+ pj .termination_dt ,
71
+ pj .reports_to ,
72
+ null ,
73
+ null ,
74
+ pj .lastupddttm
75
+ FROM
76
+ ps_job pj
77
+ left join PS_JOBCODE_TBL pjc on pj .SETID_JOBCODE = pjc .setid and pj .jobcode = pjc .jobcode and pj .effdt = pjc .effdt ;
Original file line number Diff line number Diff line change
1
+ -- Copyright (c) 2025 Oracle and/or its affiliates.
2
+ --
3
+ -- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4
+ --
5
+ -- Author: OAG Development
6
+ --
7
+ -- Description: Script file to create PERSONAL_DATA_VIEW in the AG Service Account User Schema of the PSFT DB, required for OAG integration
8
+ --
9
+ -- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
10
+
11
+ CREATE OR REPLACE VIEW personal_data_view ( empl_id,
12
+ first_name,
13
+ last_name,
14
+ middle_name,
15
+ pref_first_name,
16
+ name_title,
17
+ phone,
18
+ email,
19
+ organization_name,
20
+ country,
21
+ address1,
22
+ address2,
23
+ address3,
24
+ city,
25
+ state,
26
+ postal,
27
+ lastupddttm) AS
28
+ SELECT
29
+ pd .emplid ,
30
+ pd .first_name ,
31
+ pd .last_name ,
32
+ pd .middle_name ,
33
+ pd .pref_first_name ,
34
+ pd .name_title ,
35
+ pd .phone ,
36
+ pe .email_addr ,
37
+ ' ' ,
38
+ pd .country ,
39
+ pd .address1 ,
40
+ pd .address2 ,
41
+ pd .address3 ,
42
+ pd .city ,
43
+ pd .state ,
44
+ pd .postal ,
45
+ pd .lastupddttm
46
+ FROM
47
+ ps_personal_data pd
48
+ LEFT JOIN ps_email_addresses pe ON pd .emplid = pe .emplid and pe .pref_email_flag = ' Y' ;
Original file line number Diff line number Diff line change @@ -8,4 +8,8 @@ Directory Oracle_EBS_HRMS contains script files for creating a service account i
8
8
9
9
Directory Oracle_EBS_UM contains script files for creating a service account in EBS target For UM
10
10
11
- Copyright (c) 2019, 2023 Oracle and/or its affiliates.
11
+ ## PEOPLESOFT
12
+
13
+ Directory PEOPLESOFT contains views definitions for peoplesoft target
14
+
15
+ Copyright (c) 2025 Oracle and/or its affiliates.
You can’t perform that action at this time.
0 commit comments