CREATE OR REPLACE PACKAGE BODY APPS.XX_EIT_PERSON_USERHOOKS
AS
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE Register_Userhooks
AS
BEGIN
XX_MAINTAIN_USERHOOKS.REGISTER_USER_HOOK ('HR_PERSON_EXTRA_INFO_BK1',
'CREATE_PERSON_EXTRA_INFO_B',
4051,
'XX_EIT_PERSON_USERHOOKS',
'Before_Create_Person_EIT');
XX_MAINTAIN_USERHOOKS.REGISTER_USER_HOOK ('HR_PERSON_EXTRA_INFO_BK2',
'UPDATE_PERSON_EXTRA_INFO_B',
4052,
'XX_EIT_PERSON_USERHOOKS',
'Before_Update_Person_EIT');
XX_MAINTAIN_USERHOOKS.REGISTER_USER_HOOK ('HR_PERSON_EXTRA_INFO_BK3',
'DELETE_PERSON_EXTRA_INFO_B',
4053,
'XX_EIT_PERSON_USERHOOKS',
'Before_Delete_Person_EIT');
XX_MAINTAIN_USERHOOKS.REGISTER_USER_HOOK ('HR_PERSON_EXTRA_INFO_BK1',
'CREATE_PERSON_EXTRA_INFO_A',
4054,
'XX_EIT_PERSON_USERHOOKS',
'After_Create_Person_EIT');
XX_MAINTAIN_USERHOOKS.REGISTER_USER_HOOK ('HR_PERSON_EXTRA_INFO_BK2',
'UPDATE_PERSON_EXTRA_INFO_A',
4055,
'XX_EIT_PERSON_USERHOOKS',
'After_Update_Person_EIT');
XX_MAINTAIN_USERHOOKS.REGISTER_USER_HOOK ('HR_PERSON_EXTRA_INFO_BK3',
'DELETE_PERSON_EXTRA_INFO_A',
4056,
'XX_EIT_PERSON_USERHOOKS',
'After_Delete_Person_EIT');
XX_MAINTAIN_USERHOOKS.HOOK_PREPROCESSOR ('HR_PERSON_EXTRA_INFO_BK1');
XX_MAINTAIN_USERHOOKS.HOOK_PREPROCESSOR ('HR_PERSON_EXTRA_INFO_BK2');
XX_MAINTAIN_USERHOOKS.HOOK_PREPROCESSOR ('HR_PERSON_EXTRA_INFO_BK3');
/*
Calling:
execute XX_EIT_PERSON_USERHOOKS.Register_Userhooks;
---------------------------------------
Validate result
SELECT * FROM HR_API_HOOK_CALLS
WHERE CALL_PACKAGE = 'XX_EIT_PERSON_USERHOOKS';
*/
END Register_Userhooks;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE Delete_Userhooks
AS
BEGIN
/* TODO implementation required */
/*query numbers by this code
SELECT API_HOOK_CALL_ID , OBJECT_VERSION_NUMBER
FROM HR_API_HOOK_CALLS
WHERE API_HOOK_ID = 2758 --ID
AND CALL_PACKAGE = 'XX_EIT_PERSON_USERHOOKS'
AND CALL_PROCEDURE = '????'
*/
/*
XX_MAINTAIN_USERHOOKS.DELETE_USER_HOOK(1220,1);
XX_MAINTAIN_USERHOOKS.DELETE_USER_HOOK(1221,1);
XX_MAINTAIN_USERHOOKS.DELETE_USER_HOOK(1222,1);
XX_MAINTAIN_USERHOOKS.DELETE_USER_HOOK(1223,1);
XX_MAINTAIN_USERHOOKS.DELETE_USER_HOOK(1224,1);
XX_MAINTAIN_USERHOOKS.DELETE_USER_HOOK(1225,1);
*/
NULL;
END Delete_Userhooks;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE Before_Create_Person_EIT (
p_Person_Id IN NUMBER,
p_Information_Type IN VARCHAR2,
p_Pei_Attribute_Category IN VARCHAR2,
p_Pei_Attribute1 IN VARCHAR2,
p_Pei_Attribute2 IN VARCHAR2,
p_Pei_Attribute3 IN VARCHAR2,
p_Pei_Attribute4 IN VARCHAR2,
p_Pei_Attribute5 IN VARCHAR2,
p_Pei_Attribute6 IN VARCHAR2,
p_Pei_Attribute7 IN VARCHAR2,
p_Pei_Attribute8 IN VARCHAR2,
p_Pei_Attribute9 IN VARCHAR2,
p_Pei_Attribute10 IN VARCHAR2,
p_Pei_Attribute11 IN VARCHAR2,
p_Pei_Attribute12 IN VARCHAR2,
p_Pei_Attribute13 IN VARCHAR2,
p_Pei_Attribute14 IN VARCHAR2,
p_Pei_Attribute15 IN VARCHAR2,
p_Pei_Attribute16 IN VARCHAR2,
p_Pei_Attribute17 IN VARCHAR2,
p_Pei_Attribute18 IN VARCHAR2,
p_Pei_Attribute19 IN VARCHAR2,
p_Pei_Attribute20 IN VARCHAR2,
p_Pei_Information_Category IN VARCHAR2,
p_Pei_Information1 IN VARCHAR2,
p_Pei_Information2 IN VARCHAR2,
p_Pei_Information3 IN VARCHAR2,
p_Pei_Information4 IN VARCHAR2,
p_Pei_Information5 IN VARCHAR2,
p_Pei_Information6 IN VARCHAR2,
p_Pei_Information7 IN VARCHAR2,
p_Pei_Information8 IN VARCHAR2,
p_Pei_Information9 IN VARCHAR2,
p_Pei_Information10 IN VARCHAR2,
p_Pei_Information11 IN VARCHAR2,
p_Pei_Information12 IN VARCHAR2,
p_Pei_Information13 IN VARCHAR2,
p_Pei_Information14 IN VARCHAR2,
p_Pei_Information15 IN VARCHAR2,
p_Pei_Information16 IN VARCHAR2,
p_Pei_Information17 IN VARCHAR2,
p_Pei_Information18 IN VARCHAR2,
p_Pei_Information19 IN VARCHAR2,
p_Pei_Information20 IN VARCHAR2,
p_Pei_Information21 IN VARCHAR2,
p_Pei_Information22 IN VARCHAR2,
p_Pei_Information23 IN VARCHAR2,
p_Pei_Information24 IN VARCHAR2,
p_Pei_Information25 IN VARCHAR2,
p_Pei_Information26 IN VARCHAR2,
p_Pei_Information27 IN VARCHAR2,
p_Pei_Information28 IN VARCHAR2,
p_Pei_Information29 IN VARCHAR2,
p_Pei_Information30 IN VARCHAR2)
AS
v_INFO_Rec PER_PEOPLE_EXTRA_INFO%ROWTYPE;
BEGIN
v_INFO_Rec.Person_Id := p_Person_Id;
v_INFO_Rec.Information_Type := p_Information_Type;
v_INFO_Rec.Pei_Attribute_Category := p_Pei_Attribute_Category;
v_INFO_Rec.Pei_Attribute1 := p_Pei_Attribute1;
v_INFO_Rec.Pei_Attribute2 := p_Pei_Attribute2;
v_INFO_Rec.Pei_Attribute3 := p_Pei_Attribute3;
v_INFO_Rec.Pei_Attribute4 := p_Pei_Attribute4;
v_INFO_Rec.Pei_Attribute5 := p_Pei_Attribute5;
v_INFO_Rec.Pei_Attribute6 := p_Pei_Attribute6;
v_INFO_Rec.Pei_Attribute7 := p_Pei_Attribute7;
v_INFO_Rec.Pei_Attribute8 := p_Pei_Attribute8;
v_INFO_Rec.Pei_Attribute9 := p_Pei_Attribute9;
v_INFO_Rec.Pei_Attribute10 := p_Pei_Attribute10;
v_INFO_Rec.Pei_Attribute11 := p_Pei_Attribute11;
v_INFO_Rec.Pei_Attribute12 := p_Pei_Attribute12;
v_INFO_Rec.Pei_Attribute13 := p_Pei_Attribute13;
v_INFO_Rec.Pei_Attribute14 := p_Pei_Attribute14;
v_INFO_Rec.Pei_Attribute15 := p_Pei_Attribute15;
v_INFO_Rec.Pei_Attribute16 := p_Pei_Attribute16;
v_INFO_Rec.Pei_Attribute17 := p_Pei_Attribute17;
v_INFO_Rec.Pei_Attribute18 := p_Pei_Attribute18;
v_INFO_Rec.Pei_Attribute19 := p_Pei_Attribute19;
v_INFO_Rec.Pei_Attribute20 := p_Pei_Attribute20;
v_INFO_Rec.Pei_Information_Category := p_Pei_Information_Category;
v_INFO_Rec.Pei_Information1 := p_Pei_Information1;
v_INFO_Rec.Pei_Information2 := p_Pei_Information2;
v_INFO_Rec.Pei_Information3 := p_Pei_Information3;
v_INFO_Rec.Pei_Information4 := p_Pei_Information4;
v_INFO_Rec.Pei_Information5 := p_Pei_Information5;
v_INFO_Rec.Pei_Information6 := p_Pei_Information6;
v_INFO_Rec.Pei_Information7 := p_Pei_Information7;
v_INFO_Rec.Pei_Information8 := p_Pei_Information8;
v_INFO_Rec.Pei_Information9 := p_Pei_Information9;
v_INFO_Rec.Pei_Information10 := p_Pei_Information10;
v_INFO_Rec.Pei_Information11 := p_Pei_Information11;
v_INFO_Rec.Pei_Information12 := p_Pei_Information12;
v_INFO_Rec.Pei_Information13 := p_Pei_Information13;
v_INFO_Rec.Pei_Information14 := p_Pei_Information14;
v_INFO_Rec.Pei_Information15 := p_Pei_Information15;
v_INFO_Rec.Pei_Information16 := p_Pei_Information16;
v_INFO_Rec.Pei_Information17 := p_Pei_Information17;
v_INFO_Rec.Pei_Information18 := p_Pei_Information18;
v_INFO_Rec.Pei_Information19 := p_Pei_Information19;
v_INFO_Rec.Pei_Information20 := p_Pei_Information20;
v_INFO_Rec.Pei_Information21 := p_Pei_Information21;
v_INFO_Rec.Pei_Information22 := p_Pei_Information22;
v_INFO_Rec.Pei_Information23 := p_Pei_Information23;
v_INFO_Rec.Pei_Information24 := p_Pei_Information24;
v_INFO_Rec.Pei_Information25 := p_Pei_Information25;
v_INFO_Rec.Pei_Information26 := p_Pei_Information26;
v_INFO_Rec.Pei_Information27 := p_Pei_Information27;
v_INFO_Rec.Pei_Information28 := p_Pei_Information28;
v_INFO_Rec.Pei_Information29 := p_Pei_Information29;
v_INFO_Rec.Pei_Information30 := p_Pei_Information30;
CALL_EITS (v_INFO_Rec, 'BEFORE', 'CREATE');
RETURN;
END Before_Create_Person_EIT;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE Before_Update_Person_EIT (
p_Person_Extra_Info_Id IN NUMBER,
p_Pei_Attribute_Category IN VARCHAR2,
p_Pei_Attribute1 IN VARCHAR2,
p_Pei_Attribute2 IN VARCHAR2,
p_Pei_Attribute3 IN VARCHAR2,
p_Pei_Attribute4 IN VARCHAR2,
p_Pei_Attribute5 IN VARCHAR2,
p_Pei_Attribute6 IN VARCHAR2,
p_Pei_Attribute7 IN VARCHAR2,
p_Pei_Attribute8 IN VARCHAR2,
p_Pei_Attribute9 IN VARCHAR2,
p_Pei_Attribute10 IN VARCHAR2,
p_Pei_Attribute11 IN VARCHAR2,
p_Pei_Attribute12 IN VARCHAR2,
p_Pei_Attribute13 IN VARCHAR2,
p_Pei_Attribute14 IN VARCHAR2,
p_Pei_Attribute15 IN VARCHAR2,
p_Pei_Attribute16 IN VARCHAR2,
p_Pei_Attribute17 IN VARCHAR2,
p_Pei_Attribute18 IN VARCHAR2,
p_Pei_Attribute19 IN VARCHAR2,
p_Pei_Attribute20 IN VARCHAR2,
p_Pei_Information_Category IN VARCHAR2,
p_Pei_Information1 IN VARCHAR2,
p_Pei_Information2 IN VARCHAR2,
p_Pei_Information3 IN VARCHAR2,
p_Pei_Information4 IN VARCHAR2,
p_Pei_Information5 IN VARCHAR2,
p_Pei_Information6 IN VARCHAR2,
p_Pei_Information7 IN VARCHAR2,
p_Pei_Information8 IN VARCHAR2,
p_Pei_Information9 IN VARCHAR2,
p_Pei_Information10 IN VARCHAR2,
p_Pei_Information11 IN VARCHAR2,
p_Pei_Information12 IN VARCHAR2,
p_Pei_Information13 IN VARCHAR2,
p_Pei_Information14 IN VARCHAR2,
p_Pei_Information15 IN VARCHAR2,
p_Pei_Information16 IN VARCHAR2,
p_Pei_Information17 IN VARCHAR2,
p_Pei_Information18 IN VARCHAR2,
p_Pei_Information19 IN VARCHAR2,
p_Pei_Information20 IN VARCHAR2,
p_Pei_Information21 IN VARCHAR2,
p_Pei_Information22 IN VARCHAR2,
p_Pei_Information23 IN VARCHAR2,
p_Pei_Information24 IN VARCHAR2,
p_Pei_Information25 IN VARCHAR2,
p_Pei_Information26 IN VARCHAR2,
p_Pei_Information27 IN VARCHAR2,
p_Pei_Information28 IN VARCHAR2,
p_Pei_Information29 IN VARCHAR2,
p_Pei_Information30 IN VARCHAR2,
p_Object_Version_Number IN NUMBER)
AS
v_person_id PER_PEOPLE_EXTRA_INFO.PERSON_ID%TYPE;
v_information_type PER_PEOPLE_EXTRA_INFO.Information_Type%TYPE;
v_INFO_Rec PER_PEOPLE_EXTRA_INFO%ROWTYPE;
BEGIN
SELECT ppei.person_id, ppei.information_type
INTO v_person_id, v_information_type
FROM PER_PEOPLE_EXTRA_INFO ppei
WHERE ppei.person_extra_info_id = P_PERSON_EXTRA_INFO_ID;
v_INFO_Rec.Person_Extra_Info_Id := p_Person_Extra_Info_Id;
v_INFO_Rec.Person_Id := v_Person_Id;
v_INFO_Rec.Information_Type := v_Information_Type;
v_INFO_Rec.Pei_Attribute_Category := p_Pei_Attribute_Category;
v_INFO_Rec.Pei_Attribute1 := p_Pei_Attribute1;
v_INFO_Rec.Pei_Attribute2 := p_Pei_Attribute2;
v_INFO_Rec.Pei_Attribute3 := p_Pei_Attribute3;
v_INFO_Rec.Pei_Attribute4 := p_Pei_Attribute4;
v_INFO_Rec.Pei_Attribute5 := p_Pei_Attribute5;
v_INFO_Rec.Pei_Attribute6 := p_Pei_Attribute6;
v_INFO_Rec.Pei_Attribute7 := p_Pei_Attribute7;
v_INFO_Rec.Pei_Attribute8 := p_Pei_Attribute8;
v_INFO_Rec.Pei_Attribute9 := p_Pei_Attribute9;
v_INFO_Rec.Pei_Attribute10 := p_Pei_Attribute10;
v_INFO_Rec.Pei_Attribute11 := p_Pei_Attribute11;
v_INFO_Rec.Pei_Attribute12 := p_Pei_Attribute12;
v_INFO_Rec.Pei_Attribute13 := p_Pei_Attribute13;
v_INFO_Rec.Pei_Attribute14 := p_Pei_Attribute14;
v_INFO_Rec.Pei_Attribute15 := p_Pei_Attribute15;
v_INFO_Rec.Pei_Attribute16 := p_Pei_Attribute16;
v_INFO_Rec.Pei_Attribute17 := p_Pei_Attribute17;
v_INFO_Rec.Pei_Attribute18 := p_Pei_Attribute18;
v_INFO_Rec.Pei_Attribute19 := p_Pei_Attribute19;
v_INFO_Rec.Pei_Attribute20 := p_Pei_Attribute20;
v_INFO_Rec.Pei_Information_Category := p_Pei_Information_Category;
v_INFO_Rec.Pei_Information1 := p_Pei_Information1;
v_INFO_Rec.Pei_Information2 := p_Pei_Information2;
v_INFO_Rec.Pei_Information3 := p_Pei_Information3;
v_INFO_Rec.Pei_Information4 := p_Pei_Information4;
v_INFO_Rec.Pei_Information5 := p_Pei_Information5;
v_INFO_Rec.Pei_Information6 := p_Pei_Information6;
v_INFO_Rec.Pei_Information7 := p_Pei_Information7;
v_INFO_Rec.Pei_Information8 := p_Pei_Information8;
v_INFO_Rec.Pei_Information9 := p_Pei_Information9;
v_INFO_Rec.Pei_Information10 := p_Pei_Information10;
v_INFO_Rec.Pei_Information11 := p_Pei_Information11;
v_INFO_Rec.Pei_Information12 := p_Pei_Information12;
v_INFO_Rec.Pei_Information13 := p_Pei_Information13;
v_INFO_Rec.Pei_Information14 := p_Pei_Information14;
v_INFO_Rec.Pei_Information15 := p_Pei_Information15;
v_INFO_Rec.Pei_Information16 := p_Pei_Information16;
v_INFO_Rec.Pei_Information17 := p_Pei_Information17;
v_INFO_Rec.Pei_Information18 := p_Pei_Information18;
v_INFO_Rec.Pei_Information19 := p_Pei_Information19;
v_INFO_Rec.Pei_Information20 := p_Pei_Information20;
v_INFO_Rec.Pei_Information21 := p_Pei_Information21;
v_INFO_Rec.Pei_Information22 := p_Pei_Information22;
v_INFO_Rec.Pei_Information23 := p_Pei_Information23;
v_INFO_Rec.Pei_Information24 := p_Pei_Information24;
v_INFO_Rec.Pei_Information25 := p_Pei_Information25;
v_INFO_Rec.Pei_Information26 := p_Pei_Information26;
v_INFO_Rec.Pei_Information27 := p_Pei_Information27;
v_INFO_Rec.Pei_Information28 := p_Pei_Information28;
v_INFO_Rec.Pei_Information29 := p_Pei_Information29;
v_INFO_Rec.Pei_Information30 := p_Pei_Information30;
CALL_EITS (v_INFO_Rec, 'BEFORE', 'UPDATE');
RETURN;
END Before_Update_Person_EIT;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE Before_Delete_Person_EIT (p_Person_Extra_Info_Id IN NUMBER,
p_Object_Version_Number IN NUMBER)
AS
v_INFO_Rec PER_PEOPLE_EXTRA_INFO%ROWTYPE;
BEGIN
SELECT *
INTO v_INFO_Rec
FROM PER_PEOPLE_EXTRA_INFO ppei
WHERE ppei.person_extra_info_id = P_PERSON_EXTRA_INFO_ID;
CALL_EITS (v_INFO_Rec, 'BEFORE', 'DELETE');
RETURN;
NULL;
END Before_Delete_Person_EIT;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE After_Create_Person_EIT (
p_Person_Extra_Info_Id IN NUMBER,
p_Person_Id IN NUMBER,
p_Information_Type IN VARCHAR2,
p_Pei_Attribute_Category IN VARCHAR2,
p_Pei_Attribute1 IN VARCHAR2,
p_Pei_Attribute2 IN VARCHAR2,
p_Pei_Attribute3 IN VARCHAR2,
p_Pei_Attribute4 IN VARCHAR2,
p_Pei_Attribute5 IN VARCHAR2,
p_Pei_Attribute6 IN VARCHAR2,
p_Pei_Attribute7 IN VARCHAR2,
p_Pei_Attribute8 IN VARCHAR2,
p_Pei_Attribute9 IN VARCHAR2,
p_Pei_Attribute10 IN VARCHAR2,
p_Pei_Attribute11 IN VARCHAR2,
p_Pei_Attribute12 IN VARCHAR2,
p_Pei_Attribute13 IN VARCHAR2,
p_Pei_Attribute14 IN VARCHAR2,
p_Pei_Attribute15 IN VARCHAR2,
p_Pei_Attribute16 IN VARCHAR2,
p_Pei_Attribute17 IN VARCHAR2,
p_Pei_Attribute18 IN VARCHAR2,
p_Pei_Attribute19 IN VARCHAR2,
p_Pei_Attribute20 IN VARCHAR2,
p_Pei_Information_Category IN VARCHAR2,
p_Pei_Information1 IN VARCHAR2,
p_Pei_Information2 IN VARCHAR2,
p_Pei_Information3 IN VARCHAR2,
p_Pei_Information4 IN VARCHAR2,
p_Pei_Information5 IN VARCHAR2,
p_Pei_Information6 IN VARCHAR2,
p_Pei_Information7 IN VARCHAR2,
p_Pei_Information8 IN VARCHAR2,
p_Pei_Information9 IN VARCHAR2,
p_Pei_Information10 IN VARCHAR2,
p_Pei_Information11 IN VARCHAR2,
p_Pei_Information12 IN VARCHAR2,
p_Pei_Information13 IN VARCHAR2,
p_Pei_Information14 IN VARCHAR2,
p_Pei_Information15 IN VARCHAR2,
p_Pei_Information16 IN VARCHAR2,
p_Pei_Information17 IN VARCHAR2,
p_Pei_Information18 IN VARCHAR2,
p_Pei_Information19 IN VARCHAR2,
p_Pei_Information20 IN VARCHAR2,
p_Pei_Information21 IN VARCHAR2,
p_Pei_Information22 IN VARCHAR2,
p_Pei_Information23 IN VARCHAR2,
p_Pei_Information24 IN VARCHAR2,
p_Pei_Information25 IN VARCHAR2,
p_Pei_Information26 IN VARCHAR2,
p_Pei_Information27 IN VARCHAR2,
p_Pei_Information28 IN VARCHAR2,
p_Pei_Information29 IN VARCHAR2,
p_Pei_Information30 IN VARCHAR2,
p_Object_Version_Number IN NUMBER)
AS
v_INFO_Rec PER_PEOPLE_EXTRA_INFO%ROWTYPE;
BEGIN
v_INFO_Rec.Person_Extra_Info_Id := p_Person_Extra_Info_Id;
v_INFO_Rec.Person_Id := p_Person_Id;
v_INFO_Rec.Information_Type := p_Information_Type;
v_INFO_Rec.Pei_Attribute_Category := p_Pei_Attribute_Category;
v_INFO_Rec.Pei_Attribute1 := p_Pei_Attribute1;
v_INFO_Rec.Pei_Attribute2 := p_Pei_Attribute2;
v_INFO_Rec.Pei_Attribute3 := p_Pei_Attribute3;
v_INFO_Rec.Pei_Attribute4 := p_Pei_Attribute4;
v_INFO_Rec.Pei_Attribute5 := p_Pei_Attribute5;
v_INFO_Rec.Pei_Attribute6 := p_Pei_Attribute6;
v_INFO_Rec.Pei_Attribute7 := p_Pei_Attribute7;
v_INFO_Rec.Pei_Attribute8 := p_Pei_Attribute8;
v_INFO_Rec.Pei_Attribute9 := p_Pei_Attribute9;
v_INFO_Rec.Pei_Attribute10 := p_Pei_Attribute10;
v_INFO_Rec.Pei_Attribute11 := p_Pei_Attribute11;
v_INFO_Rec.Pei_Attribute12 := p_Pei_Attribute12;
v_INFO_Rec.Pei_Attribute13 := p_Pei_Attribute13;
v_INFO_Rec.Pei_Attribute14 := p_Pei_Attribute14;
v_INFO_Rec.Pei_Attribute15 := p_Pei_Attribute15;
v_INFO_Rec.Pei_Attribute16 := p_Pei_Attribute16;
v_INFO_Rec.Pei_Attribute17 := p_Pei_Attribute17;
v_INFO_Rec.Pei_Attribute18 := p_Pei_Attribute18;
v_INFO_Rec.Pei_Attribute19 := p_Pei_Attribute19;
v_INFO_Rec.Pei_Attribute20 := p_Pei_Attribute20;
v_INFO_Rec.Pei_Information_Category := p_Pei_Information_Category;
v_INFO_Rec.Pei_Information1 := p_Pei_Information1;
v_INFO_Rec.Pei_Information2 := p_Pei_Information2;
v_INFO_Rec.Pei_Information3 := p_Pei_Information3;
v_INFO_Rec.Pei_Information4 := p_Pei_Information4;
v_INFO_Rec.Pei_Information5 := p_Pei_Information5;
v_INFO_Rec.Pei_Information6 := p_Pei_Information6;
v_INFO_Rec.Pei_Information7 := p_Pei_Information7;
v_INFO_Rec.Pei_Information8 := p_Pei_Information8;
v_INFO_Rec.Pei_Information9 := p_Pei_Information9;
v_INFO_Rec.Pei_Information10 := p_Pei_Information10;
v_INFO_Rec.Pei_Information11 := p_Pei_Information11;
v_INFO_Rec.Pei_Information12 := p_Pei_Information12;
v_INFO_Rec.Pei_Information13 := p_Pei_Information13;
v_INFO_Rec.Pei_Information14 := p_Pei_Information14;
v_INFO_Rec.Pei_Information15 := p_Pei_Information15;
v_INFO_Rec.Pei_Information16 := p_Pei_Information16;
v_INFO_Rec.Pei_Information17 := p_Pei_Information17;
v_INFO_Rec.Pei_Information18 := p_Pei_Information18;
v_INFO_Rec.Pei_Information19 := p_Pei_Information19;
v_INFO_Rec.Pei_Information20 := p_Pei_Information20;
v_INFO_Rec.Pei_Information21 := p_Pei_Information21;
v_INFO_Rec.Pei_Information22 := p_Pei_Information22;
v_INFO_Rec.Pei_Information23 := p_Pei_Information23;
v_INFO_Rec.Pei_Information24 := p_Pei_Information24;
v_INFO_Rec.Pei_Information25 := p_Pei_Information25;
v_INFO_Rec.Pei_Information26 := p_Pei_Information26;
v_INFO_Rec.Pei_Information27 := p_Pei_Information27;
v_INFO_Rec.Pei_Information28 := p_Pei_Information28;
v_INFO_Rec.Pei_Information29 := p_Pei_Information29;
v_INFO_Rec.Pei_Information30 := p_Pei_Information30;
--RAISE_APPLICATION_ERROR(-20101, P_EIT_REC.PERSON_EXTRA_INFO_ID);
CALL_EITS (v_INFO_Rec, 'AFTER', 'CREATE');
RETURN;
END After_Create_Person_EIT;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE After_Update_Person_EIT (
p_Person_Extra_Info_Id IN NUMBER,
p_Pei_Attribute_Category IN VARCHAR2,
p_Pei_Attribute1 IN VARCHAR2,
p_Pei_Attribute2 IN VARCHAR2,
p_Pei_Attribute3 IN VARCHAR2,
p_Pei_Attribute4 IN VARCHAR2,
p_Pei_Attribute5 IN VARCHAR2,
p_Pei_Attribute6 IN VARCHAR2,
p_Pei_Attribute7 IN VARCHAR2,
p_Pei_Attribute8 IN VARCHAR2,
p_Pei_Attribute9 IN VARCHAR2,
p_Pei_Attribute10 IN VARCHAR2,
p_Pei_Attribute11 IN VARCHAR2,
p_Pei_Attribute12 IN VARCHAR2,
p_Pei_Attribute13 IN VARCHAR2,
p_Pei_Attribute14 IN VARCHAR2,
p_Pei_Attribute15 IN VARCHAR2,
p_Pei_Attribute16 IN VARCHAR2,
p_Pei_Attribute17 IN VARCHAR2,
p_Pei_Attribute18 IN VARCHAR2,
p_Pei_Attribute19 IN VARCHAR2,
p_Pei_Attribute20 IN VARCHAR2,
p_Pei_Information_Category IN VARCHAR2,
p_Pei_Information1 IN VARCHAR2,
p_Pei_Information2 IN VARCHAR2,
p_Pei_Information3 IN VARCHAR2,
p_Pei_Information4 IN VARCHAR2,
p_Pei_Information5 IN VARCHAR2,
p_Pei_Information6 IN VARCHAR2,
p_Pei_Information7 IN VARCHAR2,
p_Pei_Information8 IN VARCHAR2,
p_Pei_Information9 IN VARCHAR2,
p_Pei_Information10 IN VARCHAR2,
p_Pei_Information11 IN VARCHAR2,
p_Pei_Information12 IN VARCHAR2,
p_Pei_Information13 IN VARCHAR2,
p_Pei_Information14 IN VARCHAR2,
p_Pei_Information15 IN VARCHAR2,
p_Pei_Information16 IN VARCHAR2,
p_Pei_Information17 IN VARCHAR2,
p_Pei_Information18 IN VARCHAR2,
p_Pei_Information19 IN VARCHAR2,
p_Pei_Information20 IN VARCHAR2,
p_Pei_Information21 IN VARCHAR2,
p_Pei_Information22 IN VARCHAR2,
p_Pei_Information23 IN VARCHAR2,
p_Pei_Information24 IN VARCHAR2,
p_Pei_Information25 IN VARCHAR2,
p_Pei_Information26 IN VARCHAR2,
p_Pei_Information27 IN VARCHAR2,
p_Pei_Information28 IN VARCHAR2,
p_Pei_Information29 IN VARCHAR2,
p_Pei_Information30 IN VARCHAR2,
p_Object_Version_Number IN NUMBER)
AS
v_person_id PER_PEOPLE_EXTRA_INFO.PERSON_ID%TYPE;
v_information_type PER_PEOPLE_EXTRA_INFO.Information_Type%TYPE;
v_INFO_Rec PER_PEOPLE_EXTRA_INFO%ROWTYPE;
BEGIN
SELECT ppei.person_id, ppei.information_type
INTO v_person_id, v_information_type
FROM PER_PEOPLE_EXTRA_INFO ppei
WHERE ppei.person_extra_info_id = P_PERSON_EXTRA_INFO_ID;
v_INFO_Rec.Person_Extra_Info_Id := p_Person_Extra_Info_Id;
v_INFO_Rec.Person_Id := v_Person_Id;
v_INFO_Rec.Information_Type := v_Information_Type;
v_INFO_Rec.Pei_Attribute_Category := p_Pei_Attribute_Category;
v_INFO_Rec.Pei_Attribute1 := p_Pei_Attribute1;
v_INFO_Rec.Pei_Attribute2 := p_Pei_Attribute2;
v_INFO_Rec.Pei_Attribute3 := p_Pei_Attribute3;
v_INFO_Rec.Pei_Attribute4 := p_Pei_Attribute4;
v_INFO_Rec.Pei_Attribute5 := p_Pei_Attribute5;
v_INFO_Rec.Pei_Attribute6 := p_Pei_Attribute6;
v_INFO_Rec.Pei_Attribute7 := p_Pei_Attribute7;
v_INFO_Rec.Pei_Attribute8 := p_Pei_Attribute8;
v_INFO_Rec.Pei_Attribute9 := p_Pei_Attribute9;
v_INFO_Rec.Pei_Attribute10 := p_Pei_Attribute10;
v_INFO_Rec.Pei_Attribute11 := p_Pei_Attribute11;
v_INFO_Rec.Pei_Attribute12 := p_Pei_Attribute12;
v_INFO_Rec.Pei_Attribute13 := p_Pei_Attribute13;
v_INFO_Rec.Pei_Attribute14 := p_Pei_Attribute14;
v_INFO_Rec.Pei_Attribute15 := p_Pei_Attribute15;
v_INFO_Rec.Pei_Attribute16 := p_Pei_Attribute16;
v_INFO_Rec.Pei_Attribute17 := p_Pei_Attribute17;
v_INFO_Rec.Pei_Attribute18 := p_Pei_Attribute18;
v_INFO_Rec.Pei_Attribute19 := p_Pei_Attribute19;
v_INFO_Rec.Pei_Attribute20 := p_Pei_Attribute20;
v_INFO_Rec.Pei_Information_Category := p_Pei_Information_Category;
v_INFO_Rec.Pei_Information1 := p_Pei_Information1;
v_INFO_Rec.Pei_Information2 := p_Pei_Information2;
v_INFO_Rec.Pei_Information3 := p_Pei_Information3;
v_INFO_Rec.Pei_Information4 := p_Pei_Information4;
v_INFO_Rec.Pei_Information5 := p_Pei_Information5;
v_INFO_Rec.Pei_Information6 := p_Pei_Information6;
v_INFO_Rec.Pei_Information7 := p_Pei_Information7;
v_INFO_Rec.Pei_Information8 := p_Pei_Information8;
v_INFO_Rec.Pei_Information9 := p_Pei_Information9;
v_INFO_Rec.Pei_Information10 := p_Pei_Information10;
v_INFO_Rec.Pei_Information11 := p_Pei_Information11;
v_INFO_Rec.Pei_Information12 := p_Pei_Information12;
v_INFO_Rec.Pei_Information13 := p_Pei_Information13;
v_INFO_Rec.Pei_Information14 := p_Pei_Information14;
v_INFO_Rec.Pei_Information15 := p_Pei_Information15;
v_INFO_Rec.Pei_Information16 := p_Pei_Information16;
v_INFO_Rec.Pei_Information17 := p_Pei_Information17;
v_INFO_Rec.Pei_Information18 := p_Pei_Information18;
v_INFO_Rec.Pei_Information19 := p_Pei_Information19;
v_INFO_Rec.Pei_Information20 := p_Pei_Information20;
v_INFO_Rec.Pei_Information21 := p_Pei_Information21;
v_INFO_Rec.Pei_Information22 := p_Pei_Information22;
v_INFO_Rec.Pei_Information23 := p_Pei_Information23;
v_INFO_Rec.Pei_Information24 := p_Pei_Information24;
v_INFO_Rec.Pei_Information25 := p_Pei_Information25;
v_INFO_Rec.Pei_Information26 := p_Pei_Information26;
v_INFO_Rec.Pei_Information27 := p_Pei_Information27;
v_INFO_Rec.Pei_Information28 := p_Pei_Information28;
v_INFO_Rec.Pei_Information29 := p_Pei_Information29;
v_INFO_Rec.Pei_Information30 := p_Pei_Information30;
CALL_EITS (v_INFO_Rec, 'AFTER', 'UPDATE');
RETURN;
END After_Update_Person_EIT;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE After_Delete_Person_EIT (p_Person_Extra_Info_Id IN NUMBER,
p_Object_Version_Number IN NUMBER)
AS
v_INFO_Rec PER_PEOPLE_EXTRA_INFO%ROWTYPE;
BEGIN
/* Select *
into v_INFO_Rec
from PER_PEOPLE_EXTRA_INFO ppei
where ppei.person_extra_info_id = P_PERSON_EXTRA_INFO_ID;
CALL_EITS(v_INFO_Rec, 'AFTER', 'DELETE');
RETURN;*/
NULL;
END After_Delete_Person_EIT;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE CALL_EITS (P_EIT_REC PER_PEOPLE_EXTRA_INFO%ROWTYPE,
P_EVENT_TIME VARCHAR,
P_EVENT_MODE VARCHAR2)
AS
BEGIN
-- IF P_EVENT_TIME = 'AFTER' THEN return; END IF;
IF P_EIT_REC.Pei_Information_Category = 'KSR_BANK_COMMITMENT'
THEN
EIT_BANK_COMMITMENT (P_EIT_REC, P_EVENT_TIME, P_EVENT_MODE);
END IF;
RETURN;
END CALL_EITS;
----------------------------------------------------------------------------------------------------------------------------------
PROCEDURE EIT_BANK_COMMITMENT (P_EIT_REC PER_PEOPLE_EXTRA_INFO%ROWTYPE,
P_EVENT_TIME VARCHAR,
P_EVENT_MODE VARCHAR2)
AS
v_msg VARCHAR2 (200);
v_Trans_Count NUMBER;
v_PASS_BANK_CODE VARCHAR2 (50) := 'SCSB';
BEGIN
---##################################
---user business case only
---##################################
END EIT_BANK_COMMITMENT;
END XX_EIT_PERSON_USERHOOKS;
/
----#################################
-- now step one is done and now we going to register it into the EBS
2- we
register it Standard User Hook all we will do is change
ur packge , procudre name
change the name of ur needed action in this userhook standard package