How to save a "new" master record when pressing the "create" in the detail

I have a simple Master - Detail form for a Customer - Activity case, where the update of Activity table happens through an additional form.
When users press the create a new user on the top report (Customer Report) they enter the Master detail form, fill in all the Customer fields and instead of saving the customer (master) record and then come back to create a new activity (detail), they press right away the "create new activity" button, causing all customer data (master) to get lost.
Is there a way to trigger the parent record to be saved when a user presses the create activity (detail) button?
Thank you
Yannis

In order to show you better the idea, I created a demo application that you can see at: http://apex.oracle.com/pls/otn/f?p=45792:2:1386218200737406::NO:::
When you create a new order (page 3) you can see that instead of inline editing for the detail, there is a report that will drive to another form (page 4) to edit the data for order detail.
So just to clarify, I am interested to find out in page 3, how to cause a master record to save (when on insert) when a user press the Create button to add a new order detail.
Thank you
Yannis

Similar Messages

  • HT1695 I know nothing about how to use my new ipod and when reading the little bit of information in the folder that came with it, all I can do is turn it on, but it just powers down after a few seconds.  How do I work this thing?

    I know nothing about how to use my new ipod and when reading the little information that came with it, all I can do is turn it on.  Then in a few seconds it goes black, never having brought up a screen to do anything!  Help!  What do I do to get this thing going?

    You might consider connecting it to the charger and charging up the battery overnight.
    Please Get the iPod Touch User Manual for iOS 5

  • Location Information window comes up when I save a new contact record.

    Why does the Location Information window pop up every time I save a new contact record?  It didn't seem to happen when I used the 2010 Outlook before in another computer system?  How can I prevent it from coming up by default?

    Hi,
    You need to go ahead and complete it. 
    Before you can enter a phone number for a contact, you need to enter your telephone area code and save it . This way Outlook will know how to format your phone numbers.
    You can configure this in Control Panel > Phone and modem.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    Hi j2399123,
    It sounds like your screen recording is doing what it was designed to do, capture what is happening on your screen, with optional voice over with the microphone.
    Screen recording is for recording what you see on the screen, it is not a "video capture" option, like for capturing a movie with sound that is playing on your screen.
    For the QuickTime recording options, check out "Recording with QuickTime Player" in
    Mac Basics: QuickTime Player creates, plays, edits, and shares video and audio files
    http://support.apple.com/kb/ht4024
    And for screen recording specifically, there's
    QuickTime Player 10.x: Record your computer’s screen
    http://support.apple.com/kb/PH5882
    Thank you for thinking of Apple Support Communities for your support needs.
    Nubz

  • How to save a new value for Set command variable

    I am using SET [variable = [String]] to update Set variable. It works fine. But when I restart MSDOS Prompt, I get old value for variable.
    How to save a new value for SET command variable?
    I am using Windows XP.

    And this has to do with java how?

  • Can't delete master record when matching when matching detail record exist

    Hi
    on the rel. property:
    Delete Record Behaviour = cascading
    Prevent masterless Operation =yes
    Automatic Query = yesCan't delete Record Master & Detail...
    On delete getting error msg.
    Can't delete master record when matching when matching detail record exist
    am i missing something...!
    Regards,
    Abdetu...

    First of all, remember the ripple affect of cascading deletes and updates.
    Oracle database allows creating master/detail relationship between tables using foreign keys and allows cascading deletes by defining the FOREIGN KEY constraint with ON DELETE CASCADE clause.
    Oracle Forms on the other hand, handle cascade delete thing internally when you set the relation properties.
    Now if you have 3 tables with MASTER->DETAIL1->DETAIL2 relationship and you have a form defined with MASTER->DETAIL1 relationship only, it won't let you delete (and save) master or detail record since the third table (DETAIL2) is referencing the rows from DETAIL1 which you are trying to delete.
    If DETAIL2 were present on the form, it would have deleted with relation property CASCADING. If you really want that when you delete a master record, all its details should be deleted too, then consider defining FOREIGN KEY constraints with ON DELETE CASCADE and on the form set relation property CASCADING.
    And if all master/detail tables are on your form and still it is not allowing you to delete master with cascading, there must be some code preventing it. Check triggers like ON-DELETE, KEY-COMMIT etc what they are doing.

  • How to load AFS Material Master records.

    Hello everyone,
    I am new to loading AFS Material Master records.  In the past I have simply used the Material Master direct input programs, or batch input, to load the data.  Because of the extra AFS fields, I was guessing there must be a new direct input program, or batch input, for it.  Maybe there is a IDOC that must be used?
    Any help will be appreciated.  Thank you all.

    Hey there again, I just wanted to bring this subject back up again. 
    I always took it for granted the we loaded materials in batches.  We would load basic data for some materials and then extend the plant data, then sales, storloc data, warehouse data.  That is a total of 5 files one after the other.  I never really thought of why we did this, but now that I think about it maybe we did because it only took a little bit of data to create the basic data.  When you extend the plant data, you do not need to enter in the data already created from the initial basic data load.  Sales data only required so much so you could skip all the unnecessary basic and plant data. 
    Is that why  you loaded in batches, because it is easier to extend? 
    If you wanted to you could have all the basic, plant, sales, purchasing data on one record if you really wanted to.  Why didnu2019t you do it that way?
    Thanks for the input.

  • How to setup a new apple ID when one is already connected to ipod

    how to setup a new apple ID when one is already connected to ipod

    See:
    Frequently Asked Questions About Apple ID
    Just what do you want to do?

  • I made a video series on one time line and now want to copy paste sections into other tiemlines so I can separate the series into distinct videos to upload. How do I get new timelines? When I go to new event it asks for import footage.

    I made a video series on one time line and now want to copy paste sections into other tiemlines so I can separate the series into distinct videos to upload. How do I get new timelines? When I go to new event it asks for import footage.

    You seem to be new to this software, so I highly recommend that you take some time to learn it using some great tutorials available online - it will pay off to invest the time, if you follow through, for example the great (and free) introductory tutorial at izzyvideo.com.
    This is an amazing piece of software, and you'll have a lot to learn, but it's well worth it.

  • How to rectify "No master record exist for the vendor TEST"  in ME41

    I created an Vendor TEST in XD01
    while creating a RFQ number in ME41 . It showing "No master record exist for the vendor TEST".
    Why is this error occurs, what is the mistake how to rectify it

    Hello,
    Create the vendor with all details ie) Accounts, Purchase Org. Etc..
    If useful reward points.
    Vasanth

  • How can we delete item master records in B1?

    Hi everyone,
    Can anyone tell me to how can we delete item master records in B1?
    Regards,
    Ronauk

    Hi Ronauk,
    Item Master Data --> Right click and Remove Items
    Before that check the items
    1.Item was '0' qty
    2.Item Master Data--Inventory Data-->Check all the warehouse-->Instock-->Commitment->Order Qty
    Removal items is fresh nothing problem for removing process.
    Is there any postings, the all related data's are abused.
    Regards,
    J.M.Halik

  • Credit master records are showing the wrong credit exposure?

    Hi,
    Some credit master records are showing the wrong credit exposure and therefore orders are being credit blocked when they should have been approved.
    The problems occur after the credit limit has changed in the credit master record
    Please Help.
    Regards,
    Chamandeep

    Dear Chamandeep,
    Trust you have reviewed the open documents that would constitute to credit exposure, and have turned a blank.
    In such cases, it is possible to reorganise the credit master data of customers by using the programmes RVKRED77 and RVKRED07.
    Kindly prefer the latter as it permits greater flexibility especially in selection of dates of data reorganisation.
    In either case, the data  re-organisation is resource intensive and is best run when all other users are cleared from the system.
    Regards,
    K Gopidas

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How to when press the button and can change the value in the table?

    this is my code so far with a table and a button..how can i make it when press the button and the data in table change..
    * SimpleTableDemo.java is a 1.4 application that requires no other files.
    import java.awt.BorderLayout;
    import java.awt.Button;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    public class SimpleTableDemo extends JPanel {
    private boolean DEBUG = false;
    private JPanel button;
    private JButton enter;
    public SimpleTableDemo() {
    super(new BorderLayout());
    //button.setBackground(Color.pink);
    //setForeground(Color.pink);
    String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    Object[][] data = {
    {"Mary", "Campione",
    "Snowboarding", new Integer(5), new Boolean(false)},
    {"Alison", "Huml",
    "Rowing", new Integer(3), new Boolean(true)},
    {"Kathy", "Walrath",
    "Knitting", new Integer(2), new Boolean(false)},
    {"Sharon", "Zakhour",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Philip", "Milne",
    "Pool", new Integer(10), new Boolean(false)}
    final JTable table = new JTable(data, columnNames);
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    if (DEBUG) {
    table.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    printDebugData(table);
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    enter = new JButton("Press me");
    //Add the scroll pane to this panel.
    buildButton();
    add(scrollPane, BorderLayout.NORTH);
    add(button, BorderLayout.CENTER);
    private void buildButton(){
    button = new JPanel();
    button.add(enter);
    private void printDebugData(JTable table) {
    int numRows = table.getRowCount();
    int numCols = table.getColumnCount();
    javax.swing.table.TableModel model = table.getModel();
    System.out.println("Value of data: ");
    for (int i=0; i < numRows; i++) {
    System.out.print(" row " + i + ":");
    for (int j=0; j < numCols; j++) {
    System.out.print(" " + model.getValueAt(i, j));
    System.out.println();
    System.out.println("--------------------------");
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("SimpleTableDemo");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create and set up the content pane.
    SimpleTableDemo newContentPane = new SimpleTableDemo();
    newContentPane.setOpaque(true); //content panes must be opaque
    frame.setContentPane(newContentPane);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    Cross-post:
    http://forum.java.sun.com/thread.jspa?threadID=676105

  • How to save SOME time machine Mac backups from the TM disk to other disk WITHOUT formatting the destination disk?

    Hi,
    How to save SOME time machine Mac backups from the TM disk to other disk WITHOUT formatting the destination disk?
    I have a Time Machine disk (A) including the backups of several different Macs (B, C, D & E) generated with an old Mac OS X 10.5.8 (iMac PowerPC) over the years.
    I have transferred the old Mac contents to a new Mac with OS X 10.8.3 using Migration Assitant. All OK.
    Now, I want to erase such TM disk A to use if for other purposes, but first, I would like to RECOVER the backups of some Macs inside it (D and E). Is that possible WITHOUT formatting the destination disk and selecting only some Macs from the TM disk and not the fulll TM disk? How?
    Thanks.

    Thanks for the reply. I do not think that is messy, anway. I simply used the same external disk as Time Machine disk for different Macs. And that worked OK all the time for years.
    The ExternalTimeMachineDisk contains the folder Backups.backupdb
    which contains the following folders (each one corresponding to the Time Machine backup made from each Mac):
    Mac1
    Mac2
    MacBook1
    MacBook2
    In relation to my message above, is it possible to select specific files, folders or full Mac backups from such Time Machine disk and save them to other disk? How?
    Thanks.

Maybe you are looking for

  • Dropdown not working

    Hi Every one..., In my Machine dropdown function is not working. example is in T.code like MM01 (Creation of Material Master) I could not able to select Industrial sector, material type, now values are displaying. If with same user ID, I could able t

  • Mapping a database formely in 9i to run in 10g

    I have migrated my database from 9i to 10g, have also compiled forms in 10g and configured my formwebs and tnsnames which I suspect am not getting right. how do I point my migrated database in from 9i to run in 10g and still using the former URL that

  • How to receive the custom event in the listening portlet (No backing file)

    I have couple of portlets (JPF based). Portlet A is firing an event      public Forward processAction()           PortletBackingContext context =PortletBackingContext.getPortletBackingContext(this.getRequest());           String message = "XXXXX";   

  • VC Deployment Hangs at 85%

    Hi everyone, We are on VC 7.01 SP5. We have a model based on BW BEx queries and the model works except when adding a specific query where it stops deploying at 85% (compiles correctly). There's nothing special about the BEx query except that it is wi

  • Upgrading from WM 5.0 to WM 6.0

    Hi, I am looking for a feasible option for below scenario, 1. Is there any possibility to have both SAP WM 5.0 and SAP WM 6.0 on a same SAP ECC 6.0. 2. If above point is possible, can we restrict few users to make use of SAP WM 5.0 and few users to