Vous êtes sur la page 1sur 40

Core HR Quick Tour

Speaker: Krishna Date : 04-FEB-2011 & 07-FEB-2011

Schedule

Day 1: Flexfields in HRMS and Workstructures Day 1: Hire to Rehire and Datetrack

Day 2: Key Tables and APIs, Conversions & Interfaces

2 September 2013

HRMS Flexfields
KFFs
Key Combinations used for unique identification of entities Separate object by itself Stores data in separate tables Linked by IDs

HR KFFs
There are 6 KFFs in HR and appropriate KFFs must be defined before using the object
Job Position Grade Personal Analysis Or Special Information Types (SIT) Competence Soft Coded KFF (Legislation Specific, Provided by Oracle, Protected can not be modified)

2 September 2013

HRMS Flexfields

Payroll KFFs
There are 3 KFFs in Payroll and appropriate DFFs must be defined before using the object
People Group Cost Allocation Bank Details (Legislation Specific, Provided by Oracle, Protected can not be modified)

2 September 2013

HRMS Flefields
DFFs
Attributes of an entity Stores data in primary object table Use is optional

DFF Name & Indicator


Additional xxxxx Details Field with [ ] Further xxxxx Information Field with ......

Available DFFs
Additional Person Details, Additional Assignment Details etc

Further Person Info, Further Assignment Info etc.

Extra Info Types (EIT) Person, Assignment, Location, Extra Information Types Field entered through Separate Window

2 September 2013

KFF Job Flexfield System Administrator >> Application >> Flexfield >> Key

2 September 2013

KFF Job Flexfield

2 September 2013

DFF Additional Person Details System Administrator >> Application >> Flexfield >> Descriptive

2 September 2013

DFF Additional Person Details

2 September 2013

SIT Special Information Types

10

2 September 2013

EIT Extra Information Types

11

2 September 2013

Difference between SIT and EIT


SIT- Special Information Types EIT-Extra Information Types

KFF

DFF

From Date and To Date to maintain history

No date fields to maintain history

Function Level Security

Responsibility Level Security

Performance may be a concern for high volume data conversion since duplicate check will be done

Performance may not be concern for high volume data conversion since NO duplicate check is done

SIT is enabled in Self Service

EIT is NOT enabled in Self Service

12

2 September 2013

Workstructures

Workstructures
Location Organization Job Position Grade Valid Grades Organization Hierarchies, Position Hierarchies

Other Setup
Person Types Assignment Status Types Lookup Tables

13

2 September 2013

Workstructures - Location
Locations can be local or global Address style can be selected as needed Single Location can be Ship To Site, Office Site, Bill To Site etc. Additional location details and extra location information can be entered (if corresponding DFFs are enabled)

14

2 September 2013

Workstructures - Organization
Setup various organizations like Business Group, GRE, HR Organization, Cost Center, Inventory Organization, Operating Unit etc. Enter appropriate organization classifications and add related details for each classification using Others list.

15

2 September 2013

Workstructures Business Group


Business Group is the highest level of Organization Hierarchy Business Group classification and others >> Business Group Info must be entered Employee, Applicant and Contingent Work number generation method can be changed KFF structures can be changed for Business Group Legislation Code must be entered correctly

16

2 September 2013

Workstructures - Job

17

2 September 2013

Workstructures - Position

18

2 September 2013

Workstructures Person Types

19

2 September 2013

Workstructures Assignment Status Types

20

2 September 2013

Demo

Hire to Rehire
Suspend & Reactivate Terminate Rehire Retire

21

2 September 2013

Demo

Datetrack

Record History and WHO Columns


Created_By

Insert, Update, Delete Date Track Modes Effective_Start_Date Effective_End_Date


Creation_Date Last_Updated_By Last_Update_Login Last_Update_Date

Datetrack History Views


PER_ALL_PEOPLE_D PER_ALL_ASSIGNMENTS_D etc


2 September 2013

22

Key Tables & Queries


Per_All_People_F Per_person_type_usages_F Per_Person_Types

Per_Addresses

Per_All_People_F

Per_Periods_of_Service Per_All_Assignments_F Per_Person_Analyses Per_Analysis_Criteria

23

2 September 2013

Key Tables & Queries


Per_All_Assignments_F HR_All_Organization_Units Pay_People_Groups

Per_Jobs Per_Job_Definitions

Per_Positions Per_Position_Definitions

Per_Grades Per_Grade_Definitions

Pay_all_Payrolls_F

HR_Locations_All Per_Assignment_ Status_Types

Per_Pay_Bases

Per_Pay_Proposals

HR_Soft_Coding_KeyFlex Pay_Element_Entries_F Pay_Element_Entry_Values_F

Per_All_Assignments_F

24

2 September 2013

Key Tables & Queries

