How to update child record when item from parent record changes

Hi, I have a master and detail form with two regions on the same page.
Region one references parent record, one of column in the parent record is also in the child record. And is one to many relation
between parent record and child record. How can I have the column on the child record updated when the column of the parent record is being modified?
For exemple; Parent record has two columns : ID and Program.
Child record has Program, goal# and status. I have two pages established, page 27 and page 28.
Page 27 list out all programs from parent record, by clicking on edit to a program, it braches to page 28 with program listed as editable field in region one, and mulitple records list in region two from the child record with the same program.
The problem that I am having is once the program in region one got modified using ApplyMRU, the program in child record did not get updated with the new value and therefore those record become orphan records. I need a way to update all current child records with the new program value.
Thanks in advance for anyone who can hlep out on this problem.
Julie
Edited by: JulieHP on May 24, 2012 4:57 PM

One Idea is
If possible create a after update database trigger on the parent table to update the relevant child record.
Next one
Create a PL/SQL process on the parent page with process sequence next to ApplyMRU, so when the ApplyMRU is seccessfull it goes not to your process where you can have your update statement

Similar Messages

  • How to get Value of a item of first record when current record is second

    How to get Value of a item of first record when current record is second in Form6i ?
    get_item_instance_property dose not allow to get value.

    Gerd,
    You're right, there are several other triggers that must be coded, but I was responding to Steve's statement about Inserting or deleting records from the multi-record block. For the record, I use the following to manage a Record Group:
    * When-New-Block-Instance - Initialize the RG
    * block Post-Query - populate the RG
    * When-Create-Record - add new record to RG
    * When-Remove-Record - remove record from RG
    * block When-New-Item-Instance - capture previous value of the item or row
    * When-Validate-Item - Item specific Insert, Update, Delete of values in the RG
    There are a few other places as well, but these are the minimum. It might seem like a lot of code, but then again, I don't use this solution for every multi-line block. Like all tools, you use the right tool for the job. :-)
    Craig...

  • How do I removing a specific item from an Array?

    Hi there.
    I am having an array of movieclips and when my circle(controlled with the keyboard) hitTests true with one of the movieclips inside that array i want to remove that movieclip from the array so when i hitTest it again it returns false (I hitTest using a "for in" with that array).
    How do i remove a specific item from within an array?
    Can someone help me? Thanks a lot.

    i haven't noticed anyone showing deference because of the points.  in fact, i've seen some people (a minority, to be sure) be just obnoxious about it.  i never encountered that before:  some people feel they have power because they can dole out points.
    but overall i agree with you:  the loss of the list of threads i am participating in, along with the most recent posters name, is a significant drawback of the new forums.  and there's nothing new in these forums that offsets that drawback.
    in addition, i think we've lost way more than 1/2 the older threads.  that's a lot of information that's no longer available.

  • How to updating plugin.xml when it changed in 12C?

    After Importing the Plug-in Archive and Deploying it on Management Service with 12C, I need to make a change with plugin.xml in Plug-in Archive. Here it's the change,
    --- Old one:
    <PluginAttributes Type="MP" ReleaseStatus="Test"/>
    --- Change to:
    <PluginAttributes Type="MP" DisplayName="MySQL Database" Category="Databases"/>
    So I un-deployed Plug-in from Management Serbice, and used command "emcli import_update" to update the brand new OPAR file successfully, and the deployed again. But it seems the new plugin.xml didn't work at all, neither from UI nor the plugin.xml located under Management Server folder. I am sure it should work cause after I changed the Target Type and etc. in all related files to made a new plug-in, it works well.
    So how to updating plugin.xml when it changed in 12C? (It seems there is no option with MRS.)
    Thanks in advance!
    Best wishes,
    Satine

    Hey Caroy,
    Thank you for your help.
    It seems there is no entrance within page "Setup->Extensibility->Self Update" to delete a plugin. Would you please tell me more specific position?
    I will upgrade the version of plugin and try again to see if it works.
    Thanks,
    Satine

  • How to close child windows when parent window closed in jsp

    how to close child windows when parent window closed in jsp
    becoz it can't be able to recognise it's parent
    with the whole application
    plz send me some sample code of it

    Hi, I have no idea how to do this is JSP.
    However createing a modal window (with javascript) would mean that the user can not use the parent window untill he closes the child window. However not sure if this is what you are searching.
    Otherwise you can detect the onClose (I think) and close the window from there.
    However both the above are JavaScript and not JSP.
    rwgards,
    sim085

  • How to update my mac book pro from 10.5.8 to the leatest version

    how to update my mac book pro from 10.5.8 to the leatest version

    Upgrading to Snow Leopard, Lion, or Mountain Lion
    Upgrading to Snow Leopard
    You can purchase Snow Leopard by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    Before upgrading check that you computer meets the minimum requirements:
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may
          apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Upgrading to Lion
    First, you need to upgrade to Snow Leopard 10.6.8 as stated above.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
    Before upgrading check that you computer meets the minimum requirements:
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or
          Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
      1. iMac (Mid 2007 or newer)
      2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
      3. MacBook Pro (Mid/Late 2007 or newer)
      4. MacBook Air (Late 2008 or newer)
      5. Mac mini (Early 2009 or newer)
      6. Mac Pro (Early 2008 or newer)
      7. Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    Am I eligible for the free upgrade?
    See Apple - Free OS X Mountain Lion upgrade Program.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.

  • How i can delete purchase requistion  item from sap smartforms

    how i can delete purchase requistion  item from sap smartforms.

    Hello,
    Smartforms are printable documents,u cannot delete from smratforms.
    U have to handle this in the print program.
    Regards

  • How can I compress photos when emailing from iphoto? current photos are 7-8Mb each

    How can I compress photos when emailing from iPhoto?
    current photos are 7-8Mb each if I just attach them directly

    Aperture won't delete the photos from your iPhone. Most users have settled on using Image Capture ater importing into Aperture to delete the photos from the iPhone.

  • How to move ONLY one iTunes item from iPad to computer

    How do I move JUST one item from my iPad to the computer using the new iTunes?  I do NOT want to sync everything on the iPad to the computer.  I do NOT want the computer to download anything from the store.
    My home internet connection isn't much faster than dial-up.  I also have access to a high-speed internet connection somewhere else, so have been buying or renting movies and TV shows with the iPad.  if I've purchased them, I transfer them to a separate iTunes library I have on an external hard drive connected to my computer and remove them from the iPad, since memory on it is an issue.
    I just tried to do that for the first time using the newest version of iTunes.  First iTunes went to the store to download a movie, which would take 8 hours and that I didn't want.  I quit the program and selected sync from iPad.  Then, it proceeded to automatically transfer a bunch of books and podcasts that I don't want to transfer (and it will take a bunch of extra time).  How can I transfer ONLY the one episode of a TV show that's on the iPad?  I don't want to transfer anything else, not the books and so on.  I can't find any way to do that in the latest version of iTunes.
    Is there any way to restore the old iTunes, so that I can individually choose what I want to copy to the computer from the iPad?

    mtngal2,
    I've had this same problem and I haven't received a response how to get around it.
    Have you received any answers?

  • How to create an activity when system finds duplicate record!!

    Hi CRM Experts,
    I am working on CRM 5.0. We are uploading contact details to CRM through ELM.
    Here My queries are:
    1) How to create An Activity when system finds duplicate record?
    2) By using ELM we can create BP with Activities and BP with Leads. But Here, my scenario is we have to Create BP with leads and Acivities. can any one help me on these areas?
    Thank in Advance.
    Sree

    Hi Sree,
    I can help you with your first query.
    When the system finds a duplicate record then either the system stops working further or proceeds with the error free record.
    So once the duplicate entry is found only the first record will be considered and not the second or the duplicate record.
    Regards,
    Rekha Dadwal
    Kindly reward with points if usefull !!!!

  • HT5824 how to update contact info to icloud from my iphone

    how to update contact info to icloud from my iphone?

    If you are syncing contacts with iCloud on your phone, just edit the contact in the contacts app.  That edits it in iCoud.

  • How do you recall a deleted item from Notes icon?

    How do you recall a deleted item from Notes icon?

    You can't.  The only way to get a note back is to perform a restore from a backup, which involves wiping the device and downloading a backup from itunes or icloud.

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • FRM - 41105 You Cannot query records without a saved parent record

    I have 3 data blocks. The contro data block have document type and document number if we come to new record(I have written execute query for both header and detail part) the header block will show the detail of the documnet header(Header Details) and detail block will show the detail part.
    But my problem is when new record instance only the header block is querying and detail block is not querying and giving an error message(*FRM - 41105 You Cannot query records without a saved parent record*)!!
    Plz help me!!
    Thanks in advance,

    yea header tables PK is refered in the details table.
    and i have master record created already and have the detail record for those master records in the table.
    i want to query the detail record related to that master when we select a document number and document code in the control block.
    Its querying the master detail relevent to that header and giving this error messge while quering the detail record..

  • When trying to update and install Mountain Lion's 10.8.3 update from 10.8.2, the App Store will restart my computer but not install the update.  Any ideas on how to update my Macbook Pro 15" from 2008?

    I was wondering, does anyone have an idea on how to update my Macbook Pro 15" to Mountain Lion's 10.8.3 from Mountain Lion's 10.8.2 version?  When I attempt to use the App Store, it will restart my computer but it will not install the update.  The update also still shows up in the App Store as available and when going to "About my Mac," it still shows the current version being 10.8.2.
    Computer:
    Macbook Pro 15" Aluminum Body
    Purchased Late 2008
    Current OS: Mountain Lion 10.8.2
    Original OS: Leopard

    I will be attempting this fix this fix tonight:
    https://discussions.apple.com/message/21529499#21529499

Maybe you are looking for

  • Checkbox appears readonly when using selectbooleancheckbox

    I am using selectbooleancheckbox type to render checkbox on a table column for transient parameter of type boolean in my VO..but when I execute the page, I am getting checkboxes are readonly in all rows of the table. If anybody has encountered such p

  • Keyboard Button Insert/Overwrite on Mac OS?

    Hey guys, I was using a windows computer and realized that it had an insert button, while I could not find one on my macbook. Is there an insert button? Let me know... Thanks

  • Valuation of Open Items - US

    SAP Gurus, Valuations of open items are done with update or with out update for US regulations. Could some one suggest what is the valuation approach followed for country US and what is the valuation method? your help is highly appreciated. Thanks, P

  • FRM-40350: Query caused no records to be retrieved

    hi apps--12.0.6 os--IBM AIX on POWER Systems (64-bit) When trying to find service request (e.g. 33599) throws a FORMS note: "FRM-40350: Query caused no records to be retrieved". This is happening in FORMS. Regards

  • Psd file wash out when add transparency to page

    HI, I've had a noticeable yet unknown problem, and today I figured out why, but now need help fixing it. Working with CS2 When I import a grayscale psd file into ID, it gets washed out when I add a transparent element to the page. My page started out