You are on page 1of 39

Responsibility: System Administrator

Navigation: Security User Define


1. Click Help Diagnostics Custom Code Personalize.
2. Disable the Form Personalization sequence from 90 to 91 by
unchecking the Enabled check box as shown below.

3. Create a new record by clicking on


icon to create AT User
Provisioning-Responsibility Logged with the following details.
Seq

Description
AT User Provisioning-Responsibility
92 Logged

Level
Functi
on

Enabled
Tick

3.1 Click on the condition tab and enter the details as follows
Trigger Event
WHEN-NEW-FORMINSTANCE

Trigger
Object

Condition

Processin
g Mode
Both

3.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object
Type
Global
Variable

Target Object
XXRESPLOG

Property
Name

Value

VALUE

=select
TO_CHAR(xxmtz_resp_check_fn
c(fnd_profile.value('RESP_NAME
')))FROM DUAL

4. Create a new record by clicking on


icon to create AT User
Provisioning -User Queried with the following details.
Seq

Description
AT User Provisioning -User

92.1 Queried

Level
Functi
on

Enabled
Tick

4.1 Click on the condition tab and enter the details as follows
Trigger Event

Trigger
Object

WHEN-NEW-ITEMINSTANCE

USER.USER_
NAME

Condition

Processin
g Mode
Both

4.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object Type

Target
Object

Proper
ty
Name

Value

Global
Variable

XXUSERQ
UERY

VALUE

=(SELECT
to_char(xxmtz_user_check_fnc(:USER.US
ER_NAME)) FROM DUAL)

5. Create a new record by clicking on


icon to create LOV Restriction
for AT User with the following details.
Seq
92.2

Description
LOV Restriction for AT User

Level
Functi
on

Enabled
Tick

5.1 Click on the condition tab and enter the details as follows
Trigger Event
WHEN-NEW-ITEMINSTANCE

Trigger
Object

Condition

(:GLOBAL.XXRESPLOG
USER.EMPLO
YEE_NAME =1)

Processin
g Mode
Not in
Enter
Query
Mode.

5.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Builtin Type
Create
Record
Group from
Query

Argument
SELECT p.full_name,
p.current_employee_flag,
p.business_group_name,
p.employee_number,
p.npw_number,
p.email_address,
p.person_id
FROM HR_FNDSCAUS_PERSON_LOV_V p
WHERE full_name IN
(SELECT papf.full_name
FROM per_all_assignments_f
paaf,

Group Name
XXATPERSON

per_all_people_f papf,
pay_people_groups ppg,
fnd_user fu
WHERE
papf.person_id =
paaf.person_id
AND ppg.people_group_id =
paaf.people_group_id
AND fu.employee_id =
papf.person_id
AND ppg.segment3 =
'Advanced Technologies'
AND paaf.organization_id IN
(SELECT
organization_id
FROM
hr_all_organization_units
WHERE name LIKE
'ADV%')
AND SYSDATE BETWEEN
papf.effective_start_date
AND
papf.effective_end_date
AND SYSDATE BETWEEN
paaf.effective_start_date
AND
paaf.effective_end_date)
UNION
SELECT p.full_name,
p.current_employee_flag,
p.business_group_name,
p.employee_number,
p.npw_number,
p.email_address,
p.person_id
FROM HR_FNDSCAUS_PERSON_LOV_V p
WHERE full_name IN
(SELECT papf.full_name
FROM per_all_assignments_f
paaf,
per_all_people_f papf,
pay_people_groups ppg,
fnd_user fu
WHERE
papf.person_id =
paaf.person_id
AND ppg.people_group_id =
paaf.people_group_id

AND fu.employee_id =
papf.person_id
AND ppg.segment3 =
'Advanced Technologies'
AND paaf.organization_id IN
(SELECT
organization_id
FROM
hr_all_organization_units
WHERE name LIKE 'AT
%')
AND SYSDATE BETWEEN
papf.effective_start_date
AND
papf.effective_end_date)

Enter 11 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property
Name

LOV

EMP_NAME_LOV

GROUP_N
AME

Value
XXATPERSON

Enter 12 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER

INSERT_ALLOWE
D

Value
TRUE

Enter 13 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

BLK_PJC

INSERT_ALLOWE
D

Value
TRUE

Enter 14 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

ATTR

INSERT_ALLOWE
D

Value
TRUE

Enter 15 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP

INSERT_ALLOWE
D

Value
TRUE

6. Create a new record by clicking on


icon to create Responsibility
LOV Restriction for AT User with the following details.
Seq

Description
Responsibility LOV Restriction

92.3 for AT User

Level
Functi
on

Enabled
Tick

6.1Click on the condition tab and enter the details as follows


Trigger Event

Trigger
Object

Condition

WHEN-NEW-ITEMINSTANCE

USER_RESP.
RESPONSIBI
LITY_NAME

(:GLOBAL.XXRESPLOG
=1)

Processin
g Mode
Not in
EnterQuery
Mode.

6.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Builtin Type
Create
Record
Group from
Query

Argument
SELECT r.responsibility_name,
a.application_name,
r.responsibility_id,
r.application_id
FROM fnd_application_vl a,
fnd_responsibility_vl r
WHERE r.application_id = a.application_id
AND ( r.version = '4'
OR r.version = 'W'
OR r.version = 'M'
OR r.version = 'H')
AND (r.end_date IS NULL

Group Name
XXATRESP

OR (TRUNC (SYSDATE) BETWEEN


r.start_date AND r.end_date))
AND r.responsibility_name in (select
meaning from fnd_lookup_values where
lookup_type =
'XXMTZ_AT_USER_PROVISIONING' and tag =
'USER' and enabled_flag='Y')

Enter 11 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

LOV

RESPONSIBILITY

GROUP_NAME

Value
XXATRESP

Enter 12 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP

INSERT_ALLOWE
D

Value
TRUE

Enter 13 in the Seq as per screen shot below and the other Values as
follows
Object
Type
Block

Target Object

Property Name

BLK_PJC

INSERT_ALLOWE
D

Value
TRUE

Enter 14 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER

INSERT_ALLOWE
D

Value
TRUE

Enter 15 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

ATTR

INSERT_ALLOWE
D

Value
TRUE

7. Create a new record by clicking on


Validation with the following details.
Seq
92.4

Description
AT User Validation

icon to create AT User


Level
Functi
on

Enabled
Tick

7.1 Click on the condition tab and enter the details as follows
Trigger
Object

Condition

Processin
g Mode

USER.USER_
NAME

(:GLOBAL.XXRESPLOG
=1) AND
(:GLOBAL.XXUSERQUE
RY=1)

Not in
EnterQuery
Mode.

Trigger Event
WHEN-NEW-ITEMINSTANCE

7.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

BLK_PJC

INSERT_ALLOWED

Value
TRUE

Enter 11 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

BLK_PJC

UPDATE_ALLOWED

Value
TRUE

Enter 12 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER

INSERT_ALLOWED

Value
TRUE

Enter 13 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP

INSERT_ALLOWED

Value
TRUE

Enter 14 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP_INDI
R

INSERT_ALLOWED

Value
FALSE

Enter 15 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Value

Block

ATTR

INSERT_ALLOWED

TRUE.

Enter 16 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER

UPDATE_ALLOWED

Value
TRUE.

Enter 17 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP

UPDATE_ALLOWED

Value
TRUE.

Enter 18 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP_INDI
R

UPDATE_ALLOWED

Value
FALSE.

Enter 19 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

ATTR

UPDATE_ALLOWED

Value
TRUE.

8. Create a new record by clicking on


Validation with the following details.
Seq
92.5

Description
Non AT User Validation

icon to create Non AT User


Level
Functi
on

Enabled
Tick

8.1 Click on the condition tab and enter the details as follows
Trigger Event
WHEN-NEW-ITEMINSTANCE

Trigger
Object

Condition

Processin
g Mode

USER.USER_
NAME

(:GLOBAL.XXRESPLOG
=1) AND
(:GLOBAL.XXUSERQUE
RY=0)

Not in
EnterQuery
Mode.

8.2Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER

UPDATE_ALLOWED

Value
FALSE

Enter 11 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Value

Block

USER_RESP

UPDATE_ALLOWED

FALSE

Enter 12 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP_INDI
R

UPDATE_ALLOWED

Value
FALSE

Enter 13 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

ATTR

UPDATE_ALLOWED

Value
FALSE

Enter 14 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP

INSERT_ALLOWED

Value
FALSE

Enter 15 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Block

USER_RESP_INDI
R

INSERT_ALLOWED

Value
FALSE

Enter 16 in the Seq as per screen shot below and the other Values as
follows

Object
Type

Target Object

Property Name

Block

ATTR

INSERT_ALLOWED

Value
FALSE

9. Create a new record by clicking on


icon to create AT User
Responsibility - Updation of Start Date for Non AT Responsibility with the
following details.
Seq

Description
AT User Responsibility - Updation of Start
92.6 Date for Non AT Responsibility

Level
Functi
on

Enabled
Tick

9.1 Click on the condition tab and enter the details as follows
Trigger Event

WHEN-NEW-ITEMINSTANCE

Trigger
Object

Condition

(:GLOBAL.XXRESPLOG
=1) AND
(:GLOBAL.XXUSERQUE
USER_RESP. RY=1) AND $
START_DATE {item.user_resp.respo
nsibility_name.value}
NOT LIKE 'AT%'

Processin
g Mode

Not in
EnterQuery
Mode.

9.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Item

USER_RESP.STAR
T_DATE

UPDATE_ALLOWED

Value
FALSE

10.
Create a new record by clicking on
icon to create AT User
Responsibility - Updation of End Date for Non AT Responsibility with
the following details.
Seq

Description
AT User Responsibility - Updation of End
92.7 Date for Non AT Responsibility

Level
Functi
on

10.1 Click on the condition tab and enter the details as follows

Enabled
Tick

Trigger
Object

Condition

Processin
g Mode

USER_RESP.
END_DATE

(:GLOBAL.XXRESPLOG
=1) AND
(:GLOBAL.XXUSERQUE
RY=1) AND $
{item.user_resp.respo
nsibility_name.value}
NOT LIKE 'AT%'

Not in
EnterQuery
Mode.

Trigger Event

WHEN-NEW-ITEMINSTANCE

10.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Item

USER_RESP.END_
DATE

UPDATE_ALLOWED

Value
FALSE

11.
Create a new record by clicking on
icon to create AT User
Responsibility-Updation of Start Date for AT Responsibility with the
following details.
Seq

Description
AT User ResponsibiliIty-Updation of Start
92.8 Date for AT Responsibility

Level
Functi
on

Enabled
Tick

11.1 Click on the condition tab and enter the details as follows
Trigger
Object

Trigger Event

WHEN-NEW-ITEMINSTANCE

Condition

(:GLOBAL.XXRESPLOG
=1)AND
(:GLOBAL.XXUSERQUE
USER_RESP. RY=1) AND $
START_DATE {item.user_resp.respo
nsibility_name.value}
LIKE 'AT%'

11.2 Click on the Actions Tab

Processin
g Mode

Not in
EnterQuery
Mode.

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Item

USER_RESP.STAR
T_DATE

UPDATE_ALLOWED

Value
TRUE

12. Create a new record by clicking on


icon to create AT User
Responsibility-Updation of End Date for AT Responsibility with the
following details.
Seq

Description

Level

Enabled

AT User Responsibility-Updation of End


92.9 Date for AT Responsibility

Functi
on

Tick

12.1 Click on the condition tab and enter the details as follows
Trigger Event

WHEN-NEW-ITEMINSTANCE

Trigger
Object

Condition

Processin
g Mode

USER_RESP.
END_DATE

(:GLOBAL.XXRESPLOG
=1) AND
(:GLOBAL.XXUSERQUE
RY=1) AND $
{item.user_resp.respo
nsibility_name.value}
LIKE 'AT%'

Not in
EnterQuery
Mode.

12.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows
Object
Type

Target Object

Property Name

Item

USER_RESP.END_
DATE

UPDATE_ALLOWED

Value
TRUE

13.
Create a new record by clicking on
icon to create Person
name cannot be null for AT Users with the following details.

Seq

Description

93 Person name cannot be null for AT Users

Level
Functi
on

Enabled
Tick

13.1 Click on the condition tab and enter the details as follows
Trigger Event

Trigger
Object

Condition

Processin
g Mode

WHEN-VALIDATERECORD

USER

(:user.employee_name
is null) AND
(:GLOBAL.XXRESPLOG
=1)

Not in
EnterQuery
Mode.

13.2 Click on the Actions Tab

Enter 10 in the Seq as per screen shot below and the other Values as
follows

Message Type
Error

Message Text
AT User cannot create user with employee
as null.