SlideShare a Scribd company logo
2
Most read
3
Most read
1. Go to your businessgroup:
Make the informationof BGlike this
Go to enterand maintainfunction>personalize
Custom employee number generation
Target event: WHEN-NEW-ITEM-INSTANCE
Target object : PERSON.PTU_ACTION_TYPE
Condition: :PERSON.D_PTU_USER_PERSON_TYPE='Employee'
Target object : PERSON.EMPLOYEE_NUMBER
Value : = select'ADMM'||ltrim(to_char(nvl((selectmax(substr(ppl.employee_number,5, 4))+1
fromper_all_people_f ppl ,per_all_assignments_f paaf
where ppl.business_group_id=135
and ppl.person_id=paaf.person_idandppl.employee_numberisnotnull
) , 0),'0009')) formatted_valuefromdual
Go to create newEmployee >selectactionnewEmployee >selectEmplyee
Employee numberwill come automaticaly
2. How to Create Custom Employee Number Generation via Fast Formula
1. Create Sequence
create sequence sac_emp_number
start with1
2. Create Functionto GenerateDesiredSequenceNumber
CREATE OR REPLACE FUNCTIONSAC_GENERATE_EMP_NUMBER(
p_business_group_id IN NUMBER,
p_person_type IN VARCHAR2,
p_party_id IN NUMBER
)
RETURNVARCHAR2
IS
l_emp_number VARCHAR2 (15) := NULL;
l_applicant_number VARCHAR2 (15) := NULL;
l_npw_number VARCHAR2 (15) := NULL;
l_auto_number VARCHAR2 (15) := NULL;
BEGIN
BEGIN
SELECT employee_number, applicant_number, npw_number
INTO l_emp_number, l_applicant_number, l_npw_number
FROM per_all_people_f
WHERE party_id = p_party_id
AND TRUNC(SYSDATE)BETWEENeffective_start_date
AND effective_end_date;
EXCEPTION
WHEN OTHERS
THEN
l_emp_number := NULL;
l_applicant_number := NULL;
l_npw_number := NULL;
END;
IF l_emp_number IS NULL
AND l_applicant_number IS NULL
AND l_applicant_number IS NULL
THEN
IF p_person_type = 'EMP'
THEN
l_auto_number := 'SAC-' ||sac_emp_number.NEXTVAL;
ELSIF p_person_type= 'APL'
THEN
l_auto_number := 'APL-' ||sac_emp_number.NEXTVAL;
ELSIF p_person_type= 'CWK'
THEN
l_auto_number := 'CONT-' ||sac_emp_number.NEXTVAL;
END IF;
ENDIF;
RETURNl_auto_number;
EXCEPTION
WHENOTHERS
THEN
NULL;
END;
/
3. Attach Setup BusinessGroupto Global SuperHRMS Manager
Navigation:System Administrator -> Profile-> System
ResponsibilityName:Global Super HRMS Manager
ProfileOptionName:HR: Security Profile
Set Profileas “SetupBusinessGroup” atResponsibility Level
Note:
The Above StepisMandatory as one cannot generate AutoEmployee NumberingonanycustomBusinessGroup.Thiscouldbe possibleon
"SetupBusinessGroup"
4. Create FormulaFunction:
I. Navigation:Goto Global Super HRMS Manager -> Other Definitions -> Formula Functions
II. FunctionName: SAC_NUMBER_GENERATION
III. Parameters:
• DataType:Text
• Class:Externalfunction
• Definition:<Nameof the Function> SAC_GENERATE_EMP_NUMBER
ContextUsages
Parameters
5. Create Fast Formula:EMP_NUMBER_GENERATION
Navigation:GlobalSuper HRMS Manager -> Total Compensation -> Basic -> Write Formulas
The Below Naming Convention should be used, so as to Generate Custom Auto Numbering Sequence for Employee,Applicant or
Contingent Worker
I. Employee EMP_NUMBER_GENERATIONPersonNumber Generation
II. Applicant APL_NUMBER_GENERATIONPersonNumber Generation
III. EmployeeCWK_NUMBER_GENERATIONPersonNumber Generation
Type:PersonNumberGeneration
Formula(Foryour Reference):
default for party_idis 0
inputs are
person_type (text),
party_id (number)
next_number = '0'
next_number = sac_number_generation(person_type,party_id)
return next_number

