PTO Carryover up front accruals

Hi
My PTO Carryover formula does not seem to work. I am using up front accruals (i.e. everyone is entitled to 25 days holiday from their hire date, they do not "acrrue" holiday and this 25 days is reset every year).
My main accrual formula is working fine, but the carry over process is not.
The carryover formula includes a Max_carryover of 15 days. However, everytime I run the PTO carry over concurrent process it carries over 15 days for everyone, even if they have fewer than 15 days left to take for this current year.
E.g. employee is entitled to 25 days. Takes 20, so has 5 days left. Run the carryover process, expect the new balance for the next year to be 30 (i.e. 25 + 5 carried over), but it isn't, it's 40.
Am happy to share my formulas with anyone if they wish to see it, but has anyone come across this problem before?
Thanks
Tim

Hi group,
I have searched metalink for a solution and I found out that I need to change the looping formula but the problem it’s protected it against update. How can I update it.
The note Number is
How to get Accruals to Calculate on Inactive Assignments (i.e.Unpaid Leave of Absence) Doc ID: Note:257877.1

Similar Messages

  • PTO Carryover

    Dears
    I need to set up the expiry date for the Carried Over Days as following:
    2012 Days should Carried over to 2013,
    2012 Days should not Carried over to 2014.
    2013 Days should Carried over to 2014,
    2013 Days should not Carried over to 2015.
    PTO Carry Over formula:
    DEFAULT FOR ACP_CONTINUOUS_SERVICE_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_SERVICE_START_DATE IS '4712/12/31 00:00:00' (date)
    INPUTS ARE Calculation_Date (date),
    Accrual_term (text)
    Effective_Date = to_date('3112' + to_char(Calculation_date, 'YYYY'), 'DDMMYYYY')
    IF (Accrual_term = 'PREVIOUS') AND (Effective_Date >= Calculation_Date) THEN
    Effective_date = ADD_YEARS(Effective_Date, -1)
    Expiry_Date = add_years(Calculation_date, 1)
    Max_carryover = 5
    Process = 'YES'
    RETURN Max_Carryover, Effective_date, Expiry_Date, Process
    My inviroment: R12.1.3
    Regards

    what are the parameters you are passing in carryover concurrent program.
    check weather you are using the correct combination of calculation date and the term.

  • PTO Carry Over Process errors out

    Hi ,
    I am trying to run the PTO Carryover process and I am giving the parameters for calculation date - 01-jan-2010 and accrual term as 'Previous'.
    I have a biweekly payroll and payroll period is '28-dec-2009' to '10-jan-2010'. We are using the seeded 'PTO_PAYROLL_CARRYOVER"
    formula in accrual screen. when I run the PTO Carryover process I am getting the below error.
    ORA-20001: An error has occurred in a user defined function at line 130 of the formula PTO_PAYROLL_CARRYOVER.
    The error text associated with the function call is:
    The system cannot calculate accruals for this date becuase the employee's payroll did not exist for the full accrual term..
    Please correct the problem with the function call, or contact your system administrator or support representative.
    I assume that i am getting this error because 31-dec-2009 falls in between payroll period 28-dec-2009 and 10-jan-2010. the seeded formula is calculating
    as of 31-dec-2009 which is in between payroll period. Can you please help me. we need to do the carry over process.

    Hi,
    What is the application release?
    Please see if these documents help.
    Note: 402404.1 - PTO Carryover Process Error: ORA-20001 Line 39 Of The Formula PTO_PAYROLL_CARRYOVER
    Note: 473272.1 - PTO Carryover Errors ORA-20001: An Error Has Occurred In A User Defined Function At Line 65 Of The Formula PTO_PAYROLL_CARRYOVER
    Regards,
    Hussein

  • Screen Carryover

    I'm using Safari for windows on a PC running XP. When switching between tabs, the whole screen from the previous tab stays visible in the new tab especially when it is the "top sites" page. I will go to another open tab and it still looks like the "top sites page". If I select text or a link or something like that, it will appear, but just that little piece (the same applies when I scroll).
    It sounds kinda similar to the "Black Screen" issue that some people were having with Safari & iTunes, but I tried that fix and it didn't help either.
    Please let me know if any of you have had a similar situation or know how to fix it, thanks

    Hi,
    What is the application release?
    Please see if these documents help.
    Note: 402404.1 - PTO Carryover Process Error: ORA-20001 Line 39 Of The Formula PTO_PAYROLL_CARRYOVER
    Note: 473272.1 - PTO Carryover Errors ORA-20001: An Error Has Occurred In A User Defined Function At Line 65 Of The Formula PTO_PAYROLL_CARRYOVER
    Regards,
    Hussein

  • Absence Management set-up Documentation

    Hello,
    Can anyone share any documentation about absence management. We wanted to start using this functionality. Any help is greatly appreciated.

    You can look at the following sources. If you know the basics of absences, suggest going through the PTO FAQ first, otherwise go through the comp and ben guide first.
    1. PTO FAQ -
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:5911870172542922414::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,146730.1,1,1,1,helvetica
    2. Oracle HRMS Compensation and Benefits Management Guide -> Chapter 4 : Leave and Absence Management
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115hrcbug.zip
    The link is for the generic one, choose the one for your legislation from the apps documentation.
    http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html
    Some additional metalink notes for quick references
    3. How Do You Set Up an Accrual Plan for HR-Only?
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:5911870172542922414::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,1064687.6,1,1,1,helvetica
    4. How Does the PTO Carryover and Accrual Balance Work?
    https://metalink2.oracle.com/metalink/plsql/f?p=130:14:5911870172542922414::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,734240.1,1,1,1,helvetica
    Hope that helps. Post any specific questions.

  • Impact of running dcmctl resetHostInformation

    Hi all,
    Just wondering, what is the exact impact of running dcmctl resetHostInformation ?
    I have a working infra and a working midtier, however, the midtier is not accessible from EM because it's listed as localhost.localdomain. Oracle support claims it was installed this way but it was not.
    So im wondering, can I run emctl resetHostInformation on the midtier only or do I have to run it on infra too?

    Hi Murugesh,
    As mentioned by Giuseppe the PTO carryover process will always recalculate the latest balance, but it is always recommended to follow a cut-off date till which you allow employees to apply and get all the leaves approved. Post that cut-off date you block the previous year leave application in system and run the carry-over process.
    Thanks,
    Sanjay

  • Movies ar played louder after updating to 10.4.9

    Hi!
    After updating to 10.4.9, i've noticed that my mp4-movies are played much louder than before. I verified this by re-installing from the installation media (10.4.4) where the volume seems to be normal. By now, if i set the volume slider to the minimal level, the movie still plays loud enough to prevent me from sleeping (yes, i use the imac in my bedroom).
    Does anyone have an idea why that update did this and how to fix this without downgrading back to 10.4.8?

    Sorry to be the only "happy camper" but my MacBook was never loud enough until this 4.9 update. I'm glad that I don't need to "crank it up" all the way to the top.
    Could you turn down your pre-amp setting on iTunes? I would assume the setting would carryover into Front Row, but maybe not.

  • Help Needed !!!!! in New Hire Proration and Carryover (PTO Accruals)

    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
    Sachin

    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

  • 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 Alam

    Hi,
    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.

  • 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

  • HRMS:PTO : Special Holiday Accruals

    Hell Gurus,
    We have a Accrual Special Holiday Setup which will give all the employees 32 hours at the anniversary date. If the Employee is a new hire it will be prorated.
    This is working as expected. The Users have the ability to add the Special Holidays by adding a adhoc Special Holiday Element at the element entries.
    This will enable the Employee to take the special holiday prior to actual accrual. This adhoc special holiday hours are added to the Accrual Plan.
    If the user enters more element entries by using the element entry form, the employee is getting more special holidays that he is entitled.
    I have added the Annual Rate,ceiling to the accrual Plan. In spite of that its allowing to accumulate more than what the employee is entitled.
    I want know if anybody has this problem and the steps to correct it.
    Thanks,
    A

    Hi,
    I think the better design for this requirment would have been to handle it as part of the accrual formula rather than giving the option to user to add an element entry.
    But in you case if the logis is already based on element entry then you can write a simple form personalization on element entry winow which checks if there is alreay an element entry existing in a particular calander year and throws an error. In this way you would be able to restrict the user from making multiple entries for that element.
    Hope it helps.
    Thanks,
    Sanjay

  • 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

  • HRMS PTO Accrual Balance

    Hello All,
    1- Can anybody guide me how to set fiscal year to Jun –Jul in oracle HRMS so that Fiscal Year balances can work accordingly.
    2- Also I have updated the Accrual Formula according Fiscal Year Jun - Jul .. on Employee Accrual form it shows correct Dates june-11 to jul-12 and Leave Balances.
    While on Absence Form when I click on Accrual button then on Plan End Date tab it shows the old end plan date 31 Dec-12. and
    Wrong Leaves balance due to 31 Dec.
    Please guide from where this leaves form Plan end date and Balance leaves comes?
    Thanks in advance,
    AAK

    You need to make changes in your Accrual Plan Formula

  • Accrual Balance not getting carried over

    For one of my client's employees, the mid-year accrual balance is not getting carried over.
    08-JUL-2008 is the hire date of the employee. The client has end-dated the accrual plan element entry for this employee on 23-NOV-2009 and created a new one (for the same accrual plan) from 24-NOV-2009. The balance is getting carried over from 2008 to 23-NOV-2009, but NOT from 24-NOV-2009 to 31-DEC-2009.
    08-JUL-2008 TO 31-DEC-2008 - Accrual Balance is 19.828 days.
    01-JAN-2009 TO 23-NOV-2009 - Accrual Balance carried over from 2008 is 19.828 days.
    24-NOV-2009 TO 31-DEC-2009 - Zero Accrual Balance is getting carried over.
    Also, the client has run the PTO Carry Over process thru’ out for all the years. But no help there.
    I just noticed that the accrual plan 'Annual Leave Plan 41 Days' and the respective balances, elements, links etc., were created in the system on 19-DEC-2009. Could this be the reason why the net entitlement balance is not getting carried over to 2009?
    Would appreciate any pointers in this regard.
    Thanks
    Regards
    Trupti

    Hi,
    Are you running the carryover process for both the plans. Can you share the accrual carry over for the new plan. As you have said the elements and links are created as on 19-DEC-2009, the balance should be carried over for the days between 19-DEC-2009 to 31-DEC-2009 if you are doing the partial accrual.
    Thanks

  • Simple leave carryover

    Hello,
    I am trying to write a carryover formula that follows the following steps:
    a.) Find out how many days employee has remaining
    b.) Carry over remaining days not more than x number of days
    But how do I configure this in oracle. Also what triggers the carry over formula to run. Do I have to run a conccurrent program for this to happen?
    This is what I currently have although it doesn't seem to have any effect on employee accruals when I change my effective date to the next year:
    NAME : KS_PTO_ANNUAL_CARRYOVER
    This formula is a carryover formula for the yearly accrual plan
    DEFAULT FOR ACP_CONTINUOUS_SERVICE_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_SERVICE_START_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR EMP_HIRE_DATE IS '4712/12/31 00:00:00' (date)
    INPUTS ARE
    Calculation_Date (date),
    Accrual_term (text),calc_start (date),calc_end (date),max_carry_over (number)
    LEAVE_INFO_TABLE = 'LEAVE-INFORMATION'
    calc_start= GREATEST(EMP_HIRE_DATE,TO_DATE('0101'||TO_CHAR(Calculation_Date,'YYYY'),'DDMMYYYY'))
    calc_end=TO_DATE('3112'||TO_CHAR(Calculation_Date,'YYYY'),'DDMMYYYY')
    Max_Carryover = to_number(get_table_value(LEAVE_INFO_TABLE,'Carry Over Max Days','Annual Leave',Calculation_Date))
    Effective_Date = calc_start
    Expiry_Date = calc_end
    Process = 'YES'
    RETURN Max_Carryover, Effective_date, Expiry_Date, Process

    Your formula looks good - hopefully it does the trick!
    You need to run the 'PTO Carry Over' concurrent program to execute the Fast Formula.

Maybe you are looking for

  • How can the query results include null if it's a required field on the front end?

    I executed a query that simply asked for all data points on a single table. I am trying to figure out why the query would report back as having all "Null" values in 3 of 10 columns. The information is required for the end user to enter before the sys

  • Year of Cash Effectivity and Due Date for payments in following year

    Hi experts! I have a problem with Year of Cash Effectivity when dealing with invoices which have Due Date in a different year from the posting date. I just need revenues and expenses to be recognized under the accrual basis of accounting (with the in

  • Direct tax and indirect tax

    What is the difference between Direct Taxes and indirect Tax. In  which Cases those are both are applicable . please give to me details regards RAM

  • How to produce Material output message when use bapi function?

    Dear Experts : I use bapi BAPI_GOODSMVT_CREATE to receive stock. I find the output message can't create automatically even when I have set the type in MR21. Hope someone can teach me how to produce the message when I create the material document by B

  • Error in Goods recipt

    hi, i have created one P.O in which i have set inbound delivery in confirmation control tab, i am able to create inbound delivery,but when i am trying to do Goods recipt  im getting error like Material entered in Material doc is not same as in P.O **