Hooks - To use or not to use?

Hi,
I an developing an interface which must detect new/changed emaployees, assignments and absences and output the details to a legacy Time and Attendance system. My eBiz version is 11.5.10.2. I see that API User Hooks can offer a solution if i use the After Process hook, however I also see that the Person form ("People Enter and Maintain") does not use APIs as it is so old - so cannot offer the hook functionality (HR API User Hooks - Can I use to change a value in the table the API for?
I am now thinking I will need table triggers to capture the Employee create/update, since APIs are not available via this form but hopefully can use User Hooks for the assignments and absences.
Please can you advise on this suggested approach and offer better alternatives if they exist?
Thank you in advance

2-3 points.
While oracle is about to end support on 11.5.10.2 you seem to developing new interfaces and integrate with 11i WHY ? What are plans of moving to R12.
Truly speaking using user-hooks are anyday better solution as it is oracle supported ( not upgrade safe though) but in case you have user hooks applied they cannot just remove support as user hook by definition means adding custom validation as per user requirement.
However, what you have to note in same is that you should not commit any transactions within user hook as it can have adverse impact and you can only those values available in the API procedure.
Also check whether API are called from forms.
In case of People Form try writing some alert( rather than a direct trigger on database) and call your custom program as action of the alert.
By this way still ou are somewhat safe from Oracle Support perspective

Similar Messages

  • I want to know why my phone gets really hot in use and not in use.

    I am using a iPhone 3GS 16GB, been using it for over a year now. Recently, it has been heating up regularly. I understand if it on charge. But everytime I use my phone to play games or reply text messages for no longer then 15mins, it gets heated up so much. Occasioanally, it heats up even when its not in use and when I've forced shut down my apps. Why is that so ?

    What iOS version are you running? There have been cases where people have been complaining of their iPhone 3G/3GS overheating. If you have a white version of the 3GS, watch out because this can cause discoloration.

  • How to find out locations whether it is in use or not in use

    Hi All,
    I want to delete all unused locations from my FDM application. Can you please help me, how to find the locations that are not in use?
    Regards,
    PB

    You can view the tdataseg(x) table that the location is associated with and sort by period key as needed.
    Select PartitionKey,Part Name,Partsegmentkey
    from tpovpartiton
    This will return the location, location id and segment key.  The segment key is the data segment that the location is associated with.
    You can then query this table and sorty by period key to see what periods the location has data imported for.
    This should give you an idea and you can then delete your locations from within the Metadata > Locations Menu in FDM.
    Keep in mind that once the location is deleted, and data associated with the location will also be deleted (Historical Data)
    Hope that answers your question.

  • Use or not to use table compression in Oracle 11g (11.2)?

    Hi All,
    I was trying to explore the difference between COMPRESS FOR ALL OPERATIONS, COMPRESS FOR DIRECT_LOAD OPERATIONS and NOCOMPRESS, for a table in Oracle 11.2.
    I know, we can go thru documentation and make a decision.
    Still I have run some very simple tests here.
    Case 1. Create table with COMPRESS FOR DIRECT_LOAD OPERATIONS and then update few records
    Case 2. Create table with COMPRESS FOR ALL OPERATIONS and then update few records
    Case 3. Create table with NOCOMPRESS and update few rows
    I know, Case 1 is a real dummy, but still I did that to see difference between Case1 and Case2.
    --  ---------- CASE 1 --------
    SQL> create table aaa
      2  nologging
      3  compress for direct_load operations
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.00
    SQL> select count(*) from aaa ;
      COUNT(*)
         50317
    Elapsed: 00:00:00.11
    SQL> update aaa set created=sysdate where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    *Elapsed: 00:00:05.43*
    SQL> commit;
    Commit complete.
    Elapsed: 00:00:00.04
    SQL>
    --  ---------- CASE 2 --------
    SQL>
    SQL> create table bbb
      2  nologging
      3  compress for all operations
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.01
    SQL> select count(*) from bbb ;
      COUNT(*)
         50318
    Elapsed: 00:00:00.20
    SQL> update bbb set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    *Elapsed: 00:00:05.31*
    SQL> commit;
    Commit complete.
    Elapsed: 00:00:00.04
    SQL>
    SQL>
    --  ---------- CASE 3 --------
    SQL> create table ccc
      2  nologging
      3  nocompress
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:01.84
    SQL> select count(*) from ccc ;
      COUNT(*)
         50319
    Elapsed: 00:00:00.15
    SQL> update ccc set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    *Elapsed: 00:00:00.06*Case1 and Case2 took 5.43 and 5.31 seconds respectively. Case 3 took 0.06 seconds.
    Difference is drastic.
    Am I doing wrong kind of test (lets be honest)?
    Should we not use compression for OLTP systems (or any systems with reasonable updates)?
    Apart from allowing to drop a column, what is the difference between COMPRESS FOR ALL OPERATIONS and COMPRESS FOR DIRECT_LOAD OPERATIONS ? where/how can I see that difference?
    Thoughts please.
    Thanks in advance.

    Hi,
    I have realised that I am using the syntax which is deprecated in 11.2.
    So I am doing the same test with
    COMPRESS BASIC
    COMPRESS FOR OLTP
    instead of
    COMPRESS FOR DIRECT_LOAD OPERATIONS (deprecated)
    COMPRESS FOR ALL OPERATIONS (deprecated)
    But the results are same. Even if I do COMPRESS FOR OLTP, my update is taking 5.4 seconds which is not very different from COMPRESS BASIC
    -- --------- CASE 1 ---------------
    SQL> create table aaa
      2  nologging
      3  compress basic
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.46
    SQL>
    SQL> select count(*) from aaa ;
      COUNT(*)
         50318
    Elapsed: 00:00:00.11
    SQL>
    SQL> update aaa set created=sysdate where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    Elapsed: 00:00:05.48
    -- ---------- CASE 2 ---------------
    SQL> create table bbb
      2  nologging
      3  compress for oltp
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.01
    SQL>
    SQL> select count(*) from bbb ;
      COUNT(*)
         50319
    Elapsed: 00:00:00.12
    SQL>
    SQL> update bbb set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    Elapsed: 00:00:05.25
    -- ---------- CASE 3 ---------------
    SQL> create table ccc
      2  nologging
      3  nocompress
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:01.81
    SQL>
    SQL> select count(*) from ccc ;
      COUNT(*)
         50320
    Elapsed: 00:00:00.10
    SQL>
    SQL> update ccc set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    Elapsed: 00:00:00.04Any thoughts??

  • Can comment using windows, not when using ubuntu

    I got a pdf which i keep in a dropbox-folder. I want to comment and highlight the pdf.
    And I can do so using reader X on windows, but I can't using acroread on ubuntu. For some reason the restrictions on the pdf change when using another OS.
    If you need more information, please ask

    Hi, please read the troubleshooting sticky on top of the forum. It mentioned your problem plus the suggested solutions.

  • I am traveling to Italy from U.S. and bought American Tourister Worldwide Adaptor Plug for my iPhone 5 andiPad 2. The instructions saying is not for use with grounded plugs and can only be connected with non-grounding circuits. Will this adaptor work?

    I am traveling to Italy and bought an American Tourister Worldwide Adaptor a plug for my iPhone 5 and iPad 2. The instructions say it is not for grounding use and not for use with grounded plugs. Will this work?

    That adaptor should work.

  • I hooked up new iMac to wireless network and now iPad and iPhone do not work using wireless.  I am using a Netgear N300 router.  Also my Netgear ethernet/homeplug for wireless TV internet no longer works.  Any ideas?

    I hooked up new iMac to wireless network and now iPad and iPhone do not work using wireless. They did before hooking up the iMac. I am using a Netgear N300 router.  Also my Netgear ethernet/homeplug for wireless TV internet no longer works.  Any ideas?  I have tried unplugging, restarting, and resetting.  No luck!  Thanks!

    You should probalby contact Netgear

  • I want to get another 4s and use it not as a phone, but only as a video camera and editor and hook it up only with wifi. i would sync it to itunes so i can pay for apps and upload. would this work, or must it be connected to a phone carrier?

    I want to get another 4s and use it not as a phone, but only as a video camera and editor and hook it up only to wifi. i would sync it to itunes so i can pay for apps and upload. would this work, or must it be connected to a phone carrier?

    Trust me when I say this coming from 20 years of experience.
    Get a powered external drive, format it 1 Partition Option: GUID and OS X Extended Journed as the format in Disk Utility.
    Download and install Carbon Copy Cloner, clone internal drive to external drive.
    Set a schedule to remind you to do it at least once a week, keep it near your charger.
    When you plug your charger in, do plug the clone and power the machine up, set the display to sleep only,
    CCC will do the rest.
    If you want to boot from it, hold the option/alt and select it Startup Manager.
    I've seen many TimeMachine and TimeCapsule nightmares and so far haven't seen a problem from anyone using a bootable clone.
    It's simple, it's easy, it's more reliable and more powerful than what Apple does and it only takes plugging in a extra cable.
    Make as many clones as you want, keep them time seperated, off site etc. etc.
    Cables don't have network issues, clones can be verified in seconds merely by booting from them.
    Clones protect your productivity, your up in seconds on a clone despite even the hard drive dying.
    Software problem? No sweat, boot of the clone and reverse clone your problems away.
    If you want to fuss and muss with half implemented TimeMachine and TimeCapsule network headaches then prepare to suffer.
    I don't like to suffer, I bought a Mac not to suffer, but it appears you do with TimeMachine and TimeCapsule.
    Most commonly used backup methods

  • Library Lost - Please HeIp I tried updating my old ipod & now all 10,000 songs in my library have an ! next to them and I get the error message "song " " could not be used because the original file could not be found" on every song I try to play

    Please help - this morning I tried updating one of my old ipods for my wife (this ipod hasn't been updated in 2-3 years).  I plugged it into my pc, it was recognized and the software updated.  I created a new playlist and tied to sync the ipod.  This ipod had never been used on this pc/itunes since the pc is only 2 years old.  When I tried to sync the ipod it stated that it would have to erase all the old songs on the ipod prior to syncing.  I clicked ok and it proceeded to wipe out the old ipod and sync the new playlist (~1000 songs).  When the sync was complete there were only 6 songs from the new playlist (all purchased this morning from itunes) on the ipod and to my horror all ~10,000 song on my pc in itunes now have a ! next to them.  Only my recent purchases from itunes do not.  When I click on a song with the ! I get the error message "the song " " could not be used because the original file could not be found."  How do I correct this issue - I am scared to hook my ipads or other ipods to my pc for fear of losing everything?!?!?  I spent 100s of hours burning the 10,000 songs from my cd collection and do not want to have to do it again. 
    Any help is greatly appreciated.

    This "original file cannot be found" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • Song could not be used because file could not be found

    I recently had to purchase a new computer which came with the new Windows Vista. I had Windows XP before and from that computer I backed up ITunes on external hard drive. I have authorized this computer and installed Itunes and added the music back to folder. I can see all the music but I cannot play them due to the error song could not be used. I am having problems with the IPod and need to hook it up to computer to reset it. I am afraid it will mess up. What do I need to do? How can I get the music to play in library and if I hook up IPod will it mess it up more? Thanks for any help!!

    I'm an Apple N00B and would be nice to see this answered (by Apple or someone that knows whats going on) - I realize this is a public forum, but in Googling "song could not be used because file could not be found" you (and me!) are not the only ones having this problem -
    My situation is, that I BOUGHT a song from iTunes last night, it synched to my iPod OK - but in going thru iTunes today, I see the bang "!" next to the song... and not knowing all the icons yet for iTunes - it gives me that error - Saying it can't locate the song - would you (me) like to find it? - Yes, I BOUGHT it so would be nice to HAVE...
    Point being, it IS on my iPod Classic - but is not on my PC??? How is this possible -
    Furthermore - Since I bought it - and obviously I have it on my iPod now, but somehow is now "lost" on my PC (iTunes folder shows empty - for that song) - You'd think that either iTunes would be SMART enough to pull it from my iPod and save it to the folder (as the Album art shows in iTunes too???!) - Or that iTunes home page would recognize the "sale" and the "missing" song, and re-download it?? W-T-F Apple?
    FWIW, for grins, I went back and tried to re-download the missing song - and was eager to SELL it to me again...
    Again, I'm new to Apple and iTunes - so maybe there's a quick and easy fix for this - Yeah yeah - call me a Windows idiot - but suspect I'm not alone with this problem... or that it's not just a Windows issue -
    Any thoughts?
    TIA -
    MFX
    Message was edited by: MalteseFalconX

  • How to detect system not being used ( Screensaver)

    Hi everybody...
    Im in the middle of making an ICQ-stylish Instant messaging program. We would like to make a function as in ICQ, where the system changes state after a given timespace where it has not benn used. (The same problem as with screensavers...)
    Can anyone give me a hint...Maybe I need to call some native calls.... Its for my final project at university.... And we should be finished november the 9...
    Thanks in advance....
    Anhansen

    Do you have some simple code example... No.
    A system hook allows you to modify the behaviour of something system wide.
    In Win 9x/NT there were system hooks for the keyboard and mouse (and some others but those are not relevant.)
    You would hook into those. You don't need to modify the behaviour, just set/reset a timer when an event goes through. If the timer fires then an event has happened in that long. If an event happens after that you know the user has started using the system again.

  • Constant bettery drain when not in use. Help!

    My iPod battery constantly drains even when not in use. I used to be able to listen to my iPod for an entire day without worrying about running out of battery. Now I can charge it fully and it'll be out of battery in 3-4 hours of use, and about 4 hours even when just turned off (in sleep, with hold switch on).
    This happened shortly after hooking the iPod up to a new computer with a faulty USB port. I got a new battery for the iPod but it didnt change anything, so the battery wasn't the problem. Does anyone have any ideas of how this could possibly be fixed?

    Well, my iPod goes into sleep mode fine, but the battery drains fast even while sleeping. Basically, it drains almost as much while in sleep mode as it does when in use.
    I just got a brand new battery for it a couple weeks ago but it didn't fix anything, so I'm sure the problem isn't with the battery. Something is just causing the iPod to lose power constantly.
    Also, I've charged it with the official AC adapter, with my computer USB cable, with a separate docking station, and with a car charger, and it happens no matter what I use to charge it

  • Cant open PDF files..It says the adobe acrobat reader that is running can not be used to view files in a browser..plz suggest the solution.thanks

    Whenever i try to open a PDF file it says " The adobe/acrobar reader that is running can not be used to view files in a web browser. Plz exit adobe/acrobat readerand exit your web browser and try again." Wt do i need to do, plz suggest.
    Regards
    Aditya Bhargava

    Hi adityabhargava01-
    My first suggestion is to upgrade to the most recent version of Firefox by going to this link:
    http://www.mozilla.org/en-US/firefox/new/
    My second suggestion is to read this article on how to many your preferences on how Firefox deals with PDFs and all other file types:
    [[Options window - Applications panel]]
    I hope that helps!

  • AdobeAcrobat/Reader that is running can not be used to view PDF Files in Web Browser...what do I need to do to fix this..

    I just got Windows 7 and have been having problems since loading it. Most of my drivers only go to Vista and don't recognize 7.
    I have trying to download some manuals from their website
    and keep getting this message; Adobe Acrobat/reader that is running can not be used to view PDF files in Web Browser.

    Could I suggest a workaround for PDFs until a solution is posted? Open them directly in the Adobe application rather than in a browser tab.
    In your Adobe application(s), go to:
    Edit > Preferences > Internet
    Then uncheck "Display PDF in browser"
    (There are very few sites where having PDF integrated is really beneficial.)

  • Chrome - Adobe-Acrobat/Reader can not be used to view PDF files in a web browser.

    I can't view PDF files via Chrome (it works on Internet Explorer but I prefer Chrome)  -  the error below has arisen recently on Chrome, though I can't see what has changed.
    "Acrobat plug-in
    The Adobe-Acrobat/Reader that is running can not be used to view PDF files in a web browser. Please exit  Adobe Acrobat/Reader and exit your Web Browser and try again."
    I have looked through Forum articles on similar errors and have tried the following(text copied from other Forum entries)
    Repair Adobe Acrobat (from Acrobat)
    Repair Adobe Acrobat (from Control Panel
    Configure Acrobat  as a helper application: Choose Edit > Preferences., Select Internet on the left., Deselect Display PDF In Browser Using [Acrobat application], and then click OK.Quit Acrobat or Reader
    Create a registry item for Acrobat: with Regedit: If the registry item doesn't exist on the system, do the following: Go to Edit > New > Key and create the missing HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe.Go to Edit > New > String Value and name this key (Default).Select (Default), and then go to Edit > Modify. Type the Adobe Acrobat path in the "Value data" for your product.,restart your computer
    Repair the HKCR\AcroExch.Document registry key: Navigate to HKEY_CLASSES_ROOT\AcroExch.Document., Right-click AcroExch.Document and select Delete; make sure that you have the correct key, and click Yes on any prompts, Right-click AcroExch.Document.7 and select Delete; make sure that you have the correct key, and click Yes on any prompts. Repair your Acrobat  installation
    None has solved the problem. However it still works ok with IE. But I want to stick with Chrome because I find IE is so slow!
    I am using Vista, with Adobe Acrobat standard 9.5.2 and Google Chrome version 23.0.1271.64 m which is marked on Chrome as 'up to date'
    Does anyone know why I might be getting this error on Chrome but not IE?

    I think I have discovered the answer to my own question!
    I have disabled Adobe Reader plug-in, and can now see PDFs in Chrome.
    (Steps: Chrome Menu, Settings option, Click Advanced Settings link, then Content Settings button, then select Disable Individual Plug-Ins, and a list of plug-ins is offered to enable or disable).
    I then get a different result depending on whether or not Chrome PDF viewer is enabled - with it enabled I see the PDF document in Chrome, or with it disabled then the option is offered to download it, but either way I can get it it via Chrome without having to run Internet explorer in another browser window.

Maybe you are looking for

  • Can 2 Apple ID's share the same cloud?

    Trying to back up my husbands Iphone to iCloud.  Was hoping to just use mine???  Not sure how things work here.  Does he need to create one for himself and pay for it? Thanks in advance for the help

  • FileVault and Recovering Data

    I am having a strange issue restoring my data from a Time Machine backup. When I use mirgration assistant it does not allow me to import my identity. It says "********" user cannot be imported because it is encrypted. This encrypted file "my idenity"

  • Copernicus Repository View, Search or Filter feature?

    Hi, is there a possibility, to search for a BO or a Data Type within 'Copernicus Repository View'? This would make my day way easier. Not searching all the time for BOs, which package and so on? If not, could SAP develop something like that? Really c

  • Problems using a Single Ipod on two computers

    I have my home computer with a huge library and my office computer with minimal songs. I recently brought my ipod to work and hooked it up to the work computer. It installed and synced ok, I can see my ipod and all the songs... but everything is grey

  • How to stop address bar from remembering my previous entries?

    for example, if I just enter "d" into my address bar, the address "dailymotion.com" will show up unless I type another letter afterwards that is not "a", such as "e". I used to visit dailymotion.com, but I just cleared all my history. dailymotion.com