PER_ALL_PEOPLE_F Person_ID Employee_Number First_Name Middle_Name Last_Name Date_of_Birth Marital_Status Email_Address Employee_Number National_Identifier Current_Employee_Flag Original_Date_of_Hire Effective_Start_Date Effective_End_Date

PER_PERSON_TYPE_USAGES_F Person_Type_Usage_ID Person_ID Effective_Start_Date Effective_End_Date Person_Typd_ID

PER_PERSON_TYPES Person_Type_ID User_Person_Type System_Person_Type Active_Flag

25

2 September 2013

Key Tables & Queries

PER_PERIODS_OF_SERVICE Period_of_Service_ID Person_ID Date_Start Actual_Termination_Date Last_Standard_Process_Date Final_Process_Date Leaving_Reason

PER_PERSON_ANALYSES Person_Analysis_ID Person_ID Analysis_Criteria_ID Date_From Date_To

PER_PEOPLE_EXTRA_INFO PEI_EXTRA_INFO_ID PERSON_ID PEI_INFORMATION_TYPE PEI_INFORMATION_CATEGORY PEI_INFORMATION1 to 20

PER_ANALYSIS_CRITERIA Analysis_Criteria_ID ID_Flex_Num Segment1 to Segment30 Start_Date_Active End_Date_Active Enabled_Flag

PER_PEOPLE_INFO_TYPES Information Type Description Legislation Code Active_Inactive_Flag Multiple_Occurrences_Flag

26

2 September 2013

Key Tables & Queries


PER_ADDRESSES Address_ID Person_ID Primary_Flag Address_Type Address_Line_1 to 3 Town_or_City Postal_Code Region_1 (County) Region_2 (City) Country Date_From Date_To

PER_PHONES Phone_ID Date_From Date_To Phone_Type Phone_Number Parent_Table (Stores PER_ALL_PEOPLE_F) Parent_ID (Stores Person_ID)

HR_LOOKUPS Lookup_Type Lookup_Code Meaning Start_Date_Active End_Date_Active Enabled_Flag

27

2 September 2013

Key Tables & Queries

PER_ALL_ASSIGNMENTS_F Assignment_ID Person_ID Supervisor_ID Assignment_Type Primary_Flag Organization_ID People_Group_ID Job_ID Position_ID Grade_ID Location_ID Payroll_ID Pay_Basis_ID Employement_Category Assignment_Status_Type_ID Normal_Hours Soft_Coding_Key_Flex_ID Barganing_Unit_Code Period_of_Service_ID Assignment_Number Effective_Start_Date Effective_End_Date

HR_ALL_ORGANIZATION_UNITS Organization_ID Business_Group_ID Name Cost_Allocation_Key_Flex_ID Internal_External_Flag Location_ID Date_From Date_To Additional Org Details DFF(Attribute1 to Attribute20)

PAY_PEOPLE_GROUPS People_Group_ID Name KFF Segment1 to Segment30 Start_Date_Active End_Date_Active Enabled_Flag

28

2 September 2013

Key Tables & Queries

PER_JOBS Job_ID Name Job_Definition_ID Date_From Date_To Additional Job Details DFF(Attribute1 to Attribute20) Further Job Information DFF (Job_Information1 to 20) PER_JOB_DEFINITIONS Job_Definition_ID Job_ID KFF Segment1 to Segment30 Start_Date_Active End_Date_Active Enabled_Flag

PER_POSITION_DEFINITIONS Position_Definition_ID KFF Segment1 to Segment30 Start_Date_Active End_Date_Active Enabled_Flag PER_GRADES Grade_ID Name Grade_Definition_ID Additional Grade Details DFF(Attribute1 to Attribute20) Further Grade Information DFF (Grade_Information1 to 20) Date_From Date_To PER_GRADE_DEFINITIONS Grade_Definition_ID Grade_ID KFF Segment1 to Segment30 Start_Date_Active End_Date_Active Enabled_Flag

PER_POSITIONS Position_ID Job_ID Organization_ID Position_Definition_ID Date_Effective Date_End

29

2 September 2013

Key Tables & Queries

PAY_ALL_PAYROLLS_F Payroll_ID Payroll_Name Effective_Start_Date Effective_End_Date PER_TIME_PERIODS Time_Period_ID Payroll_ID Period_NUM Period_Name Period_Type Start_Date End_Date Cut_off_Date Regular_Payment_Date PER_ASSIGNMENT_STATUS_TYPES Assignment_Status_Type_ID User_Status System_Status Active_Flag

HR_LOCATIONS_ALL Location_ID Location_Code Address_Line_1 to 3 Town_or_City Region_1 (Country) Region_2 (State) Country Postal_Code Inactive_Date PER_PAY_BASES Pay_Basis_ID Name Pay_Annualization_Factor PER_PAY_PROPOSALS Pay_Proposal_ID Assignment_ID Change_Date Proposed_Salary_N Approved Proposal_Reason

