PTO Accruals - Ceiling value needs to be grade based
Release 11i.10.2
Details of the plan
=============
Accrual Formula = PTO_PAYROLL_BALANCE_CALCULATION
Carry Over Formula = PTO_PAYROLL_CARRYOVER
Payroll Balance Reset Date = 1st January
Period of Ineligibility = 6 months
Accrual Band
Years of Service = 0-99
Annual Rate = 30
Maximum Carry Over = 15
Requirement
========
Ceiling is to be 60 for employees in Grade A1-A5 and for the rest there is not limit.
Can someone please help me? The Standard form does not seem to fulfill the needs and when I open forumlas PTO_PAYROLL_BALANCE_CALCULATION, PTO_PAYROLL_CARRYOVER I am unable to understand exaclty which part of the code should be modified.
Pls Help
Regards
Woqar
To achieve your requirement, you need to change the accrual sub formula PTO_PAYROLL_PERIOD_ACCRUAL. Follow the below steps.
A.Create a pl/sql function :
1. Create a new Pl/Sql Function in similar lines with parameters as p_assignment_id, p_date_earned, p_plan_id and p_number_of_years;
2. The new function should call the pl/sql function per_utility_functions.Get_Accrual_Band passing values of p_plan_id and p_number_of_years.
3. After the above function call, invoke your custom procedure to get the accrual value based on grade (passing p_assignment_id and p_date_earned as parameters).
4. call the procedure per_formula_functions.set_number to set the ceiling value.
So overall your function should like this
FUNCTION <function name>(p_assignment_id NUMBER,p_date_earned DATE,p_plan_id NUMBER, p_number_of_years NUMBER ) RETURN NUMBER IS
< variables declaration>
l_ceiling number;
BEGIN
l_return := per_utility_functions.Get_Accrual_Band(p_plan_id,p_number_of_years);
IF l_return = 1 THEN
return l_return;
ELSE
l_return := <your custom function>(p_assignment_id,p_date_earned,l_ceiling);
l_error := per_formula_functions.set_number('CEILING' ,l_ceiling);
END IF;
END <function name>;
l_error := per_formula_functions.set_number('CEILING' ,l_ceiling);
B. Create a Formula Function with the above pl/sql function with p_assignment_id, p_date_earned, p_plan_id as context usages and p_number_of_years as parameter.
C. Copy the Formula PTO_PAYROLL_PERIOD_ACCRUAL and replace the entry of Get_Accrual_Band with your custom formula function defined in step B.
D. Copy the formula PTO_PAYROLL_BALANCE_CALCULATION and replace the entry of PTO_PAYROLL_PERIOD_ACCRUAL with your custom formula defined in step C.
Hope this helps.
Regards,
Sharath
Similar Messages
-
Distribute spacing value needs to be sticky
The Distribute Spacing value needs to remain sticky based on the last value I gave it. If I have previously distributed a series of objects to a set spacing value and then set it back to Auto prior to distributing another series of objects the value automatically switches back to the numerical value I gave it previously when I choose the key object. Illustrator needs to stop trying to think for me and just leave the value to what was last set, including and most importantly Auto. What's really annoying is that the change of value doesn't happen until you press the distribute button.
Hi,
Try like below:
data: l_len type i,
v_len type i,
l_syb type x value ''0A'.
field-symbols <fs> type any.
v_len = strlen( string ). "string is variable where you want to replace
while l_len lt v_len.
assign string+l_len(1) to <fs> casting type x.
if <fs> eq l_syb.
string+off(1) = ' '.
endif.
add 1 to l_len.
endwhile.
Regards,
Himanshu -
Dear All,
We are facing a problem in Accrual formula where
Accrual Term is 1-July to 30 June
Accruing Multiplier is 'M'
Accruing Frequency is 3 Months
Accrual Rate is 5 Days
Employee gets Leave at the end of each quarter
1st Quarter (July-Aug-Sep) - 5 Days
2nd Quarter (Oct - Nov - Dec) - 5 Days
3rd Quarter (Jan - Feb - Mar) - 5 Days
4Th Quarter (Apr - May - Jun) - 6 Days
Total 5+5+5+6 = 21 Days
This accrual Plan is working fine for employees joining before the accrual start date of 1-Jul or employees joining on the first date of the first month of any quarter.
But for any employee joining after 1-Jul we should get the prorated leave entitlement
We have identified and developed the logic for the number of days a new joinee would accrue if he joins in the middle of a Accrual period. I am detailing out the following logic
The SQL for this is as follows
SELECT (ROUND((21/365*(fffunc.days_between(:Hire_date,:Current_accrual_Period_End_Date)+1))/5,1)*5)*-1 FROM DUAL
My query to all Fastformula Gurus is that how can i incorporate this leave proration logic for employees joining in the middle of the accrual period into my Accrual Fastformula.
Any help is appreciated guys.
If anyone wants to look at the code for the Accrual fastformula, you guys can Message me on the forum
Cheers
SachinTo achieve your requirement, you need to change the accrual sub formula PTO_PAYROLL_PERIOD_ACCRUAL. Follow the below steps.
A.Create a pl/sql function :
1. Create a new Pl/Sql Function in similar lines with parameters as p_assignment_id, p_date_earned, p_plan_id and p_number_of_years;
2. The new function should call the pl/sql function per_utility_functions.Get_Accrual_Band passing values of p_plan_id and p_number_of_years.
3. After the above function call, invoke your custom procedure to get the accrual value based on grade (passing p_assignment_id and p_date_earned as parameters).
4. call the procedure per_formula_functions.set_number to set the ceiling value.
So overall your function should like this
FUNCTION <function name>(p_assignment_id NUMBER,p_date_earned DATE,p_plan_id NUMBER, p_number_of_years NUMBER ) RETURN NUMBER IS
< variables declaration>
l_ceiling number;
BEGIN
l_return := per_utility_functions.Get_Accrual_Band(p_plan_id,p_number_of_years);
IF l_return = 1 THEN
return l_return;
ELSE
l_return := <your custom function>(p_assignment_id,p_date_earned,l_ceiling);
l_error := per_formula_functions.set_number('CEILING' ,l_ceiling);
END IF;
END <function name>;
l_error := per_formula_functions.set_number('CEILING' ,l_ceiling);
B. Create a Formula Function with the above pl/sql function with p_assignment_id, p_date_earned, p_plan_id as context usages and p_number_of_years as parameter.
C. Copy the Formula PTO_PAYROLL_PERIOD_ACCRUAL and replace the entry of Get_Accrual_Band with your custom formula function defined in step B.
D. Copy the formula PTO_PAYROLL_BALANCE_CALCULATION and replace the entry of PTO_PAYROLL_PERIOD_ACCRUAL with your custom formula defined in step C.
Hope this helps.
Regards,
Sharath -
IRecruitment: Populate Values in Offer Details DFF based on Vacancy Grade
Hello All,
I have enabled Additional Offer Details DFF while creating Offer for an Applicant of an open vacancy.
I need to automatically populate values in these DFF fields based on the grade defined in vacancy (also available on offer creation page). I want to populate these fields automatically through using inline query that would be based on the vacancy grade (also shown on offer page).
How can I build this query as I dont know whether the vacancy/offer grade is available in the create offer profile region or not.
For Example
Offer/Vacancy Grade = 4
DFF Field 1 (Additional Offer Details) = Housing Allowance
Query should be like this: If Grade is 4 then Housing Allowance = 15000 - Now I want this 15000 value to be automatically populated in the Housing Allowance field when we click on the Create Offer for a respective applicant.
For your information the grade and housing allowance values relationship is configured in User Tables
Awaiting your help
Thanks & Regards,
Beilal KhanHello Everybody,
Any thoughts or workarounds on How can I automatically populate (through Default SQL Query - While Defining DFF Segments) Offer Details DFF Fields on Create Offer page. The Default values will be based on Vacancy Grade which is also available on the Offer page, I just need to know how can I get to dynamically know this while I am creating offer.
This is very critical, i would greatly appreciate your thoughts on this.
Thanks in Advance,
Regards,
Muhammad Beilal -
PTO Accrual not showing in Statement of Earnings?
I have defined two PTO Accruals. Privilege Leave(PL) and Sick Leave(SL). Both are almost similar accruals except no of days permitted. PL is working correctly and showing up in Statement of Earnings while SL is not even showing up in Statement of Earnings. Please Help with possible causes!!!
Hi Naveen,
The SOE inforamtion is not stored in any tables as such. It picks the data from various fields and populates. The data in SOE is configured through Work Structure --> Oraganization --> Description .
query for business group in the addition organiaztional information there is a button Others. there you will find SOE inforamtion and Detailed SOE inforamtion. U need to configure the required data in these tabs.
Regards,
Prashanth -
I have a early 2008 Macbook Pro, need to up grade the hard drive so that I can add a windows environment what is the largest drive that I can put in this computer? Is the storage size the constraint or the physical size of the drive? Or a combination?
The largest capacity HDD that you can install is the HGST 1.5 TB HDD:
http://eshop.macsales.com/item/HGST/0J28001/
Any 2.5" 9.5mm thick SATA HDD will fit and operate in your MBP, regardless of capacity.
Ciao.
Message was edited by: OGELTHORPE -
How to prevent new leave request from SSHR in case of negative PTO accrual
Hi folks,
I am stuck with a peculiar problem.
There are employee in our system who have negative PTO accruals and when they try to create Leave from SSHR, the system allows them to create a leave with a warning.
*"This absence will decrease the employee's PTO net entitlement to less than zero for one or more of their accrual plans."*
I want to prevent the users to complete the Absence form from SSHR, if they have negative PTO accruals.
How can I achieve this, I thought it would be pretty straight forward controlled by a profile !!!
Any help would be appreciated.
Regards
Shah AlamHi,
I also have similar requirement, I have done the following to achieve this.
1. Created a custom package with the following procedure.
PROCEDURE NEG_ACR_BAL_CHK ( P_ABSENCE_ATTENDANCE_TYPE_ID NUMBER
,P_EXCEEDS_PTO_ENTIT_WARNING BOOLEAN)
IS
CURSOR CSR_GET_ABS_CAT IS
SELECT ABSENCE_CATEGORY
FROM PER_ABSENCE_ATTENDANCE_TYPES
WHERE ABSENCE_ATTENDANCE_TYPE_ID = P_ABSENCE_ATTENDANCE_TYPE_ID;
l_abs_category varchar2(20);
BEGIN
--Get Absence Category
OPEN csr_get_abs_cat;
FETCH csr_get_abs_cat INTO l_abs_category;
CLOSE csr_get_abs_cat;
IF (l_abs_category <> 'NWPL_AL') AND (P_EXCEEDS_PTO_ENTIT_WARNING = TRUE) THEN
fnd_message.set_name('PER','HR_LOA_EMP_NOT_ENTITLED');
fnd_message.raise_error;
END IF;
END NEG_ACR_BAL_CHK;
2. Then hooked this custom procedure, to the hook package of absence, "HR_PERSON_ABSENCE_BK1.CREATE_PERSON_ABSENCE_A". As per the, note: "Understanding and Using API User Hooks".
Hope this is of help to you.
Regards,
Sri. -
During LTP material master values need to be modified
Hi ,
We are implementing LTP process in company. while LTP Run it pick the MRP1234 values for Simulative order creation. We have requirement to change the MRP1234 only during LTP run. Were as the MRP run will run with normal material master(MRP1234) values.
The values need to be changed are during LTP run are MRP group , Lox size etc., '''Thank you.. Almedia and köller..
We are already using this badi MD_MRP_PARAMETERS. We are facing the following problem
For example
header ATEST
component BCOMP
We need to switch off the bulk indicator and phantom for the component.
We are using the above bapi its manipulation only the header (ATEST) material master data but in LTP run during creation of header simulative planned. Component simulative dep requirement values are copied from material master. In this above bapi we are manipulating only header values.
When the next loop during component simulative planned order generation time the above parameters(bulk and phantom) are copied from component simulative dep requirement. Hence the switching of bulk indicator and phantom assembly is not working during ltp using this badi. This problem is happening for multi level components too.
Is there any suggestion for this issue.. -
I have a Mac Pro 1.1 and want to add one or two HD displays or HDTVs to my computer. I do a lot of work with Photoshop and need a larger work area.
What do I need to up grade my computer? Which displays and or HDTV's might be the most cost effective to get?Disk drive using native SATA bus interface will allow the drive to copy and always present and ready.
But once you have backup any hourly changes should be smaller and as long as the NAS and your switch should allow enough.
You should always have off line backups and don't rely on just one backup set or just TimeMachine.
WD RED models are designed for RAID and NAS and 7.2k instead of your more standard slower green 5400 rpm green models while still costing less than WD Blacks.
http://www.amazon.com/gp/product/B008JJLW4M/
How to clone your system:
http://macperformanceguide.com/Mac-HowToClone-backup.html
http://macperformanceguide.com/Mac-HowToClone.html
http://www.macupdate.com/app/mac/7032/carbon-copy-cloner
Using Cloning as a Backup Strategy
http://www.macupdate.com/app/mac/7032/carbon-copy-cloner
http://www.bombich.com/software/updates/ccc-3.5.html
Clone to internal, TimeMachine to NAS is one way to go at it. -
I have OS X 10.5.8 and need to up-grade to use my iphone 5 how
I have OS X 10.5.8 and need to up-grade to use my iphone 5 how
Welcome to the Apple Support Communities
1. Install iTunes 10.6.3 > http://support.apple.com/kb/DL1575
2. Call 1-800-MY-APPLE to buy Snow Leopard. Make a backup, insert the disc and upgrade. Then, open > Software Update to update to the most recent version. Open App Store and purchase OS X Mountain Lion. See if your programs are compatible > http://www.roaringapps.com -
OS X mavericks slowed down my mac mini, i need to down grade
OS X mavericks slowed down my mac mini, i need to down grade. please assist.
See the 'user tips'…
How to revert OS X back from Mavericks
Apple: Restoring a previous OS X version
Or you could consider troubleshooting why 10.9 is slow…
Mac is slow after upgrading to Mavericks
Many other users are having sucess by using EtreCheck to show what is installed so they can remove or update the 3rd party software, it can be a long process.
http://www.etresoft.com/etrecheck
The choice is yours, if you have a backup just revert to that. -
Ceiling value of a double [decimal]
I have a double variable
double var = 100.1
I would like to know if there are any inbuilt functions to get the ceiling value of this variable. Ideally
ceiling(var) should give me 101.Take a look at the 'ceil()' method in class java.lang.Math:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Math.html#ceil(double) -
Need a measure variable based on dimension
Dear Experts,
I need a variable based on dimension.This should gives the values from 1 to n based on dimension.
Suppose i have a column "Wage type".If it has 10 rows,Then for first one it should be 1 and second one it should be 2 and so on.I want to implement break for this dimension,even though the variable should give same values as i mentioned above.
I try to use RowIndex and Count functions.But i couldnt get my requirement.
I want to use this values in Xcelsius.
I hope you can understand issue.
Regards
Venkat
Edited by: Venkat8130 on Jun 23, 2011 7:24 AMHi,
I worked on the same issue, in my case result in following format
year........count...month......revenue
2001........ 1........ jan............100
.................2.........feb............200
.................3......... mar...........300
.................4......... apr............400
2002.........1...........jan..........500
.................2..........feb...........600
.................3..........mar..........700
If you are expecting the same format, first break the report deportment wise. Create the variable count with bellow formula.
=RunningCount([Month];Break)
Regards,
Shahin.
Edited by: shahin13 on Jul 19, 2011 8:58 AM
Edited by: shahin13 on Jul 19, 2011 9:04 AM -
Need to default dates based on appraisal model in Java Iview MboStatusApp
Hi Gurus,
I Need to default dates based on appraisal model selected in Java Iview MboStatusApp in MSS->Team->Performance Managemeent->Update Appraisals of reportees->Status overview .
In this iview we have drop down with list of appraisal models along with the validity period(Start and end date)
Trails Made : HRPDV00APPRAISAL0001 - I made an implementation for this BADI along with the iview settings at
self services - > Use Evaluation Period for Employee Selection set to 'NO'.
But when i tried to run the iview after implementation of BADI , i see there is no execution of BADI .
My Basic requirement is when manager select any appraisal model say 2009 's appraisal model then dates must be as
start date : 01/01/2009 End data : 12/31/2009
when i select 2011 appraisal model
start date : 01/01/2011 End data : 12/31/2011
Please help !
Appreciates the efforts made !!!Hi Reddy, did you get any solution on how to change the initial date in Status overview?
Best regards
Lasse Finderup -
Need to generate XML based on Data template
Hi,
I'm unable to submit (the second submit) my request using the demo links (XDO 5.6.3 or XDO 5.7) provided in http://bipublisher.us.oracle.com/?tab=samples&header=dataTemplate to generate the XML based on the data template.
Heard that these links are available for Oracle EBS internal use. I work with EBS-CRM. I need to generate XML based on a data template and use the XML in the template. Data template has two queries for a template.
Pls help.
Thanks,
ImphaImpha
Please use the internal mailing list for your questions the forum is meant for external customers. If you do not know the ML name - drop me a mail
Tim
Maybe you are looking for
-
Hi all, How can I get the created by attribute of an IUser object? Thx Ismail
-
How do i add thunderbolt display
Having trouble with adding thunderbolt display to macbook pro. Followed instructions but screen on thunderbolt not turning on?
-
Update install fail with Error 81 ; "another installer running" I have no other installers running on this machine. Any solutions to this? Thanks!
-
Create procedure in different scheam
Hi Team, I have a requirement like i have 2 schema like Schema A and Schema B in Schema A have procedure like SP_EMP_DETAILS this procedure need to create in Schema B as will present we are using manual process copy the script from Schema A and past
-
i am unable to find icloud in my system preferences. What do i do? I don't have time to get to apple until next week and now im going to lose a bunch of data bc i can't update my icloud starage.