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
Swpana
Hi,
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!!
Similar Messages
-
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 -
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 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 -
How to create the custom infotypes in Campus Management
Hi,
Please help me how to create the custom infotypes in campus management.
Thanks,
Lakshmi.Hi,
Steps to create a HR Infotype:
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level)
Subtype Creation :
Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
Subty.text tab is T591S and time const tab is T591A.
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
HR related site:
http://www.sapdevelopment.co.uk/hr/hrhome.htm
Enhancement of Infotype
Check the following
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf
Infotype Enhancement overview screen
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
Cheers,
vasavi.
kindly reward if helpful. -
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 -
This Custom Table is create in Custom Schema and Refers to Seeded Table in APPS schema
1 create table test_dff (test_id number(15) primary key,
2* invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE)
SQL> /
invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE
ERROR at line 2:
ORA-02270: no matching unique or primary key for this column-list
How to create this Custom Table on Custom Schema
thanks in advancehi prashant
sorry for replying late, i have checked your query and it gives me no rows, but if i check for user_cons_columns it gives me no rows either in APPS Schema, but in AP schema it gives me
SQL> SELECT * FROM user_cons_columns WHERE table_name = 'AP_INVOICES_ALL';
OWNER CONSTRAINT_NAME TABLE_NAME
COLUMN_NAME
POSITION
AP SYS_C008177 AP_INVOICES_ALL
INVOICE_ID
SQL> SELECT constraint_name, constraint_type FROM user_constraints WHERE table_name = 'AP_INVOICES_A
LL';
CONSTRAINT_NAME C
SYS_C008177 C
SYS_C008178 C
SYS_C008179 C
SYS_C008180 C
SYS_C008181 C
SYS_C008182 C
SYS_C008183 C
SYS_C008184 C
SYS_C008185 C
SYS_C008187 C
SYS_C008189 C
SYS_C008191 C
and since this is a combination of Unique and Not Null Constraints , i am getting the same issue. do u have any solution to make the Detail table records to delete without using Alerts/DB Triggers?
thanks for your time .
abdul rahman -
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 Create the Custom print Quote Report ?
Hi All,
I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
Note: 468982.1 - How To Customize The Asoprint.Xsl
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
Oracle Metalink:
Note: To add a column to the print quote report, following files need to be updated:
LinesVO.xml --- xml files containing the sql query and attribute definition
LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
This class contains the set and get for the attributes defined in xml file.
ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
This file needs to be modified to include the new column being added to the report
QUESTION :
My question is,
1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
I want to add new fields on to the report . When i looked into the it says the below
Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
This report uses following VO's
PROMPTVO
HEADERVO,
LINESVO.
To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
ThanksHi All,
I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
Note: 468982.1 - How To Customize The Asoprint.Xsl
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
Oracle Metalink:
Note: To add a column to the print quote report, following files need to be updated:
LinesVO.xml --- xml files containing the sql query and attribute definition
LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
This class contains the set and get for the attributes defined in xml file.
ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
This file needs to be modified to include the new column being added to the report
QUESTION :
My question is,
1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
I want to add new fields on to the report . When i looked into the it says the below
Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
This report uses following VO's
PROMPTVO
HEADERVO,
LINESVO.
To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
Thanks -
How to create a custom function module with the records in SAP R/3?
Hi All,
How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
Regards
SaraHi
goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
Look at the below SAP HELP links, These links will show you the way to create a Function Module
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm -
How to create a custom layout set to display the KM folders...
Could someone please tell me how to create a custom layout set to display the KM folders?
Thanks,
Sudha.Hi Sudha,
Please check the following blogs whick will guide you step by step.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4123
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3071
http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/c91b5610b65b4aa8204d09384d156b/frameset.htm
If helps reward points
cheers
dev -
How to create a custom task in SRM for the standard task
Hi Gurus,
How to create a custom task in SRM for the standard task eg: TS10407929
regards,
George.from PFTC itself. Same.
-
How to create the custom charts?
how to create a custom charts? for example the donut shapes, but for the data can be automatically adjust (like a available charts on keynote)
Keynote and Numbers do not have a tool for making Donut Graphs. There are ways to make them using HTML, but I prefer to cheat:
1 Create your first graph as a pie chart and add a circle of solid color to the center
2. If you need more, take a screenshot of the pie chart with the center fill and drag the screenshot into Preview - in Preview > Select Tool (pulldown from Toolbar) > Instant Alpha and remove the inner filled circle and outer fill then Save As > PNG with Alpha
3. Drag your new hollow shape into Keynote. This chart can be placed over another pie chart with a filled center (the fill should match the background)
Not as graceful as a special tool but can get the job done quickly - changing the data requires starting it over since at least one of your donuts my be an image rather than a pie chart with variable data.
Try it. If you need more specific tools, Google Donut Shaped Charts for starts.
Good luck -
How to create the custom table?
Hi, how to create the custom table and how to integrate the table with defferent R/3?
my requiremnt is i have to create the two tables and those i have to integrate with the existed R/3 and using those R/3 i have to update my custom tables .....can give me some idea?
Tks
DPkhow to create the custom table
There are two approach in creating a table.
1. Bottom-up approach
2. Top-down approach.
Both are valid and you can choose which approach is suitable for you. I always use the bottom-up approach. Here are the steps to create the tables with this approach.
1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create.
2. Enter the short discription of the table and enter the field of the table. If it is primary key and you have to check the box.
3. Enter the data element and double click it, you will be asked to save and will take you to data element discription page. Enter the short discription of the data element and enter the information of domain like the length of field and type of field.
4. If you wanted to use the existing domain then its fine, or else, you have to create one. Enter the domain name in the data element page and double click it. Page will ask to save and jump to domain creation page.
5. In the domain page, you have to save the information which you have already given in the data elements page and check it. Before going to data element page, you have to activate the domain.
6. Go to data element page and save, check and activate.
7. Go to main table page and save, check, and activate.
8. Also, you have to save the technical settings of the table.
The table is now ready for operation. You can use it in your program or you can use it to enter information.
Check table: It is the table which will have all the information about the Foreign keys which are the primary keys in the check table.
It can be created by creating the foreign key from the main table. Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically.
SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.
how to integrate the table with defferent R/3
Transport the Table to the another server/client/qas/prd
Kanagaraja L -
How to create an custom template for cheque printing layout?
Hi, I have a question about cheque printing format set up in SAP Business One.
All the the system standard templates in u201CCheque print lay out designeru201Dare u201Ccheque-stub-stubu201D or u201Cstub-cheque-stubu201D or u201Cstub-stub-chequeu201D (three portions). What I need is u201Ccheque-stubu201D (two portions)only. Anyone knows how to create an custom template?
Thanks.
Edited by: Angela Zhang on Jan 17, 2010 7:18 AM
Edited by: Angela Zhang on Jan 17, 2010 7:18 AMHi Angela,
Check the thread,
Re: Preprint AP check - stub/check repetitive area fram size
CHECK PRINTING
Re: check/cheque for payment printing posting date on stub
PLD Check-Stub-Stub
PLD Check
PLD Multiple Check printing
Regards,
Madhan.
Maybe you are looking for
-
External hard drives not on desktop
None of my external hard drives are showing up on the desktop. I can see them in finder and disk utilities so the card is working correctly. Any suggestions? mac pro quad 10.6.7, 5 external drives. Thanks
-
How do i download my Kindle library to my i-phone 5c?
How do I download my kindle library to my I-phone 5c ?
-
Video out Ipad interface screen
How can I use the iPad to project out the interface screen with the video out cable ? Is there an app I can use to do so ?
-
Dear Experts, Our client requirement is : In FB03, They want to give multiple documents in Document list to get clearing documents against nature of expenses document. If it is single document then clearing document option availbe in the layout, whe
-
How to delete my pictures folder[about180GB]
how to delete my pictures folder[about180GB]