Professional Documents
Culture Documents
Implementing Oracle
ADIC
(Abu Dhabi Investment Company)
Approval Management
This document includes a screen shot demonstration of Oracle® Approval
Management setup for Abu Dhabi Investment Company. It will help the IT
department in understanding how AME works and also in handling any changes
By: Akram Madkour
in the current business cycles.
ADDIC Oracle App
proval Managgement Impleementation SSteps
Orracle ® Approval Manageement
Seelf Service fo
or Human Reesources
(SSSHR 4.2)
ADDIC Impleme entation Ste
eps
Reelease 12
June 2008
Approvals proceesses enable you to decidee whether traansactions caarried out by SSSHR users need approval before they
aree submitted tto the HR tab bles. You can define different approvaal requiremen nts for differeent transactio
ons and vary
thee approval requirements aas required. FFor example, you can configure the wo orkflow proceesses so that the Address
parrt of Personal Information n requires app proval but thee Phone Num mbers part do oes not. Altern natively, you can vary the
Approvals requirements by responsibilityy so that records changed d by employeees would neeed approval but records
chaanged by maanagers would not. All ap pprovals mecchanisms useed in SSHR foollow the bassic approvals loop shown
bellow. The logicc checks whe ether the currrent approverr is the final aapprover in th he hierarchy. If the current approver is
nott the final ap
pprover, the application feetches the next approverr who then reeceives the approval
a notification. The
nexxt approver ccan either reje ect the transaaction, approve the transaaction, or retu urn the transaaction for corrrection.
Ap
pprovals P
Process
Approvals with Correction V4 4.0 is the default behaviorr for moduless in SSHR 4.0 aand above. WWithin the appprovals
pro
ocess, the app plication usess rules to generate a list off approvers fo
or the SSHR transaction. The way in wh hich the list is
gen
nerated depeends on the approvals mecchanism you aare using (seee Approvals M Mechanisms in SSHR). The default
appprovals proceess also includdes dynamic aapprovals as standard. Thee dynamic ap pprovals functtionality workks in two
parrts. One part is the self–se
ervice user intterface which h enables the initiating manager to add additional ap pprovers
andd/or notificattion recipients. You can alsso display thee approvers and limit the n
number of approval levels..
Thee second partt is an applicaation which generates the default approvers. This is either Oraclee Approvals M Management
(AM
ME) or a custo omizable PL/SQL package.. The dynamicc approval wo orkflow proceess then send
ds notification
ns to
appprovers and/o or notification recipients b
based on the approver list.
Revview and Con
nfirm:
Mo ost functions display the Review and Confirm pagees. The Revieew page dispplays a corressponding reggion for each
Weeb page section that you have updated d as part of tthe precedingg transaction. Inside each region is a list of current
dattabase and proposed transaction data. If you have cconfigured ap pprovals, you can enter ap pprovals comm ments in this
pagge. If you haave enabled the
t Dynamic Approvals fu unction, the user can seee the defaultt approval ch
hain and add
furrther approveers and notifiers. When th he user choosses the Subm mit button from the Review w page, the transaction is
commmitted to the Human Resources systtem or sent ffor approval. The Confirm m page is then displayed. The Confirm
pagge contains a a confirmatioon message describing
d th
he status of the
t transactio on. The userr can print a copy of the
subbmitted transsaction for th heir records iff required. Yo
ou can set up p the approvaal properties ffor a process by changing
thee activity leveel attributes fo
or the Review
w workflow fu unctions.
Ma
apping on
n the appllication
Rule 3
Con
nditions 2 A
Action
Attrributes 1 Acttion Types
Other… Jobs Po
ositions Supervisors Approval Group
Theere are two types of attrib
butes, even seeeded or attrributes that w we build accorrding to our rrequirement. An attribute
is the
t smallest building unitt of the rule.. Example of an attribute is the “HR__ABSENCE_TY
YPE_ID_SS”; it’s
i a seeded
atttribute which describes ID
D of the absen nce type. Attrributes are th hen linked to conditions; ffor example, a conditions
cann be as follow
ws “HR_ABSEN NCE_TYPE_ID D_SS = 60”.
If a
a specific condition is tru
ue (HR_ABSEENCE_TYPE_ID D_SS = 60), an action co
ould be taken n afterwardss if both the
con ndition and the
t action are in the samme rule. Thee action depeends on the action type,, it’s even yo
ou want the
sup pervisor to appprove, a person with a specific job,
s a
a specific ng less of his//her assignment or other
perrson regardin
typpes. When creeating the rule, the rule tyype depends o on the action type.
Firsst, we are goiing to enable FYI notificatiions for the seeeded Oraclee Self Service transaction. B
By doing this,, we will be
ablle to send nottifications aftter approvals.
Patth: Approvalss Managemen
nt Administraator > Configu
uration Variab
bles
‐ n Resources”” from the transaction typee then click “G
Select ““Oracle Self Service Human Go”
‐ Change the Variable Name “Alloww For Your Infformation Nootifications” to “Yes”
‐ Apply”
Click “A
Yes
No
Request
R revised byy HR
Nootification with
Employee, checkks
A
Approve Y
Yes Appproval/Rejection
consolidated allowancce with
to A/P
A Employee
amount requeste ed
Rule details:
Two rules arre applied he
ere:
One includess the Approveer(s)
udes the Notified (FYI)
Second Inclu
Details of the Approver((S) rule
Details of th
he Notified (FYYI) rule
Fill in d
details and “A
Apply”
Th
he Review page with the
nd FYI list
approval an
Rule details:
One rule is applie
ed here:
includes the App
prover(s)
Details of the Approver(S) rule
Notification with
w
Business Travvel
Submitted to Direct Sup
pervisor Approve No
o Approval/Reje ection
Request
to Reques ster
Yes
No
Second
Supervisoor Notification iss sent
Approve
reviews th
he Yess to Services Employee to
request take actio on
Rule details:
We
e’re using the
e Seed rule heere because bbusiness
travel is considered
d as a leave
By d
default it requiires supervisorr approval
Fill in tthe required
d details and
d click “Nextt”
The Review p
page with thee
approval list
Notification with
w
Conference
e
Subm
mitted to Direct Sup
pervisor Approve No
o Approval/Reje ection
Request
to Requestter
Yes
No
Secondd Accommodation
A
Supervisoor Yes and/or ticket Notification iss sent
Approve
reviews th
he required to Services Emp ployee to
requestt take action
Acc. and/or Ticke
et required
Rule details:
Thrree rules are aapplied here:
Onee includes thee Approver(s))
Second Includes the Notified (FYI)
he Notified (FYI)
Thirrd Includes th
Detailss of the Approvver rule
Details of tthe Notified (FYI) 2 rule
In case A Accomm. is req quired
Created Atttribute‐see paage xxx
Details of the Notified (FYI) 2 rule
In case Tiicket is requireed
Created A
Attribute‐see page xxx
Fill in
n details and ““Apply”
Accommoda
A ation Required – No
Ticket Required ‐ No
The Review p
page with thee
approval aand FYI list
Fill in details an
nd “Apply”
Accommo
odation Req
quired – Yess
Ticket Req
quired ‐ No
TThe Review paage with the
approval annd FYI list
N
Notification Sent to A/P
HR Employee checks Employee
Accommo
odation
Submitted
S to HR Employee
E wance with
consolidated allow
Loa
an
amount reque ested
N
Notification sent to the
Payrroll Officer to take action
HR Employee (D Director)
Approve Yes Approve
e Y
Yes
receives the request Notification with
Approval/Rejectioon
to Requester
No
o N
No
Rule details:
Twwo rules are aapplied here:
:
Onne includes th
he Approver(s s)
Seecond Includees the Notified
d (FYI)
Detailss of the Approvver(S) rule
Details off the Notified ((FYI) rule
Fill in the requireed details and click
“Apply”
The Review page with thee
approval and FYI list
No
Notification is sent
s
to Medical Card Employee
E
to take actioon
Rule details:
Two rrules are appllied here:
One in
ncludes the A
Approver(s)
Secon
nd Includes th
he Notified (FYYI)
Detailss of the Approvver(S) rule
Details o
of the Notified (FYI) rule
Fill in details and “Next”
Spou
use/Child Additio
on
No
Twoo rules are applied here:
Rule details: One includes the Approver(s)
Seco
ond Includes tthe Notified ((FYI)
Detailss of the Approvver(S) rule
Details o
of the Notified (FYI) rule
Fill in d
details and “Apply”
Th
he Review pagge with the
approval and
d FYI list
HR
R Employee checks ks Notification with
w
Request fo or
Subm
mitted to HR Emplo
oyee reque
ested Certificate/Leetter Appro
ove/Reject Approval/Rejection
Certificate/Le
etter
and take action to Requeste er
Rule details:
One rule was creaated for this rrequest
Details of the Approver rule
Prepared By: Akram m Madkour P
Page 36 of 70
For Inquires: akram mmadkour@gmaail.com
oraclee@akrammadkour.com
ADDIC Oracle App proval Managgement Impleementation SSteps
Tessting the rule
es:
F
Fill in details and “Apply”
The Review pagee with the
approver
uest (Hajj Leave, Compassionate Leave, Maternity Leave, Idda
Leave Requ ah Leave, Studyy Leave)
Nottification with
Leave Request Su
ubmitted to Direct Supervisor
S Approve No Apprroval/Rejection
to
o Requester
Yes
No No
Yes
Rule details:
Dettails of Hajj Leaave Approval
Dettails of Compasssionate Leavee Approval
D
Details of Mate
ernity Leave Ap
pproval
Details off Iddah Leave A
Approval
Details o
of Study Leavee Approval
S
Selecting “Stu
udy Leave” as the
Abseence Type
N
Note: ABSEN CE_TYPE_ID is 67
The Review pagee with the
approvvals for the “SStudy Leave”
From the DEEFAULT SS Rulee
In requires Supervisor Appro
oval
This is added
d because of th
he
rule we’ve created in page 41
Nottification with
Leave Request
Submitted to Direct Supervisor Approve No Apprroval/Rejection
(Sick Leave )
to
o Requester
Yes
No
No Yes
Rule details:
9.3 Leave Request ((Annual Le
09 eave)
Leave Reequest (Annual Leave)
L
Nottification with
Leave Request
Submitted to Direct S
Supervisor Approve No Apprroval/Rejection
(Annua
al Leave)
to
o Requester
Yes
N
No
Second
S Supervisorr receives
Appro
ove Yes
request and take
e action
Rule details:
Notification with
No Approval/Re ejection
to Reques ster
Training Request
R Submitted to Direct Su
upervisor Approve Y
Yes
No
o
Notification is se
ent to Line
Yes Manage er
No Y
Yes
HR Employe ee Notification is se
ent to HR
Yes
receives requ
uest Officerr
Rule details:
Three rulles are applie ed here:
First is fo
or supervisor aapproval
Second iss approval AFFTER the supeervisor approvval
Third is aa notification AFTER all app provals
Fourth is a notificationn IF accommo odation is req
quired
Fifth is a notification IF ticket is req
quired
Fiirst is for supeervisor appro
oval
Seco
ond is approvval AFTER the supervisor approval
Third is a notification
n AFTER all ap
pprovals
Fourth
h is a notificattion IF accom
mmodation is required
Fifth iss a notification IF ticket is rrequired
Fill in detaails and “A
Apply”
Acco
ommodattion Required: No
o
Ticker R
Required: No
The Review page with h the
approoval and FYI lisst
In case: Acco
omm. and Ticcket are
no
ot Required
Fill in detaails and “A
Apply”
ommodattion Required: Yes
Acco
Ticker Required: Yes
Prepared By: Akram m Madkour P
Page 51 of 70
For Inquires: akram mmadkour@gmaail.com
oraclee@akrammadkour.com
ADDIC Oracle App
proval Managgement Impleementation SSteps
The Revieew page with the
approvval and FYI lisst
In case: Acco
omm. and Ticcket are
R
Required
Nottification with
Training
g Appraisal Submitted to Direct S
Supervisor Approve No Apprroval/Rejection
to
o Requester
Yes
N
No
Yes
Second Supervvisor
Appro
ove
Receives requ
uest
Rule details:
O
One rules is ap
pplied
Details of the Appro
over(S) rule
Fill in detaails and “Ap
pply”
TThe Review paage with the
appro
oval
Paassport Details
Notification with
w
HR
R Employee checkks
Passport Deta
ails Submitted to HR Employee Appro
ove/Reject Approval/Reje ection
o
original Hard Copyy
to Reques ster
Rule details:
On
ne rules is ap
pplied
Detaills of the Appro
over(S) rule
Fill in deetails and ““Apply”
Th
he Review pagge with the
approvval
Fo
or the Con
nference R
Request
De
etails of th
he function
n created iin the pack
kage
FUNCTION get
t acc req for CR (p transactio
on id IN NUMB
BER) RETUR
RN VARCHAR2
2 IS
acc CR varch
har2(10);
begin
begi
in
SELECT pac.SEGMENT
T14
INTO acc CR
FROM per analysi
is criteria
a pac,
hr api tran
nsaction va
alues hatv
v,
hr api tran
nsaction st
teps hats,
hr api tran
nsactions hat
h
WHERE hat.TRANSAC
CTION ID = p transac
ction id
AND hat.TRANSAC
CTION ID = hats.TRAN
NSACTION ID
D
AND hats.TRANSA
ACTION STEP
P ID = hat
tv.TRANSACT
TION STEP ID
AND hatv.NUMBER
R VALUE = pac.ANALYS
p SIS CRITERI
IA ID;
EXCE
EPTION
WHEN
N no data found then
n return '0';
end;
;
RETU
URN acc_CR;
end get acc req for CR;
ticket CR va
archar2(10);
begin
begi
in
SELECT pac.SEGMENT
T15
INTO ticket CR
FROM per analysi
is criteria
a pac,
hr api tran
nsaction va
alues hatv
v,
hr api tran
nsaction st
teps hats,
hr api tran
nsactions hat
h
WHERE hat.TRANSAC
CTION ID = p transac
ction id
AND hat.TRANSAC
CTION ID = hats.TRAN
NSACTION ID
D
AND hats.TRANSA
ACTION STEP
P ID = hat
tv.TRANSACT
TION STEP ID
AND hatv.NUMBER
R VALUE = pac.ANALYS
p SIS CRITERI
IA ID;
EXCE
EPTION
WHEN
N no data found then
n return '0';
end;
;
RETU
URN ticket CR;
end get ticket req for CR;
FUNCTION get
t ticket req for TR (p transac
ction id IN NUMBER)
N RE
ETURN VARCH
HAR2 IS
ticket tr va
archar2(10);
begin
begi
in
SELECT pac.SEGMENT
T8
INTO ticket tr
FROM per analysi
is criteria
a pac,
hr api tran
nsaction va
alues hatv
v,
hr api tran
nsaction st
teps hats,
hr api tran
nsactions hat
h
WHERE hat.TRANSAC
CTION ID = p transac
ction id
AND hat.TRANSAC
CTION ID = hats.TRAN
NSACTION ID
D
AND hats.TRANSA
ACTION STEP
P ID = hat
tv.TRANSACT
TION STEP ID
AND hatv.NUMBER
R VALUE = pac.ANALYS
p SIS CRITERI
IA ID;
EXCE
EPTION
WHEN
N no data found then
n return '0';
end;
;
RETU
URN ticket tr;
end get ticket req for TR;
FUNCTION get
t acc req for TR (p transactio
on id IN NUMB
BER) RETUR
RN VARCHAR2
2 IS
acc tr varch
har2(10);
begin
begi
in
SELECT pac.SEGMENT
T9
INTO acc tr
FROM per analysi
is criteria
a pac,
hr api tran
nsaction va
alues hatv
v,
hr api tran
nsaction st
teps hats,
hr api tran
nsactions hat
h
WHERE hat.TRANSAC
CTION ID = p transac
ction id
AND hat.TRANSAC
CTION ID = hats.TRAN
NSACTION ID
D
AND hats.TRANSA
ACTION STEP
P ID = hat
tv.TRANSACT
TION STEP ID
AND hatv.NUMBER
R VALUE = pac.ANALYS
p SIS CRITERI
IA ID;
EXCE
EPTION
WHEN
N no data found then
n return '0';
end;
;
RETU
URN acc_tr;
end get acc req for TR;
begi
in
SELECT PA
AAF.SUPERV
VISOR ID
INTO trans super
r id
FROM PER ALL ASS
SIGNMENTS F PAAF,
HR
R API TRAN
NSACTIONS HAT
H
WHERE HA
AT.TRANSAC
CTION ID = p transac
ction id
AND SY
YSDATE BET
TWEEN PAAF.EFFECTIVE
E START DAT
TE AND
PAA
AF.EFFECTI
IVE END DAT
TE
AND PA
AAF.PERSON
N ID = HAT.SELECTED PERSON ID;
EXCEPTION
WHEN no data found then retur
rn '0';
end;
;
RETU
URN trans super id;
end get trans supervisor;
Crreated App
proval Grroups for A
ADIC
Wee have used the approval ggroups for casses that required approval or notification to be sentt to a particular
em
mployee.
Below are the approval groups created to
o meet ADIC’ss current busiiness requirem
ments.
Moost of the app
proval groupss that we’ve ccreated are “SStatic” which means it includes an emp ployee or a gro
oup of
em
mployees that we specify. W We have also created on ““Dynamic” ap pproval groupp with an SQL statement thhat gets the
direct superviso
or of a specificc transaction. Below are th
he details of tthis dynamic approval group.
Error
Unable to
o build the Sup
pervisor Hiera
archy, no persson record exxists with the person id 326
6 as of sysdate.
ystem Adminisstrator to corrrect the data issue.
Please contact your Sy
Cau
use
Thee employee aapplying for thhe leave doess not have a ssupervisor or one of the peerson in the ssupervisor hieerarchy is
terrminated. Beccause of this, the approvall process is afffected and hence the erro
or.
Sollution
1. The Sup pervisor hieraarchy must haave the persons who are employees and shouldn't have resigned.
2. If the Su
upervisor resiigns, then thee position sho
ould be occup
pied by a diffeerent person or the emplo
oyees should
be reasssigned to a diifferent Supervisor.
Acttion:
1. Query the employee
e that is linked
d to the terminated supervvisor using th
he “Enter and Maintain” fo
orm
2. Go the “Assignment”” then “Superrvisor” tab
1‐ Oracle®® Approval Maanagement
Implementation Guid de
Releasee 12
Part No
o. B31622‐02
Decemb ber 2006
2‐ Oracle®® Approvals M
Management
Implementation Guid de
Releasee 11i
Part No
o. B25324‐01
May 2006
3‐ Approvaals Managem ment Responsibilities and SSetups in AMEE.B
An Oraccle White Pap
per
May 2007
4‐ Implementing Oracle
e® Self‐Servicce HR V4.2 on
n R12
Author:: Akram Madkkour
5‐ Creatingg a function inside a packaage
Author:: Akram Madkkour