More Related Content

DOCX
Accrual plan set up in oracle hrms
Rajiv reddy
 
DOC
Oracle ebs otl setup document
Feras Ahmad
 
DOC
How to create payslip through self service
Feras Ahmad
 
DOC
Fujcci crp oracle payroll
Feras Ahmad
 
DOCX
Oracle EBS R 12 Core hr user manual
Feras Ahmad
 
DOC
Oracle EBS R12 Payroll user manual
Feras Ahmad
 
PPT
Oracle HRMS Payroll Table Overview
Chris Martin
 
DOCX
Absence management in oracle HRMS
Rajiv reddy
 
Accrual plan set up in oracle hrms
Rajiv reddy
 
Oracle ebs otl setup document
Feras Ahmad
 
How to create payslip through self service
Feras Ahmad
 
Fujcci crp oracle payroll
Feras Ahmad
 
Oracle EBS R 12 Core hr user manual
Feras Ahmad
 
Oracle EBS R12 Payroll user manual
Feras Ahmad
 
Oracle HRMS Payroll Table Overview
Chris Martin
 
Absence management in oracle HRMS
Rajiv reddy
 

What's hot (20)

DOC
Oracle HRMS Accrual plan Setup
Feras Ahmad
 
PDF
The Goal with performance details Oracle Fusion Cloud
Feras Ahmad
 
PPT
Payroll process oracle hrms
Shaju Shana
 
PDF
How to Debug the Fast Formula.pdf
Feras Ahmad
 
DOCX
Oracle HRMS Fast Formula
runjithrocking
 
PDF
Oracle EBS Self service from A to Z
Feras Ahmad
 
PDF
Payroll costing details Oracle Fusion Cloud HCM
Feras Ahmad
 
PDF
Legal Employer Details Query Oracle Fusion Cloud
Feras Ahmad
 
PDF
All payroll elements with eligibility Oracle Fusion Cloud
Feras Ahmad
 
DOCX
Oracle HRMS Proration
runjithrocking
 
DOC
Oracle HRMS Document R12.
Malaysia Employment Service / Business Idea.
 
PDF
Query Pre Payment details Oracle Fusion Cloud
Feras Ahmad
 
PPTX
Payroll process in oracle hrms
Faisal Anwar
 
PDF
Otl Oracle Time and Labor
Feras Ahmad
 
DOC
142500146 using-oracle-fast formula-for-payroll-calculations
uday reddy
 
PDF
Bi email-alert-notification - Fusion Alert
Feras Ahmad
 
PDF
Oracle Fusion Cloud Absence Management
Feras Ahmad
 
PDF
Oracle Fusion Cloud Payroll Costing Query
Feras Ahmad
 
PDF
Oracle Cloud SQL FTE Positions Query
Feras Ahmad
 
DOCX
Personalization how to restrict transaction type list of values
Ahmed Elshayeb
 
Oracle HRMS Accrual plan Setup
Feras Ahmad
 
The Goal with performance details Oracle Fusion Cloud
Feras Ahmad
 
Payroll process oracle hrms
Shaju Shana
 
How to Debug the Fast Formula.pdf
Feras Ahmad
 
Oracle HRMS Fast Formula
runjithrocking
 
Oracle EBS Self service from A to Z
Feras Ahmad
 
Payroll costing details Oracle Fusion Cloud HCM
Feras Ahmad
 
Legal Employer Details Query Oracle Fusion Cloud
Feras Ahmad
 
All payroll elements with eligibility Oracle Fusion Cloud
Feras Ahmad
 
Oracle HRMS Proration
runjithrocking
 
Query Pre Payment details Oracle Fusion Cloud
Feras Ahmad
 
Payroll process in oracle hrms
Faisal Anwar
 
Otl Oracle Time and Labor
Feras Ahmad
 
142500146 using-oracle-fast formula-for-payroll-calculations
uday reddy
 
Bi email-alert-notification - Fusion Alert
Feras Ahmad
 
Oracle Fusion Cloud Absence Management
Feras Ahmad
 
Oracle Fusion Cloud Payroll Costing Query
Feras Ahmad
 
Oracle Cloud SQL FTE Positions Query
Feras Ahmad
 
