Automatic employee number generation
Hi,
When installing Oracle HR, we had choosed manual employee number generation and then we changed to the automatical mode. Now, we need to return back the the manual mode.
I ask if there tips to do that?
best regards,
Mourad.
Pl see MOS Doc 452044.1 (Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr)
HTH
Srini
Similar Messages
-
How to change Employee Number Generation from Manual to Automatic
Hi,
We have given Employee Number Generation Manual while creating Business Group. Now we want to change that to Automatic. I have tried to change but I count not.
Please tell me what are all the steps needed to change Employee Number Generation From Manual to AutomaticHi,
1. Goto org screen --> query business group
2. Click other --> Business Group info
3. Change second option from Employee Number Generation from Manual To Automatic.
Also look
Employee number generation process
Hope it work for u.
Ayaz
Edited by: Ayaz on Dec 20, 2010 7:15 PM -
Custom Employee Number Generation Using Fast Formulas
Hi,
I have a requirement to generate custom employee numbers like "EMP100001". we have already created a business group with the setting of Employee number generation as Automatic. but we need to generate custom employee number as Format given above instead of automatic number generation.
I have created my own PL/SQL Package to generate custom employee number as per Person Type. Also created a Fast Formula Function with the following parameters -
Name = Get_Custom_Number
Data Type = Text
Class = External Funtion
Alias Name = NULL or what you want the alias to be
Description = Returns the next custom number value
Definition = CUSTOM_EMP_NUMBER_GENERATION.Get_Custom_Number (PL/SQL Function)
Proving the following Context usages and Parameters details to the Fast Formula Function -
Context usages:-
Number = 1
Context Name = BUSINESS_GROUP_ID
Data Type = Number
Parameters as defined in PL/SQL function
1 p_legislation_code Text Input Only
2 p_person_type Text Input Only
3 p_person_number Text Input Only
4 p_party_id Number Input Only
5 p_person_id Number Input Only
6 p_national_id Text Input Only
7 p_date_of_birth Date Input Only
Than i created a Fast Formula using the following navigation
Total Compensation > Basic > Write Formula
with following details -
Name = EMP_NUMBER_GENERATION
Type = Person Number Generation
Description = Returns next Employee number
and wrote my formula code.
When i created a Employee from Enter and Maintain People screen it is showing automatic number instead of my custom employee number.
I m not able to find where i m missing the logic or some parameters?
If anyone has come across such situation, please provide some pointers here.
Thanks
RenuWhat is the application release?
Please review these docs and see if it helps.
Is it Possible to Update Generate Employee Number Method From Automatic to Manual? [ID 393827.1]
Need To Change The Employee Numbering From Automatic To Manual [ID 291634.1]
Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr [ID 452044.1]
How to Prefix a Zero on Custom Employee Numbers [ID 822425.1]
How To Implement Custom Person Numbering Using FastFormula Based on User Person Type Instead of System Person Type [ID 372696.1]
Thanks,
Hussein -
API to get Employee Number Generation method
Hi,
We need to find out employee number generation method at run-time. (Automatic/Manual)
Is there any standard API to find it out?
ThanksHi,
You can get the value from 'METHOD_OF_GENERATION_EMP_NUM' column of PER_BUSINESS_GROUPS view.
Thanks
Satheesh -
Employee number generation process
Hi All
Please guide me how to change an employee number generation process which is already set as automatic to manual and vice-e-versa ?
Please help.Welcome to the forums !
Pl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
How to Change Employee Numbering from Manual to Automatic? (Doc ID 292257.1)
Is it Possible to Update Generate Employee Number Method From Automatic to Manual? (Doc ID 393827.1)
Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr (Doc ID 452044.1)
How to control automatic employee numbering? (Doc ID 473065.1)
Need To Change The Employee Numbering From Automatic To Manual (Doc ID 291634.1)
More information will be available in the HR Implementation Guides for your EBS version at http://www.oracle.com/technetwork/documentation/applications-167706.html
HTH
Srini -
How to Customize Employee Number Generation?
m trying to generate a custom employee,applicant numbers through a dummy business group.
I've created on Application: Oracle E-Business 11.5.10.2 the work structure and am now on the step of customizing the employee generating number.
I followed the link steps:
Below steps already done:
Technical Side:
1- Create New Sequence in DB.
-----Sequence Code----------
DROP SEQUENCE APPS.APPSLEAD_CUST_NUMB;
CREATE SEQUENCE APPS.APPSLEAD_CUST_NUMB
START WITH 1
MAXVALUE 999999999999999999999999999
MINVALUE 0
NOCYCLE
NOCACHE
NOORDER;
2- Create New Package for issuing the numbers.
----------Package Code--------------
Create or replace package appslead_package as
Function get_emp_custom_number (
p_business_group_id IN number
,p_legislation_code IN varchar2
,p_person_type IN varchar2
,p_person_number IN varchar2
,p_party_id IN number
,p_person_id IN number
,p_national_id IN varchar2
,p_date_of_birth IN date
) return varchar2;
end appslead_package;
Create or replace package body APPSLEAD_PACKAGE as
Function GET_EMP_CUSTOM_NUMBER (
p_business_group_id IN number
,p_legislation_code IN varchar2
,p_person_type IN varchar2
,p_person_number IN varchar2
,p_party_id IN number
,p_person_id IN number
,p_national_id IN varchar2
,p_date_of_birth IN date
) return varchar2 as
/*Check if the person id is exists on the system or not*/
cursor person_exists is
select employee_number,applicant_number,npw_number
from per_all_people_f
where party_id = p_party_id;
--and p_effective_date between effective_start_date and effective_end_date;
lseq_num number;
l_next varchar2(30);
l_emp_num varchar2(30);
l_apl_num varchar2(30);
l_npw_num varchar2(30);
begin
open person_exists;
fetch person_exists into l_emp_num,l_apl_num,l_npw_num;
if person_exists%notfound then
Select to_char(Appslead_Cust_Numb.Nextval) Into lseq_num From Dual;
l_next := 'AppsLead-'||lseq_num;
return l_next;
Else
If p_person_type = 'EMP' then
l_next := l_emp_num;
Elsif p_person_type = 'APL' then
l_next := l_apl_num;
Elsif p_person_type = 'CWK' then
l_next := l_apl_num;
End if;
End if;
Close person_exists;
return l_next;
end get_emp_custom_number;
End appslead_package;
Functional Side:
1- Create or Modify Business Group Employee numbering method to Manual.
2- Create New Formula Function.
3- Create New Formula EMP_NUMBER_GENERATION with Type "Person Number Generation"
------Formula Script--------
EMP_NUMBER_GENERATION
Create Custome formula for generation employee number*/
DEFAULT FOR Person_Number IS ' '
DEFAULT FOR Party_ID IS 0
DEFAULT FOR Person_ID IS 0
DEFAULT FOR National_ID IS ' '
DEFAULT FOR DATE_OF_BIRTH IS '1900/01/01 00:00:00' (date)
DEFAULT FOR Hire_Date IS '1900/01/01 00:00:00' (date)
INPUTS ARE
Legislation_Code (text),
Person_Type (text),
Person_number (text),
Party_id,
Person_id,
Date_of_birth (date),
Hire_date (date),
National_ID (text)
Next_Number = '0'
Invalid_msg = ' '
IF Person_Type = 'EMP' then
Next_Number = TO_CHAR(Get_Emp_Custom_Number(Legislation_Code,Person_Type,Person_Number,Party_Id,Person_Id,National_ID,Date_Of_Birth))
Else
Invalid_msg = 'This is not an person_type of Employee!'
Return Next_Number
Now, when I create a new employee I need the employee number to appear as
"AppsLead-Emp-00001"
But its not, and the screen of employee master is not allow to create an employee without filling the number.
How to do the same?
What should be the Employee Number Generation ?
1- Automatic generation with Global Sequencing
2- Manual
If your answer is manual, in the employee master screen, the employee id is required and when you create the employee the id should be entered.there are some fast formula you can use.
Please check metalink -
How to Create an Custom Employee Number Generation ...
Dear Friends,
We are Implementing HRMS Suite Version12i, for one of the Client in Middle east.
One question about Custom Person Numbering.
How to create custom employee numbering Based on the User Person Type?
Example:
Two person types
o Permanent Employee
o Probationary employees
We Need to give two different numbering schemes for each person type.
eg Permanent Employee will use a seq begin 100000 whereas Probationary employees (other user type) will use a sequence beginning 200000.. Can any pls let me know how to handle the Custom Employee Number Generation (with Setups)
With regards
SwpanaHi,
Could you please help me to write/or send a sample of a Person Number Generation Formula.
I don't see the noteid : 279458.1 on metalink,I get the following message:
Article or Bug cannot be displayed. Possible reasons are:
The article Id or bug number was entered incorrectly. Please check and try again.
The article Id or bug number does not exist (was referenced incorrectly).
The article or bug is not classified as publicly accessible ("non-public").
The content is being updated and it is temporarily unavailable but will be made available again soon.
If you still have questions about why you could not access this article or bug, please use Feedback.
Please help!! -
Enhancement for Automatic Serial Number Generation
Hi,
Has anybody worked on the enhancement iqsm0001?
If so, please give me some idea on how to use this enhancement for automatic serial number generation.
Thanks for your kind help.
Regards,
Renjith Michael.Hi Renjith,
You can check the following link, Hope it helps you to some extent:
Re: Implement unique serial number within a client
And you can also try user exit EXIT_SAPLIPW1_001 for Automatic serial number assignment. -
Automatic Batch Number Generation in tcode MIGO...
Hi Experts,
There is automatic Batch Number is generated after clicking on Pushbutton "Check" in transaction code MIGO. Instead of that user want Batch Number Generation after clicking on Pushbutton "Post" . Can anybody tell me the procedure for the same..
Thanks in advance.
Best Regards,
VinayakHI Vianayak,
You can implement a Badi for your logic.
You can implement Badi :MB_MIGO_BADI and write your logic in method CHECK_ITEM .
Here you can restrict the Batch number based on Fcode for the Check and Post buttons.
Like if the user click on Check button: based on the fcode for the check button u can restrict it and similarly if the user click on Post button you can pass the value for Batch number. This method get called in both the cases.
Hope this solves your problem.
Regards,
Satyam -
Hi All,
I want to generate the employee number automatically by using the sequence number generated using custom logic. Not the oracle predefined. How can i accomadate this logic.
It should be generated based on the Employe type and nationality. I mean after i fill in the personal data based on that data employee number should be genearted.
Before saving the record. Can onyone help on this solution.
Thanks N Regards,
PrashanthMy goodness, are you sure you really want to do this? You are customizing something pretty basic in Oracle. You do have the choice of using the national indentifier to auto generate the employee number in Oracle. Perhaps that might work out for your situation. Otherwise may want to pay Oracle to customize this for you, and thus make sure you have a supported solution.
John Dickey -
How to generate customize employee number
Hi,
I am trying to generate customize employee number and for that i have taken following steps
1. I changed employee number generation from automatic to manual
2. I created a sequence
3. I wrote a pl/sql code to create a customize employee number using the sequence concating it with text like 'EMP||'-'||seq.nextval.
4. I registered the pl/sql code in apps through formula function window.
But when i create a new employee it doesnt generate customize employee number.
Any Idea where am i mistaking.
Regards
MajidYou need to use the EMP_NUMBER_GENERATION fast formula of type Person Number Generation
The formula needs to be setup in the Setup Business group (business group id = 0)
Call your pl/sql function through the formula function in the EMP_NUMBER_GENERATION fast formula
Look into the help in the fast formula window for help on the the EMP_NUMBER_GENERATION fast formula.
The name of the fast formula has to be EMP_NUMBER_GENERATION for Employees, CWK_NUMBER_GENERATION for contingent workers and APL_NUMBER_GENERATION for applicants.
There was some document in metalink but was later removed by Oracle citing that it is a customization.
Also check this thread
simple employee number generationformula needed
Hope this helps.
-Debojyoty -
Hi All,
I have an issue .Please share ur knowledge in it and help me solve it .
I am creating employee with api hr_employee_api.create_employee ,then I do all other api calls like address , assignment ,assignment criteria and finally insert salary proposal .
The whole piece of PL/SQL code containing the api is called from a Wokflow function .
The issue is for few employees created Employee number is not being populated in per_all_people_f .(Out of 4000 employees created via that code 5 employees dont have their employee number)
Employee number generation is automatic as per our settings .
Expecting a solution from u all .Thanks uHi vee,
Thanks soon after the alteration according to the page process given by you i can able to insert a new image corresponding to an employee_number..
But vee, in my table i have taken employee_number has a primary key column as i doesnt allow duplication......so for that i have altered the page process to the below......
declare
l_count number(25);
begin
select count(*) into l_count
from a_images2
where employee_number = :P2_EMPLOYEE_NUMBER;
if l_count = 0 and :P2_BLOB_CONTENT IS NOT NULL
THEN
INSERT INTO A_IMAGES2 (EMPLOYEE_NUMBER, FILE_NAME, BLOB_CONTENT, MIME_TYPE)
SELECT :APP_USER,FILENAME, BLOB_CONTENT, MIME_TYPE
FROM APEX_APPLICATION_FILES WHERE NAME = :P2_BLOB_CONTENT;
DELETE FROM APEX_APPLICATION_FILES WHERE NAME = :P2_BLOB_CONTENT;
elsif
l_count=1 and :P2_BLOB_CONTENT IS NOT NULL
then
update a_images2
set BLOB_CONTENT=:P2_BLOB_CONTENT
where employee_number=:P2_EMPLOYEE_NUMBER;
END IF;
COMMIT;
END;so, for what logic i have framed the above process means,
Suppose if a employee wants to upload his photo for the first time means, he needs to insert newly into the table....For that i performed insertion into the table in the above query......If an employee needs to update his photo means, he needs to update for that i used update statement in the above query.......
I guess there is no any mistake in my above page process..........
if i tried to update a photo using the above page process query means, it is returning the error like........
ORA-01465: invalid hex numberi couldnt guess what might be the issue over here....
Whether my above page process logic is right, vee............
incase any mistakes, point it out vee.......
Thanks
Mini... -
Dear Gurus
As we are implementing HRMS, client needs the employee number should be generated automatically. There are two types of employee, one type of employee number should be A1000 & other should be B1000. I have given the employee number generation as manual in the BG setup. and added a personalization with the below code.
Condition : PERSON.D_PTU_USER_PERSON_TYPE= 'Employee'
Value
= select 'A' || (nvl(max(to_number(substr(employee_number,2))),999)+1)
from per_all_people_f
where EMPLOYEE_NUMBER like 'A%'
and business_group_id = 81
One more point, i want to include that, iRecruitment module going to be implemented. so applicants can be hired as employee. Will it make any problem.
Please share your experience about this process.What is the application release?
Please review these docs and see if it helps.
Is it Possible to Update Generate Employee Number Method From Automatic to Manual? [ID 393827.1]
Need To Change The Employee Numbering From Automatic To Manual [ID 291634.1]
Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr [ID 452044.1]
How to Prefix a Zero on Custom Employee Numbers [ID 822425.1]
How To Implement Custom Person Numbering Using FastFormula Based on User Person Type Instead of System Person Type [ID 372696.1]
Thanks,
Hussein -
Employee and contractor number generation
We are implementing Oracle HRMS Rel 11i. We would like to record regular employees and contractor details. For contractors, we need to track and report on their assignments (department, job, location) and payrate alongwith their general information. So I feel that contractors should correspond to 'Employee' person type. A further requirement is that the employee/contractor number generation needs to be automatic and separate ranges (employees starting with 1 and contractors starting with 5000) need to be used. Is it right to set contractors as employee type and is automatic number generation using separate ranges possible?
Yes, you should have contractors as employee system type, otherwise you can not pay them.
we can not define a sequence to that with out wirting custom code.
But we can do it by creating either a new user person type or user status (on assignment) and use that to track the contractors. which also gives you flexibility in reports, by filtering the assignment status or person type, which ever you want to configure. -
Automatic number generation using the function module
Hai Everyone,
I have the doubt in automatic number generation.
i find the function module. the function module is
report 123.
*DATA: RC LIKE INRI-RETURNCODE,
NUMBER(10) TYPE C.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING OBJECT = 'HUGO'
NR_RANGE_NR = '01'
IMPORTING RETURNCODE = RC
NUMBER = NUMBER.
CASE RC.
WHEN ' '.
everything o.k.
WHEN '1'.
the assigned number lies in the critical area.
WHEN '2'.
this was the last number, next time the first number
will be assigned
ENDCASE.
write:/ number.
in that function module what i want to give the Exporting Object 'HOGO'. where i want to define the number range. what is meant by 'HOGO'.
If any one faced the same problem plz help me.
Thanks and regards,
P.Naganjana ReddyHai Chandrasekhar,
in that what i have to give. Plz help me in this.
Subobject data element
To-year flag
Number length domain
No interval rolling
Number range transaction
Warning %
Main memory buffering
Group table
Subobject field in group table
Fld NoRangeElement
Fields int./ext. no.range no.
Fld. NoRangeNo
Display element text
Thasnks and regards,
P.Naganjana reddy
Maybe you are looking for
-
Cinema Display goes to sleep after connection to MacBook Pro.
Hi, I've been using my 21" Cinema Display from my old G5 as the monitor for my new MacBook Pro. I used a Mini DisplayPort to DVI Adaptor to connect it to the MacBook Pro, and it has worked very well - until today. Now, as soon as I turn the MacPro
-
Use of Function CREDITLIMIT_CHANGE does not create change documents
Hello, I've been using this FM in a customer program for some time, now, but it was called to my attention that no change documents where being kept, aswell as no administrative data. Can't seem to find any SAP Note regarding this issue. Is this beha
-
Transaction handling in sender JDBC adapter
Hello, In a scenario where a third party application updates a field (counting it up) and we pick up these counts and zero out the field with the sender JDBC adapter, we would like that the third party application is not able to update while the JDBC
-
Mass upload of user photos in EP
Hi All, I have to do a mass upload of user photos in EP. I tried it in two ways. 1. In a network folder say 173.XX.XX.XXUserPhotos, I stored the photos and then I used the Mass photo upload iview, which is available inside collaboration demo role
-
Periodic crashes are cryptically documented by mcelog [solved]
i have been experiencing crashes about every 16-20 hours on a box with latest x86_64 build. booting with "nomce" does not affect the crash frequency. /var/log/kernel.log calls this explicitly a "hardware error" but i have checked hard disks (3 rai