30

2 September 2013

Key Tables & Queries

HR_SOFT_CODING_KEYFLEX Soft_Coding_KeyFlex_ID ID_Flex_Num Segment1..Segment30 (Legislation Specific statutory info fields like GRE, Timecard Required, Work Schedule, etc) Start_Date_Active End_Date_Active Enabled_Flag

31

2 September 2013

Other Tables & Views


Table Suffix and Meaning
PER_ALL_PEOPLE_F : Unrestricted Full Table. No security restrictions but never important criteria

PER_PEOPLE_F : Restricted Full view based on User and Responsibility

PER_PEOPLE_X : View with data as of system date

PER_PEOPLE_V : View with data as of session date *** PER_GRADES_TL : Translation Table

PER_GRADES_VL : View with Translation

*** Record must be inserted into FND_SESSIONS before querying any view which gives data as of session effective date INSERT INTO FND_SESSIONS (session_id, effective_date) VALUES ( USERENV('SESSIONID'), COMMIT;

TRUNC(SYSDATE)

);

32

2 September 2013

APIs
HOW TO GET LIST OF HR APIs? Query ALL_OBJECTS for Object_Name like HR%API or PER%API or PAY%API SELECT * FROM all_objects WHERE object_name like 'HR%\_API' escape '\' AND object_type = 'PACKAGE' UNION SELECT * FROM all_objects WHERE object_name like 'PAY%\_API' escape '\' AND object_type = 'PACKAGE' UNION SELECT * FROM all_objects WHERE object_name like 'PER%\_API' escape '\' AND object_type = 'PACKAGE';

33

2 September 2013

API Parameters

APIs include seeded validations Public APIs alone can be called Global APIs will have common validations for all legislations/countries Legislation specific APIs include additional validations applicable for the particular country/legislation Use Legislation Specific API wherever available COMMIT must be issued by calling program Default Parameters are not mandatory Control Parameters are key parameters, and are mandatory
P_effective_date P_datetrack_update_mode P_datetrack_delete_mode P_Validate P_Object_Version_Number

34

2 September 2013

Sample APIs
HRMS Object API Sample Call

Create Employee

Create Address

Create Phone

Create Special Information

Grade Step Placement and Salary Proposal

More API samples can be found in http://apps2fusion.com/forums/viewforum.php?f=76&st=0&sk=t&sd=d

35

2 September 2013

Conversions
Start Use Open Interface (or) Use Staging Table and API Calls

Load Validated Data into Interface Tables


Update Status Flag = SUCCESS

Collect Legacy Data


(.dat, .txt, .csv )

Run Open Interface Import Program


Load Data into Staging Table
(with Status Flag = PENDING)

Archive the Data File


(always Recommended)

Review Data in Oracle API Calls End

Update Status Flag = PROCESSING

Validate Data for Custom Validations Map values using Lookup Tables
Update Status Flag = ERROR / VALIDATED

36

2 September 2013

Conversions

Conversions ( Open Interface Steps )


Gather the legecy data (.csv or .dat or .txt etc) file
Create the stagging table / temporary table based on the interface table. Load data into Staging Table using Shell script with SQL Loader Create the package to move data from Staging Table(s) to Interface Table(s). Run the package and Insert any errors into the errors table (i.e.custom validation errors) Once data inserted into interface tables, run the standard concurrent program which is already provided by oracle apps Once we run the standard process data will be transferred into respective base tables, If any errors occured in processing time those errors are stored into errors table

37

2 September 2013

Interfaces Inbound
Pre Loading Checking user and system authority and conditions. (Read user Profiles setting, Applications and System variables) Pre Loading data manipulation Backup source file, rename it, generate loading parameters. Make an initial record in audit table Loading Execute Loading into Interim or Interface table (Run SQL*Loader script), Check loaded data and update audit structure. (Update the related record in audit table) Post Loading Maintain loaded data. (Replace some imported data by related Oracle data from data mapping), Implement custom validation checking. (Business rules validation) Import Import data from interface or interim table into Oracle Applications Product table structure (Run the Import concurrent Program). Check Import status and update audit structure. (Update the related record in audit table)

38

2 September 2013

Interfaces Outbound
Data extraction and Transformation into output file
Select Data

Start Select Data Validate Data and Log Errors

Validate Data and Log Errors Transform Data using Vendor Specific Code values Write Data to File using FND_FILE utility or SQL*Plus scripts

Map Values to Vendor specific Codes


Write Data to outbound File FTP or Mail the file Rename and Archive the File

Data transportation
FTP the Output files programmatically using operating shell scripts (or ) Send directly to customer E-mail account as attachments

(always recommended)

End 39
2 September 2013

Q&A

40

2 September 2013

Vous aimerez peut-être aussi