Personalization how to restrict transaction type list of values
Ahmed Elshayeb
 
Ad

Similar to Custom employee number generation (7)

PDF
Having issues with passing my values through different functions aft.pdf
rajkumarm401
 
PDF
Steps for PA and OM
Mauricio Guzman
 
PDF
實戰Facebook Marketing API
Yu LI
 
DOCX
Oracle Personalization How To Restricting users from assigning items to diffe...
Ahmed Elshayeb
 
PDF
Implement auto refresh function in oracle ebs 12.1.3
Hassan Abd Elrahman
 
PDF
Object Oriented Programming in Python
Pradeep Kumar
 
PPTX
Customization of Odoo 17 Periodic Digest parameters from backend
Celine George
 
Having issues with passing my values through different functions aft.pdf
rajkumarm401
 
Steps for PA and OM
Mauricio Guzman
 
實戰Facebook Marketing API
Yu LI
 
Oracle Personalization How To Restricting users from assigning items to diffe...
Ahmed Elshayeb
 
Implement auto refresh function in oracle ebs 12.1.3
Hassan Abd Elrahman
 
Object Oriented Programming in Python
Pradeep Kumar
 
Customization of Odoo 17 Periodic Digest parameters from backend
Celine George
 
Ad

More from Feras Ahmad (19)

PDF
Oracle Fusion HCM Payroll Process Flow.pdf
Feras Ahmad
 
DOCX
Configure Flexfield Parameters in Value Sets for Document Records.docx
Feras Ahmad
 
PPT
Building-Materials
Feras Ahmad
 
PDF
Oracle Fusion Cloud sensitive data access audit
Feras Ahmad
 
PDF
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
Feras Ahmad
 
PDF
DBI database Items Query Oracle Fusion Cloud
Feras Ahmad
 
PDF
Query Worker Contracts Details Oracle Fusion Cloud
Feras Ahmad
 
PDF
Query all roles and duties and privileges Oracle Fusion Cloud
Feras Ahmad
 
PDF
Oracle Fusion Cloud HCM Payroll Query
Feras Ahmad
 
PPTX
Oracle HCM Presentation 2020
Feras Ahmad
 
PPT
Oracle Fusion HCM vs E-Business Suite HRMS
Feras Ahmad
 
PDF
2020 06-11 goverment KSA Summary VAT increase
Feras Ahmad
 
PPTX
Financial reporting compliance cloud service presentation
Feras Ahmad
 
DOCX
Absence Work flow query
Feras Ahmad
 
DOCX
Setting up audits and audit reports Fusion Cloud
Feras Ahmad
 
DOC
Oracle EBS R12 Self service user manual
Feras Ahmad
 
DOCX
Oracle Fusion HCM Presentation
Feras Ahmad
 
PPT
Oracle Fusion HCM Presentation
Feras Ahmad
 
PDF
Best practices for fusion hcm cloud implementation
Feras Ahmad
 
Oracle Fusion HCM Payroll Process Flow.pdf
Feras Ahmad
 
Configure Flexfield Parameters in Value Sets for Document Records.docx
Feras Ahmad
 
Building-Materials
Feras Ahmad
 
Oracle Fusion Cloud sensitive data access audit
Feras Ahmad
 
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
Feras Ahmad
 
DBI database Items Query Oracle Fusion Cloud
Feras Ahmad
 
Query Worker Contracts Details Oracle Fusion Cloud
Feras Ahmad
 
Query all roles and duties and privileges Oracle Fusion Cloud
Feras Ahmad
 
Oracle Fusion Cloud HCM Payroll Query
Feras Ahmad
 
Oracle HCM Presentation 2020
Feras Ahmad
 
Oracle Fusion HCM vs E-Business Suite HRMS
Feras Ahmad
 
2020 06-11 goverment KSA Summary VAT increase
Feras Ahmad
 
Financial reporting compliance cloud service presentation
Feras Ahmad
 
Absence Work flow query
Feras Ahmad
 
Setting up audits and audit reports Fusion Cloud
Feras Ahmad
 
Oracle EBS R12 Self service user manual
Feras Ahmad
 
Oracle Fusion HCM Presentation
Feras Ahmad
 
Oracle Fusion HCM Presentation
Feras Ahmad
 
