PTO Simple Carry Over Formula

Hi All:
I have this case and I need help from any body who is experience in accrual formulas.
I'm using the PTO_SIMPLE_MULTIPLIER and PTO_SIMPLE_CARRYOVR formulas in Accrual Plans form.
I'm not defining any accrual bands in accrual plans formula and the case is I need to reset the net entitlment balace to be 0 for any employee in yearly basis.
How I can configure this case in in PTO_SIMPLE_CARRYOVER formula ?
Please Advice.
Regards;

not sure i understood this well. when you say reset net entitlement to 0, do you mean you do not want to carry over anything to the next year? If so then modify the carry over formula to set maximum to 0.
If you are not using accrual bands then the best solution is create a pl/sql packaged function that calculates the entitlements correctly and call that function in the formula.
there are lot of posts by very helpful Duncan Casemore explaining how to write accrual formulas..a bit of serach will give you lot of informaiton on that.
Cheers

Similar Messages

  • Negative carry over sholud not be allowed in fast formula

    Hi,
    I have coded like this so that it will not allow negative carry over (note: no expiry for carry over )
    but this will not work since line 8 will bring just carry over from the previous year.
    To get absence i can use get_absence function.so if i get no of absence ,total carry over and total accrual pto i can calculte net entilement.
    but to get Total accrual PTO in carry over formula , I am not able to use the procedure
    PER_ACCRUAL_CALC_FUNCTIONS.Calculate_Accrual.If I use i get error as
    ORA-20001: The formula XXCHR_CR_VACATON_ACCRUAL_FORMULA could not be executed because the context ASSIGNMENT_ACTION_ID was not set. All the relevant context values must be set before a formula can be executed.
    Action: If this is custom code then please ensure that it sets all the appropriate context values. If this is not custom code then please contact your local support representative.
    ORA-06512: at "APPS.PER_FORMULA_FUNCTIONS", line 608
    ORA-06512: at "APPS.PER_ACCRUAL_CALC_FUNCTIONS", line 70
    ORA-06512
    so how do I not allow negative carry over.
    1 Years_service = floor(months_between(Effective_date, Continuous_Service_Date) / 12)
    2 IF (GET_ACCRUAL_BAND(years_service) = 0) THEN
    3 L_Max_carryover = GET_NUMBER('MAX_CARRY_OVER')
    4 ELSE
    5 L_Max_carryover = 0
    6 Max_Carryover = L_Max_carryover
    7 l_exp_Effective_Date = ADD_YEARS(Effective_Date,-3)
    8 L_tot_carryover = GET_CARRY_OVER(Effective_Date,to_date('0101'||to_char(Effective_Date,'YYYY'), 'DDMMYYYY'))
    9 IF L_tot_carryover <0 THEN
    10 (Max_Carryover = 0)
    11 Process = 'YES'     
    12 RETURN Max_Carryover, Effective_date, Expiry_Date, Process
    tnx in advance

    there are seeded Accrual formulas given out of the box, which you can edit for your purpose

  • PTO carry over FF not reprocessing all employees

    Hi
    I have created a simple custom accrual plan with simple custom accrual formula and custom carryover formula.
    I am trying to modify the a custom carryover formula and run the PTO carry over process with the "REPROCESS ALL" parameter set to 'YES' but the carryover formula is not REPROCESSING all the employees.
    Am I missing something?

    Hi,
    Could you please correct me whether you have been attached multiple leave elements to this accrual plan ?
    Otherwise system only carry over particular leave attached to accrual plan.
    Thanks
    AshokP

  • 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

  • Data display - aligning group data and carry over on new page logic - 11G

    I am fairly new to BI Publisher, so any help would be much appreciated. I am working with a standard pdf form to display Purchase Order Data. I have saved the image of the pdf as the background of the page. I have a simple table where I am inserting all the data and aligning it on the page so it appears to be in the correct place on the form.
    The form has a section containing 10 blank lines to display the PO data. Each line is .25 inches.
    The problem occurs that at the line description can have 254 characters but the space on the line allows for 51 characters. So I need to display the data something like this (for simplicity sake)
    TableA.id TableA.Description254
    Line 1 1 Blah, 1-51 characters of line descr
    Line 2 Blah blah, 52 - 102 characters
    Line 3 2 Blah, 1-51 characters of line descr
    Line 4 3 Blah, 1-51 characters of line descr
    Line 5 Blah blah, 52 - 102 characters
    Line 6 Blah blah, 103 - 153 characters
    anything that carries over needs to go to a second page with a different background image. So I have several questions.
    1. Any suggestions on how to display the PO Line, so I can substring the PO line description and display the remaining data on a following line? A second line would write the next 51 characters of data if it exists, and would not display the first column, (TableA.Id)
    2. Any suggestions on how to load the carry over data (anything over the 10 lines on the first page) and display on the following page.
    I am including a screen shot so this might make more sense. I have lightly dashed orange lines showing of my table which I use for aligning the data. It is only for reference.
    [ http://www.fifthq.com/bi.jpg|Pdf image]
    http://www.fifthq.com/bi.jpg

    Ok, just in case anyone runs into the same issue. Here was my solution.
    I added a made up record to the existing xsd template that served as a place holder for my dynamic content.
    I created an app package that has two properties.
    1. Full String
    2. Single Line String
    The Method takes in the column width as a parameter. It searches through the Full String until it finds the last available word before the column width. It then returns that as the Single Line String and updates the Full String to what's remaining.
    If I have any of the Full String remaining I keep calling the method.
    I can provide more specific details about the method if anyone needs it.

  • 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

  • Text boxes not being carried over in Captivate 5

    Hi,
    I am trying to import a PPT presentation into Captivate 5. The process is simple enough however, once the slides are converted, it's nor carrying over the text boxes. The slide titles and inserted diagrams are there but no text!
    Any ideas please?
    Thanks

    Hi,
    Would it be possible to share the PPT or CPTX file so that we can investigate the issue?
    Thanks,
    Vikranth.

  • Cost Carrying Over in Drop Ship Processing

    Hello Experts...
    When doing a drop ship sales order, this is the following situation.  Item A has cost at Warehouse 01 (stock warehouse) of $400 and cost at Warehouse 03 (drop ship warehouse) of $425. 
    When doing a drop ship sales order, the correct cost of $400 from WH 1 is displayed initially until the WH is changed to WH 3, then it displays WH3 cost of $425.  However, when the Purchase Order Confirmation Screen is displayed, the cost reverts back to $400.  We have done a test 15 times in the Demo SAP B1 and even more information is not passed on using the "Copy To" function (for example, the Delivery does not pick up any costs - it is blank when processing a drop ship).
    Of course it could be changed at the Purchase Order Confirmation Screen, BUT a real simple statement comes up of why does a Sales Person have to change it when the cost is in the system and is displaying correctly on the Sales Order.  From a common sense perspective of financial matters and productivity, it takes the statement even further - why even put a cost on the Drop Ship Warehouse when the system does not pick it up.  It gets even worse when the Gross Profit comes out to being 100%.  The whole drop ship process seems to be a mystery in the SAP Documentation.
    QUESTION: Is there some setting that needs to be changed so that the correct drop ship cost is carried throughout the system automatically and all of this wasted time is cut out?
    The user guide published on Februrary 2009 covering this topic does not say anything about COMPLETE drop ship processing and cuts off at the display of the Purchase Order Confirmation Screen on page 6.
    Thanks - Zal

    Hello Julie - thanks for your reply...version is 2007 SP01 PL05...
    Maybe the problem with the cost being carried over with "Copy To" was corrected in PL07?  Will go to the release notes...
    This is getting to be a comedy - again, I am using and testing this function on SAP's provided "vanilla" Demo database with no changes, so if SAP cannot set up drop ship functioning properly on their own Demo, who can???
    OK - yes, the cost of the product is pulled from the associated vendor which is problem number one - for companies that sell both inventoried and drop ship items on a regular basis, the cost of that product is never the same.  For vendors, onsies and twosies being shipped to our customers incurs a higher expense than a shipment to one site of 100 or 200 items and they will quote a different cost to cover those expenses.  It just makes common sense that the vendor's incurred expenses to fill the drop ship versus shipment to our waregouse is going to be different, doesn't it?  Therefore the actual cost and dollars paid for the product will be different from WH01 over WH03 (or any other area - Base Price versus Discount Purchase Price), and the gross profit is going to be different between the two versions of a sales process.  Creating a thousand different price lists certainly is not the answer!
    And this begs a very simple question then - why even put in an item cost on the Item Inventory Tab for the drop ship warehouse AND why does the system pull the WH 03 dollar amount into the Sales Quotation/Order Gross Profit Base Price field but not transfer it to the Purchase Order?  Why create a constant flood of erroneous Gross Profit information on drop ship AR invoices unless you are happy to have wasted productivity?
    I think the real problem is that this is obviously a very bad design for an SAP B1 function and folks are doing all of these workarounds and extra steps (at least in PL05 so far) to get their work done.  I think it is hilarious that when trying to enter a ticket directly to SAP on this, I got the reply that "that is the way the system is designed" (albeit bad design and no effort to direct me to documentation) and had to post my question here according to new SAP B1 support standards.
    I am going to close this question as there really is not an answer except "way the system is designed" and this thread is leading nowhere.
    Many thanks to everyone who took the time to reply - lol - of course, thanks with points!!!
    Take care all - Zal

  • How to Handle the Carry Over leaves in  Absences

    Hi Friends,
    I have one Requirement from my client.
    let me explain you the scenario.
    say Person X is having 20 annual vacation leaves per year, if he applies say 10 leaves this year and remaining 10 leaves should get carry forward to next year and next year he should be eligible for total 30days of annual vacation leave.
    let me tell u that there is no balance has been attached to that leave element and no Accruals Setup has been done in the system.
    Is it possible to handle it technically for carryover leaves. if yes plz explain in me .
    thanks in advance

    Yes, standard Oracle HRMS supports this out-of-the-box.
    You define a Paid-Time Off (PTO) Accrual Plan, which defines all the business rules around entitlement and carryover and then you attach this accrual plan to employees.
    Once all the business rules are defined you run a PTO Carry Over process that transfers outstanding balances (in this example 10 days) from the previous vacation year to the next.

  • DNG Conversion Of Sony ARW Not Carrying Over In Camera Lens Corrections

    One of the great features of the Sony NEX-7 is that the NEX-7 makes automatic lens corrections for vignetting, chromatic aberration and distortion problems. These corrections are written to the file and the preview. However, when converting these images from ARW to DNG the correction data seems to be lost, and the images revert to their uncorrected state. This requires all images to then be re corrected with the Adobe lens profiles, which is both tedious, an extra step, and also seems to produce results that are somewhat less optimal than the original corrections made by the camera.
    Should not the ACR Converter and Lightroom retain the lens corrections made by the camera?

    A Tonal wrote:
    This is one of those confusing issues where the way Sony describes the feature makes it sound as though it's part of the ARW format, and the way Adobe describe ACR and DNG makes it sound like this would be one of those manufacturer specific details that DNG is supposed to convert into a the Adobe format.
    Yes, that might be so. It's similar with the manual of my Nikon D600. Nowhere does it say explicitly that all these adjustments (including lens correction, Active D-Lighting, etc) work only for the JPGs. And it cannot be otherwise.
    A Raw image is not defined yet, not written in pixels yet, heck it is not even an image.
    The Raw image is only affected by the exposure, that's pretty much the only thing. Even White Balance is nothing but a metadata tag that - luckily - is read by Lr.
    A DNG is Adobe's answer to the various Raw formats. But it is designed to behave like a Raw image. Therefore you cannot expect that camera settings that affect JPGs only carry over to DNGs.
    A Tonal wrote:
    There are so many features on cameras that are only supported with JPG output that it almost makes it not wroth bothering with RAW, as by the time you get to the end of the process, with all the extra steps and work involved in handling RAW, you pretty much wind up with something that looks like a JPG anyway, and you had to give up using some of the camera's features to use RAW.
    This shows that you don't understand what Raw is and what its advantages over JPG are.
    I would recommend that you educate yourself about the advantages of Raw. Your photography would benefit from this, believe me.
    Google "Why should I shot Raw?" and you will find lots of good webpages.
    Finally, Raw shooting is much simpler than shooting JPGs where you always have to fiddle with the virtual 100s of different settings for JPGs.
    What do you have Lr for? In Lr you can adjust your Raw image by looking at it on a large calibrated monitor, whereas for the settings in your camera you have to rely on a 3" monitor - at best.
    Make your life simpler and your photography better: Shoot Raw.

  • Leave Carry over

    Hi
    we have situation where we are using Anniversary hire date as Leave accrual process.TO meet the requirements Anniversary hire date Oracle seeded formula has been amended and it's fie going.
    We have problem carry over process.Since leave carry over is based on hire date,so employees will have different hire dates and we scheduling the concurrent in mid night to complete the carry over process.carry over should be processed on hire date of an employee.This concurrent will fetch the eligible employees and completes the over processes.This has to happen normally.But it's not doing so. Any thoughts on this would be greatly appreciated.

    Hi
    we have used Anniversary Hiring date while setting up the Accural process.
    When Employee hire date falls 10feb2008 ,when we run the carry over process schduled to run in the night ,it's not picking up the the date from the date the employee joined .
    Now issues was witht he function which we worte to carry over.Accrual formula is the seeded one.The function was amended again to meet the requirements. Thanks for your response.

  • Data Merge-how can I get underlines to carry over?

    In my database file (excel converted to text for import), I have a lot of items that have underlines.  Of course when converting to txt, the underlines dont carry over.  Is there some way around this other than manually re-adding the underlines after I do the completed merge?  This is a LOT of underlines!

    As promised, a simple script. Select the entire column -- vertically -- with the original single words, and run the script. It will search-and-replace this word in the cell next door with Underline On. If there seems to be a problem, the offensive word and its row number are saved, and displayed after the script has ended, so you can check if everything went as planned. Possible problems it catches are: the word does not occur at all in the next cell, or it appears more than once (in the latter case, all occurrences are replaced, though).
    Copy, paste into a plain text editor (Notepad or Textedit in plain text mode; or, safest option, Adobe's own ESTK Editor). Save into your User Scripts folder as, ehm, make up a good descriptive name will you? Just make sure to end it with .jsx
    //DESCRIPTION: Select a column of cells, then run to underline each of these words in the next column
    // A No Guarantees Production
    // Jongware, 4-Jun-2010
    if (app.selection.length == 0 || !(app.selection[0] instanceof Cell))
         alert ("No cells selected!");
         exit(0);
    cells = app.selection[0].cells;
    app.findTextPreferences = null;
    app.changeTextPreferences = null;
    app.changeTextPreferences.underline = true;
    app.findChangeTextOptions.caseSensitive = false;
    app.findChangeTextOptions.wholeWord = true;
    results = [];
    for (c=0; c<cells.length; c++)
         if (cells[c].contents.length)
              app.findTextPreferences.findWhat = cells[c].contents;
              if (cells[0].parent.cells.nextItem(cells[c]).changeText().length != 1)
                   results.push (cells[c].contents+" (row "+cells[c].parentRow.index+")");
    if (results.length)
         alert ("Dubious result for: "+results.join ("; "));

  • Header and footer of RTF template not getting carried over to Excel output

    We have Header and Footer in RTF template defined. The output of the report will be in Excel. When we run the report, the header and footer on the report are not getting carried over to excel has header and footer, instead the header and footer are printed as first line on the excel. Also, the RTF template is set to landscape but when the output is generated in excel, it is set to Portrait

    hi..
    chk this presentation...
    http://csc-studentweb.lrc.edu/swp/Berg/articles/NW2004s_what_is_new.ppt#352,3,Why NW 2004s?
    http://www.sap-hefte.de/download/dateien/1090/086_leseprobe.pdf'
    hope this helps...

  • Function module called within a loop seems to carry over global data

    Hello all,
    I am calling FM "RS_COVERPAGE_SELECTIONS" inside of a loop of all variants for a program and then writing the variant values to spool.  If only one variant is entered on the selection screen, all the values are correct.  If nothing is entered, some of the variant values are carried over from a previous variant.  I am emptying the internal table returned by the FM every time before the FM executes.
    Would some one be willing to run the following code for a program with many screen fields and many variants and tell me if they get the same behavior?
    Thanks
    Bruce
    REPORT zzzz.
    tables: varid, varit.
    parameters:     p_pgm type progname obligatory default 'ZFAPI004'.
    select-options: s_var for varid-variant.
    parameters: p_varval as checkbox default 'X'.
    data: begin of reptab occurs 0,
            report like varid-report,
            variant like varid-variant,
            ename like varid-ename,
            edat like varid-edat,
            etime like varid-etime,
            aename like varid-aename,
            aedat like varid-aedat,
            aetime like varid-aetime,
            vtext like varit-vtext,
          end of reptab.
    data: begin of tab_sel_options occurs 0,
                            flag(1) type c,
                            olength type x,
                            line  like rsvar-infoline,
                          end of tab_sel_options.
    *>> At Selection-Screen data items <<
    data: w_pgm like sy-repid.
    data: itab like rseui_f4 occurs 0 with header line.
    data: dyname like d020s-prog value sy-repid,
            dynumb like d020s-dnum value '1000'.
    data: begin of dynpfields occurs 3.
            include structure dynpread.
    data: end of dynpfields.
    data: w_tabix    like sy-tabix.
    data: begin of i_var occurs 0,
              variant like varit-variant,
              vtext   like varit-vtext.
    data: end of i_var.
    start-of-selection.
      format intensified on.
      write: / p_pgm.
      select * from varid
        where report = p_pgm
          and variant in s_var.
        select single * from varit
          where langu = 'E' and report = p_pgm
            and variant = varid-variant.
        move-corresponding varid to reptab.
        move-corresponding varit to reptab.
        append reptab.
      endselect.
      sort reptab by variant.
      skip 1.
      format color col_heading.
      write: /03 'Variant',
              18 'Create',
              47 'Modify',
              76 'Description'.
      format color off.
      skip 2.
      loop at reptab.
        format color col_total.
        write: /3 reptab-variant,
                 reptab-ename(8),
                 reptab-edat,
                 reptab-etime,
                 reptab-aename(8),
                 reptab-aedat,
                 reptab-aetime,
                 reptab-vtext.
        format color off.
        skip 1.
        if p_varval = 'X'.
          clear   tab_sel_options.     " header
          refresh tab_sel_options.     " lines
          call function 'RS_COVERPAGE_SELECTIONS'
            exporting
              report            = reptab-report
              variant           = reptab-variant
              no_import         = ' '
            tables
              infotab           = tab_sel_options
            exceptions
              error_message     = 1
              variant_not_found = 2
              others            = 3.
          loop at tab_sel_options.
            if sy-tabix < 7.
              continue.
            endif.
            write: / tab_sel_options-line.
          endloop.
          skip 1.
        endif.  "  p_varval = 'X'.
      endloop.

    Hi
    Try using the function module PRINT_SELECTIONS, within this FM, the FM RS_COVERPAGE_SELECTIONS is being called. So it will not copy the previous values.
    Pass Mode as 'A' , report name and variant name, then it will display the same output.
    Please try it
    Shiva

  • Survey Question - Carry over data

    Hi,
    Is there a way to carry over responses/answers from a survey question from one slide to another? I have a scenario where users analyze a situation and note the problems (survey answers - ungraded) on one slide. I don't want them to see the answers to the scenario until the next slide but want them to remember what they've put in as the problems with the scenario. I've searched the forum but didn't see this situation. Thanks very much for any ideas.

    For short answer questions the value of the system variable cpQuizInfoAnswerChoice is the exact text that was entered, which is great news for you I suppose? Be sure to assign the value of that variable to a user variable before the next question is answered. That means that best event to trigger the action is the On Enter event for the next slide. As you perhaps know, there is no On Exit event possible for Question slides.
    http://blog.lilybiri.com/events-and-advanced-actions
    You will have to create an advanced action for that:  Assign v_answer1 with cpQuizInfoAnswerChoice
    And you'll need a different action for each question, even shared actions couldn't help you because a variable (it is the user variable v_answerx that will be different for each action) cannot be a parameter.
    Lilybiri

Maybe you are looking for

  • Can't send, get error message 5.7.1

    Here is the complete message: An error occurred while sending mail. The mail server responded: 5.7.1 [address] Relay access denied. Please check the message recipient [address] and try again Using Outlook with same server settings, messages go throug

  • NAC appliance: Bulk selections in one action?

    I'm setting up multiple profiles on the Clean Access Manager but I now need to select many (100+) plugins per user role and also change the 'vulnerable if' settings. Is there a way to make a bulk of changes at once (ie: not clicking all plugins but a

  • Animating Large Number of Small Objects in CS3

    A client originally asked me to animate a single butterfly in a seven-second shot. Now he wants lots and lots of butterflies flying in the scene, like a mini butterfly swarm. Is there an easy way to take the butterfly that I've already created and pu

  • Can't get my username back!

    Hello there! I used to have an account for a long time, but after it had been hacked, it was disabled. I provided all needed to activated back again, I received the notification mail to my gmail account that I have to follow a link to change my passw

  • Stopwatch without pausing the program

    I was wondering how to make a stopwatch which recorded time, but did not actually stop the program. The wait function actually waits at that part of the program, and my idea was to take the time stamp at the beginning and then the timestamp at the en