How to call SQL Insert on Master Detail Page when new master and detail rec

Retracted for post with working example.
Thanks.
George
Edited by: George Milliken on Jan 4, 2011 9:38 PM

Lovneet
1. You can set the Jheadstart group property "Display New Row on Entry" to true
2. You can do this inside ADF BC: overwrite the create method on the master view object and after the call to super, look up the detail view object and create three rows there as well.
Steven Davelaar,
JHeadstart team.

Similar Messages

  • How to call SQL Script in DBMS_SCHEDULER

    How to call SQL Scripts in DBMS_SCHEDULER?
    Things I got working
    1) Successfully created and tested a PL/SQL that was created under SQL Workshop->SQL Scripts (I named it 'TEST'). I was able to run this no problem.
    2) Successfully created a DBMS_SCHEDULER that runs every minutes. (See below)
    begin
      dbms_scheduler.create_job(
        job_name => 'myjob',
        job_type => 'plsql_block',
        job_action => 'null;',
        start_date => '19-JUL-11 03.10.00 PM', /* Remember to use the DB time, not your local time if not specifying a timezone */
        repeat_interval => 'freq=minutely',
        enabled => true);
    end;The problem i am having is to make the PL/SQL script (named 'TEST') runs every minute. Its probably very easy to do that but i dont seems like finding any examples online.
    I tried replacing the job_action attribute to " job_action => 'begin TEST; END;', " However, that did not work.
    I am stuck here for couple hours already, any clues would be great :)
    Thanks in advance
    John
    Application Express 4.1.0.00.32
    Edited by: John Lau on Aug 14, 2012 12:47 PM
    Edited by: John Lau on Aug 14, 2012 12:48 PM

    The PL/SQL is pretty long, I would like to call it from a different location rather then putting the whole coding as part of the argument. Sounds like I should be looking into procedure package in database?
    I will do some more research on procedure package, how to create one and how to call from it.
    Thanks
    John

  • How to call a TopLink Query on ADF Page Load (onload)

    Hi,
    I am new to ADF wants to find out how to call a TopLink Query whenever a page loads. I saw SRDemo Sample but all the queries are bound to some kind of an action method i.e. clicking on a button executes a query etc. But I need to call a toplink query on my page load. Any small sample will help.
    Thanks

    Try this approach:
    http://blogs.oracle.com/shay/2007/07/25

  • How do I receive the promised CS 6 Master Collection download when I purchased and installed CS 5.5?

    How do I receive the promised free CS 6 Master Collection download when I purchased and installed CS 5.5 in April?

    Contact customer support. You are long beyond the claiming period for your upgrade which ended in August, but I'm sure they can work it out.
    Mylenium

  • How do I invoke an ActionListener on a page when the page initially loads?

    How do I invoke an ActionListener on a page when the page initially loads?
    Page 1: A user clicks on a h:commandButton and is navigated to Page 2.
    Page 2: When the page loads and goes through RESTORE_VIEW, APPLY_REQUESTS and RENDER_RESPONSE, I need to call an ActionListener in the managed bean for Page 2.
    However, if the user comes in from any other page than Page 1, the ActionListener cannot be invoked intially when the page loads. The user has a choice to click on the h:commandButton on Page2 to invoke the ActionListener.
    What is an example of invoking a method with the ActionListener signature in Java code?
    Where would I put the code to invoke the ActionListener, in a beforePhase or afterPhase, constructor?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Interesting. You're right. It doesn't happen when I click away from this site and then return. Maybe I'm barking up the wrong tree. Maybe it's the specific website I was thinking of and not Firefox. Unfortunately, I have to use that site all the time for work. I'll try contacting their webmaster. Thanks for your help.

  • Hello I have Adobe master pack. When I try and sign on to creative cloud it signs me out. I have tried the 4 suggestions adobe has and when I try to go to their 24/7 chat the chat is closed.

    Hello I have Adobe master pack. When I try and sign on to creative cloud it signs me out. I have tried the 4 suggestions adobe has and when I try to go to their 24/7 chat the chat is closed. How do I correct this?

    Sign in, activation, or connection errors | CS5.5 and later, Acrobat DC
    Beyond that noboidy can tell you much without proper system info.
    Mylenium

  • Ask your question.how can I transfer music from my ipad to a new computer and new ipad?

    How can I transfer music from my iPad to a new computer and to my new iPad2?

    See this support article:
    http://support.apple.com/kb/HT1848
    Regards.

  • My old ipod has lots of music on it this was connected to a computer that was stolen, I now have a new ipod thats all connected with music on to my replacement computer, how can i get my old ipod music onto my new library and new ipod

    my old ipod has lots of music on it this was connected to a computer that was stolen, I now have a new ipod thats all connected with music on to my replacement computer, how can i get my old ipod music onto my new library and new ipod

    Try these 2 User Tips...
    Syncing to a New Computer...
    https://discussions.apple.com/docs/DOC-3141
    Recovering your iTunes library from your iPod or iOS device
    https://discussions.apple.com/docs/DOC-3991

  • I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software

  • I have my my original itunes on my old computer that doesnt accept CD's anymore. My new computer has some of the old songs and some new songs. How do I get all my old content on the new computer and still keep the new content?

    I have my my original itunes on my old computer that doesnt accept CD's anymore and My new computer has some of the old songs and some new songs. How do I get all my old content on the new computer and still keep the new content? I also have a few different ipods and I want to have all the songs on all of them but it wont let me. I have read millions of the help articles and still cant figure it out. When I plug one ipod in it says it is going to delete all the old info to sync and cant just add the songs? Frustrated please help!!

    Copy everything from the old computer or your backup copy of your old computer, to your new one.

  • How to know the amount of ora 11g page-out  memory (sga and pga)?

    How to know the amount of oracle 11g page-out memory ( sga and pga) in the SunSolaris 10 Unix and Linux.
    I need to know how many oracle memory are being page-out ( all and for a one oracle server process).
    thanks

    You can monitor the paging with vmstat or sar commands.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b32009/tuning.htm#sthref500
    You can also get the paging information on OEM home page if configured for your database.
    But I don't know if there exists a method with which one can find out how much memory per session/server process is getting paged out.

  • When I want to create apple account in billing and card details page I am stuck and get the message contact itune store support to complete this transaction. Need to know what to do as I can't creat apple id

    When I want to create apple account for my new iphone5 with different apple id than this  in billing and card details page I am stuck and get the message contact itune store support to complete this transaction. Need to know what to do as I can't creat apple id

    The first step would probably be to contact iTunes support as you're being told to do.

  • HT2534 I have a I tune account but every time I try to download a free app it's keeps asking me for credit card details but when I put card details in it declines card and I can't turn payment apps off

    I have a I tune account but every time I try to download a free app it's keeps asking me for credit card details but when I put card details in it declines card and I can't turn payment apps off

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I can't hear anything when making calls no dailing tone or anything but when I try and audioface time it works fine please help

    I can't hear anything when making calls no dailing tone or anything but when I try and audioface time it works fine please help

    Hi Nfrith1,
    Please take a look at the article referenced below, the same as in my original reply.  The receiver on the iPhone does not have anything to do with the speakers on the bottom of the phone nor your microphone.
    Clear the receiver
    The iPhone receiver won't work properly if it's blocked or dirty. Here's where the receiver is:
    Follow these steps, testing after each:
    Make sure nothing is blocking the receiver, such as a case or film.
    If you have a new iPhone, remove the plastic film on the front and back of the device.
    Check the receiver opening to see if it's blocked or dirty. If necessary, clean the receiver opening with a clean, small, dry, soft-bristled brush.
    While you're on a call, turn on speakerphone. If you still can't hear, then your network or reception could be the issue. Try calling again later or from a different location.
    Restart and update
    Restart your iPhone and test again.
    If there's still no sound or poor sound quality, update to the latest version of iOS.
    Get more help
    If you've tried these steps and there's still no sound or poor sound quality from your iPhone, contact Apple Support.
    Learn what to do if other people can't hear you on a call.
    If you can't hear a person on a call or voicemail or if the sound quality is poor on iPhone
    Take care,
    Alex H.

  • HT1937 How unlock my old iphone 4, now i have a new iphone5 and continuos w ATT

    How unlock my old iphone 4, now i have a new iphone5 and continuos w ATT

    Authorized Unlock an AT&T iPhone

Maybe you are looking for