Вы находитесь на странице: 1из 3

Production to Test (P2T) post go-live - FAQ

FAQ - Production to Test post go-live

1) Production to Test in fusion SaaS

Yes, production to test is possible in Fusion by logging SR with Oracle.

2) Turn off email notification for selective group

Currently, turning off selective email notifications are not possible. Alternate approach could be to scramble email
addresses, but scrambling HR email addresses does not reflect in OIM. The only good way currently is to Turn-off
email notifications completely for HR and OIM by logging SR.

3) Scramble Personally identifiable information (PII) data post P2T

Currently, there is no delivered way to scramble PII data like Date of Birth, National Identifier and Salary. However,
this can be done VPD technique, but this may results in data not visible in User interface.
Alternative approach could be to write custom SQL script to scramble data based on custom logic and log SR with
Oracle to execute the script. A sample script could be -

------------------------------------------------------------------------
set serveroutput on;
Declare
pragma autonomous_transaction;
l_random_value number;

cursor get_all_person is
select distinct person_id, date_of_birth
from PER_PERSONS;

cursor get_all_assignment is
select distinct assignment_id
from CMP_SALARY;

l_date_of_birth Date;
l_national_identifier_number Varchar2(20);
l_salary_amount Number(15,2);

BEGIN

-- Scrable Date of Birth

for per in get_all_person loop

DBMS_OUTPUT.PUT_LINE('Update Person :'||per.person_id);


l_date_of_birth := per.DATE_OF_BIRTH+TRUNC(DBMS_RANDOM.value(100,999));
DBMS_OUTPUT.PUT_LINE('Update DOB..');
UPDATE PER_PERSONS ppf
SET ppf.DATE_OF_BIRTH = l_date_of_birth
Where person_id = per.person_id;

-- Scrable NID
DBMS_OUTPUT.PUT_LINE('Update SSN..');

UPDATE PER_NATIONAL_IDENTIFIERS nid


SET nid.NATIONAL_IDENTIFIER_NUMBER = TRUNC(DBMS_RANDOM.value(100,999))||'-'||
TRUNC(DBMS_RANDOM.value(10,99))||'-'||
TRUNC(DBMS_RANDOM.value(1000,9999))
WHERE PERSON_ID = per.person_id;

DBMS_OUTPUT.PUT_LINE('Update Email..');

UPDATE PER_EMAIL_ADDRESSES emal


SET emal.EMAIL_ADDRESS = emal.EMAIL_ADDRESS||'T'
WHERE PERSON_ID = per.person_id;

end loop;

-- Scramble Salary
for asg in get_all_assignment loop

update CMP_SALARY sal


set sal.SALARY_AMOUNT = (sal.SALARY_AMOUNT - round((sal.SALARY_AMOUNT * dbms_random.value(0,
1)),2)- 1)
WHERE sal.assignment_id = asg.assignment_id;
end loop;

Commit;

EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
rollback;
END;
/

4) Additional task requires post P2T

log SR to register following diagnostic scripts -


Script to delete data - HCM Delete
Script to generate GUID - HCM KeyMap Generation (i.e. hcm_keymap_generation.xml)

Вам также может понравиться