Best practices for fusion hcm cloud implementation
Feras Ahmad
 

Recently uploaded (20)

PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 

Custom employee number generation

  • 1. 1. Go to your businessgroup: Make the informationof BGlike this
  • 2. Go to enterand maintainfunction>personalize
  • 4. Target event: WHEN-NEW-ITEM-INSTANCE Target object : PERSON.PTU_ACTION_TYPE Condition: :PERSON.D_PTU_USER_PERSON_TYPE='Employee'
  • 5. Target object : PERSON.EMPLOYEE_NUMBER Value : = select'ADMM'||ltrim(to_char(nvl((selectmax(substr(ppl.employee_number,5, 4))+1 fromper_all_people_f ppl ,per_all_assignments_f paaf where ppl.business_group_id=135 and ppl.person_id=paaf.person_idandppl.employee_numberisnotnull ) , 0),'0009')) formatted_valuefromdual
  • 6. Go to create newEmployee >selectactionnewEmployee >selectEmplyee
  • 8. 2. How to Create Custom Employee Number Generation via Fast Formula 1. Create Sequence create sequence sac_emp_number start with1 2. Create Functionto GenerateDesiredSequenceNumber CREATE OR REPLACE FUNCTIONSAC_GENERATE_EMP_NUMBER( p_business_group_id IN NUMBER, p_person_type IN VARCHAR2, p_party_id IN NUMBER ) RETURNVARCHAR2 IS l_emp_number VARCHAR2 (15) := NULL; l_applicant_number VARCHAR2 (15) := NULL; l_npw_number VARCHAR2 (15) := NULL; l_auto_number VARCHAR2 (15) := NULL; BEGIN BEGIN SELECT employee_number, applicant_number, npw_number INTO l_emp_number, l_applicant_number, l_npw_number FROM per_all_people_f WHERE party_id = p_party_id AND TRUNC(SYSDATE)BETWEENeffective_start_date AND effective_end_date; EXCEPTION WHEN OTHERS THEN l_emp_number := NULL; l_applicant_number := NULL; l_npw_number := NULL; END; IF l_emp_number IS NULL AND l_applicant_number IS NULL
  • 9. AND l_applicant_number IS NULL THEN IF p_person_type = 'EMP' THEN l_auto_number := 'SAC-' ||sac_emp_number.NEXTVAL; ELSIF p_person_type= 'APL' THEN l_auto_number := 'APL-' ||sac_emp_number.NEXTVAL; ELSIF p_person_type= 'CWK' THEN l_auto_number := 'CONT-' ||sac_emp_number.NEXTVAL; END IF; ENDIF; RETURNl_auto_number; EXCEPTION WHENOTHERS THEN NULL; END; /
  • 10. 3. Attach Setup BusinessGroupto Global SuperHRMS Manager Navigation:System Administrator -> Profile-> System ResponsibilityName:Global Super HRMS Manager ProfileOptionName:HR: Security Profile Set Profileas “SetupBusinessGroup” atResponsibility Level Note: The Above StepisMandatory as one cannot generate AutoEmployee NumberingonanycustomBusinessGroup.Thiscouldbe possibleon "SetupBusinessGroup"
  • 11. 4. Create FormulaFunction: I. Navigation:Goto Global Super HRMS Manager -> Other Definitions -> Formula Functions II. FunctionName: SAC_NUMBER_GENERATION III. Parameters: • DataType:Text • Class:Externalfunction • Definition:<Nameof the Function> SAC_GENERATE_EMP_NUMBER ContextUsages
  • 12. Parameters 5. Create Fast Formula:EMP_NUMBER_GENERATION Navigation:GlobalSuper HRMS Manager -> Total Compensation -> Basic -> Write Formulas The Below Naming Convention should be used, so as to Generate Custom Auto Numbering Sequence for Employee,Applicant or Contingent Worker I. Employee EMP_NUMBER_GENERATIONPersonNumber Generation II. Applicant APL_NUMBER_GENERATIONPersonNumber Generation III. EmployeeCWK_NUMBER_GENERATIONPersonNumber Generation
  • 13. Type:PersonNumberGeneration Formula(Foryour Reference): default for party_idis 0 inputs are person_type (text), party_id (number) next_number = '0' next_number = sac_number_generation(person_type,party_id) return next_number