How to prevent the new request of leave of SSHRC in case of negative accumulation of PTO

Hi people,

I'm stuck with a particular problem.

He has employed in our system that have negative charges of PTO, and when they try to create periods of SSHRC, the system allows them to create a fillet with a warning.
* "This absence will decrease the net PTO employee less than zero for one or more of their accrual plans." * "

I want to warn users to fill the Absence of SSHRC form, if they have negative charges Oct.

How can I achieve that, I thought it would be simple enough forward controlled a profile!

Any help would be appreciated.

Concerning
Shah Alam

User API hooks are a way to add validation custom API. You must add a user (pl/sql procedure) hook to raise and error, if the net accumulation value is less than zero.

MetaLink Doc 73170.1 (understanding and use API user hooks) can be useful for you.

In summary, you must create a pl/sql procedure which, when called, will raise an error if the net accumulation falls below zero. and create entries in the table hr_api_hook_calls to forward the process of the creation of Absence API (you can find them by querying the table hr_api_modules and hr_api_hooks), then regenerate the API module.

Tags: Oracle Applications

Similar Questions

  • Contact form (php) - how to prevent the new window...

    My contact form works fine, however, I currently have the target to "_blank" which is not what I want.

    Rather than opening the file .php opens in a new window, I just want to go to a new framework (labeled "pass" or "error") in my flash file (which currently works very well)

    So my question is how can I send the information from the form to my php file WITHOUT having to open a new window outside my flash file since I send the user to new framework in place.

    FYI: I already tried to delete '_blank', but it is always opens the php file in a new browser window.

    My code below:

    on (release) {}
    var my_lv:LoadVars = new LoadVars();

    my_lv. FullName = fullName_txt.text;
    my_lv.email = email_txt.text;
    my_lv.emailMessage = emailMessage_txt.text;

    If (fullName_txt.text! = "" & & email_txt.text!) = "" & & emailMessage_txt.text! = "") {}
    my_lv. Send ("contact.php", "_blank", "post");
    gotoAndStop ("success");
    }
    else {}
    gotoAndStop ("error");
    }
    }

    Any help is greatly appreciated.

    Yvonne

    It works! Thank you, Bill. I couldn't have thought of it without your help.

    Have a great weekend!
    Yvonne

    Here's the code that worked:

  • How to prevent the automatic updates

    How to prevent the automatic updates which closes the window and restart the computer in Windows 7, Vista OP?  I'm usually right in the middle of something when this happens.

    Hello

    change how to get updates to allow you to choose what you and when you install to stop it happening again

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

  • My client has an operational Web site. He had me he recast in Muse. What do need me and how to publish the new design of its host/server?

    My client has an operational Web site. He had me he recast in Muse. What do need me and how to publish the new design of its host/server?

    Hi Jefffrey

    I think that your request is answered by live chat.

    Please do not hesitate to contact us again.

    Thank you

    Sanjit

  • How to prevent the creation of 15000 files for 300 MB each day Firefox

    Firefox creates files of 'file' in C:\Users\LeRicain\AppData\Local\Mozilla\Firefox\Profiles\dnm04rk5.default\cache2
    There are about 10,000 and 20,000 files I have to remove to get about 300 MB of space each day

    How to prevent the creation of these files in Firefox

    Here are the files from cache. Basically, it takes Web sites that access you a lot and records bits of them so they'll load faster the next time you visit them. FOR EXAMPLE if you visit Google.com much, Firefox will save some elements of this page in the cache so that the next time visit you Google.com, it will not have to re - download.

  • How to prevent the add-on compatibility checking whenever he opens Firefox?

    How to prevent the add-on compatibility checking whenever he opens Firefox?

    Which can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the file compatibility.ini in the profile folder of Firefox to see if that helps.

    You can use this button to go to the Firefox profile folder currently in use:

    Alternatively, you can check for problems with preferences.

    Delete possible user.js and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • lovely better does not work with windows vista home Premium what another program removes LSO and HOW to prevent the trackers?

    Question
    better privacy does not work with windows vista home Premium that another program removes LSO and HOW to prevent the trackers? Edit
    Details

    In current versions of Flash you can also do this via the control panel.

    • Control Panel > Flash Player, click on remove and erase data
  • where and how to get the new Firefox add - one of who is spying on us. Please mail to...

    Heard speak adds the new on Fire Fox. Where and how to get the new Firefox add - one of who is spying on us. Please mail to maheshubhayakar at rediffmail.com

    edited by email address - moderator

    It is helpful if you provide a link to the article you were reading.

  • HOW TO STOP THE NEW ADS ON FACEBOOK... THEY ARE FRIGGIN BORING AND REEK HAVOC WHEN YOU PLAY... PLEASE ME TELL HOW TO BLOCK THEM!

    How to stop the new ads on Facebook

    I get very annoyed by ads to where they are on the web so I use an add-on called 'Adblock Plus' which uses its database to block known ads and you can even block yourself!

    With 'Adblock Plus Adblock Plus ' installed, you can block all advertising photo:

    1. right click on the announcement of photo that you want to get rid

    2. in the menu, click the option that says: ' Adblock Plus: block image... "(it is usually at the bottom of the menu)

    3. when the pop up box appears, simply click 'Add filter' and advertising will disappear before your eyes!

    If this was the answer you are looking for, please click 'Resolved' - thank you.

  • Freshly installed v 5.0.1 3.6 v want to save a tab currently displayed, put in a folder of bookmarks as I have done before. Looked about for a way of doing-no luck so far. Please tell us how do in the new version. Thank you.

    Freshly installed v 5.0.1 3.6 v want to save a tab currently displayed, put in a folder of bookmarks as I have done before. Looked about for a way of doing-no luck so far. Please tell us how do in the new version. Thank you.

    Sorry, it's because of an add-on I installed. I edited my previous post, hitting on this part of the menu bar.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • Y at - it an option to prevent the contact requests?

    I was wondering what is the best solution for the problem of "spam contact requests. An option for preventing people from send you contact requests would solve this problem entirely.

    Is there such an option?

    Unfortunately there is no option to prevent the contact requests.

  • How to prevent the scrambling of text as you type

    How to prevent the scrambling of text as you type

    Hello

    1. What do you exactly mean by interference?

    2 does this happen on all applications such as word, Notepad?

    I suggest you to follow these steps and check if that helps:

    Method 1:
    Start the computer in safe mode and check if the same problem occurs:
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Method 2:
    Try to perform the clean boot and check if it helps:
    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in step 7 of the above article.

    Check if that helps.

  • I don't know how to download the new msn Messenger.

    I don't know how to download the new msn Messenger, whenever I download it go back mode. and do not have to install the program this is happing to 4 on my computer and won't let me use msn messenger I have there say this update is done I need a fix.this is by Microsoft live essentials download

    Start here: http://explore.live.com/windows-live-messenger

    You will find support for Windows Live Messenger in these forums: http://windowslivehelp.com/forums.aspx?productid=2

  • How to get the new update for the help and support

    OT:how to get the new update of the abd support help

    How to get help and support update

    Hello rickstemberger,

    Please click the number of the KB article for more information on how to add Windows Vista Help files.
    KB Article ID: 917607 -I can not open Help files that require the Windows Help program (WinHlp32.exe)

    Microsoft stopped including the 32-bit help files viewer in versions of Windows starting with Windows Vista and Windows Server 2008.
    However, with article 917607, you can download the appropriate version of the Windows Help program (WinHlp32.exe) and add them
    the operating system.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to prevent the faye error message when I try to install my printer 6510 throu hpofficejet

    How to prevent the faye error message when I try to install my hpofficejet printer 6510 throu on windows 7

    Marcia J Outten-Robinson

    Hi outten7429,

    Follow the steps outlined in the document below.

    http://support.HP.com/us-en/document/c02266980

Maybe you are looking for