Can't add new detail record in Master Detail form

Hi ,
I've created a simple database application from scratch by initially selecting a Master Detail page. This generated a report page (for the parent ) and a form page (for the child ). On using the form to add a new child record the following error was generated:
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400: cannot insert NULL into ("STUDENT1"."DELEGATE"."DELEGATE_ID"), insert into "STUDENT1"."DELEGATE" ( "DELEGATE_ID", "CLIENT_ID", "SURNAME", "INITIALS", "SEX", "SPECIAL_NEEDS") values ( :b1, :b2, :b3, :b4, :b5, :b6)
Error Unable to process update.
The 'child' field listed in the error message is automatically hidden on the form and I had presumed that on generating this form using the wizard that I would have had an opportunity to link the delegate_id field to a trigger or a sequence as seems to happen when creating a database application scratch using other page types. I'm new to Apex so I'd be grateful if anyone could let me know as to why this default behaviour occurs,
regards,
Kevin.

I tried it for Apex 4.0.2 (my version) and 4.1 (on apex.oracle.com) and I am asked for master and detail PK generation in both versions.
What are your steps exactly in the wizard? Like this?
Create page -> Form -> Master Detail Form
Now you see a whole list of sub steps including "Primary Key Source".
Oh I see "Create Application wizard." in your post. Start with an empty application (blank page) and use the Create Page wizard instead. Maybe that's the difference.
Edited by: InoL on Nov 18, 2011 9:27 AM

Similar Messages

  • Add new node on vehicle master

    Hello experts,
    We have many custom fields on vehicle master and we can't add more than 99 custom fields on same screen (SAP restriction)
    Now I want to add new node (like we have data Entry, Service, Document flow)
    Once I add new node, we know how to add new tab and fields. But How can we add new node no Vehicle master?
    Do we need to use one of below mentioned BAdI or some other and how to do it step by step.
    BAdI: Exchange Vehicle Data Screen in Vehicle Detail
    Or
    BAdI: Exchange Configuration Screen in Vehicle Detail
    Please advice.
    Thanks

    Hi ,
    do you want to enhance DBM vehicle master or VMS ?
    Regards
    Ganesh

  • How can I add new content in iDVD to a DVD-RW disc which has ample remaining free space? After preparing the new video for burning and clicking on Burn to iDVD, I get a window saying the disc's already recorded and that I can either Erase or Eject.

    How can I add new content in iDVD to a DVD-RW disc with a video previously successfully recorded on it? (The disc has ample remaining free space.)
    After preparing the new video for burning and clicking in the File menu on Burn to iDVD, I get a window saying the disc's already recorded and that I can either Erase or Eject. My assumption has been that iDVD would automatically find the free space and continue with the new recording from there. I'd be grateful if anyone can shine light on this.

    There are, but not with a DVD written as a movie disk. It must be closed when completed, or it doesn't work.
    Apple's built in Burn utility also automatically closes any data CD, DVD or Blu-ray disk you burn. Doesn't matter how much space is unused, you can't use it. You'd have to use a more advanced disk creation app, such as Toast Titanium. I then have the option of choosing to write the data as a session:
    I can keep doing this until the disk is full. If I've written five sessions to the disk, when I put it in the drive, five CD/DVD icons will appear on the desktop since the OS will treat each session as if they are separate physical disks. At any point you choose Write Disk when writing a group of data, that means you're closing the disk, and again can't add anything after that. So if I had written two sessions, and the third was Write Disk, it's over. I can't put anything else on that disk.

  • Master Data Services - Can not add new User and MDS can not Identify LOCAL Users

    Team,
    We are using  SQL Server 2008 R2 and system working since long and suddenly we observed mentioned two issues. The server MyServer is already restarted but did not help.  The MDS installed and configured on SAME Machine (MyServer).
      I  have two issues here.
    1. MDM website can not Identify the local Users (MyServer\MyUser).
    The User created on local Machine (MyServer\MyUser). I logged into MDM website using Admin login and click on User and Permission. Then I click on add and Text box appears to type UserName. Here I type "MyServer\MyUser" (MyServer\MyUser is already
    exists and working since long). Then click checkName; I received a message "No exact Match was found for MyServer\MyUser". Where as User from OTHER domain identified in MDM but could not identify ONLY the local users like "MyServer\MyUser".
    2. Can not add new user in Existing working MDM.
    I created windows user on machine (MyServer\MyUser1) and add it in UserGroup having an access to MDM. and then I tried to login to MDM using newly created user (MyServer\MyUser1) ; I see error Access Is Denied. The Permission assigned to UserGroup (not
    to individual user). The new User (MyUser1) should automatically get added in MDM once logged in. This is working for existing users in UserGroup; BUT NOT ONLY for new user (MyUser1).

    Now I Solved this problem in my case.
    I just grant again all permissions according http://msdn.microsoft.com/en-us/library/ff486994.aspx. Now all work fine.
    Hope, it will help 

  • Add new bank account in master data client with idoc DEBMAS.

    Hi friends,
    I have an issue.
    I am trying to add new bank account in master data client with idoc DEBMAS.
    But when I submit, then just overwrite the bank data but not add.
    I try playing with MSGFN code with value '009' or '004' but nothing done.
    Someone has met this issue ?
    Thanks for your answers.

    Thanks,
    But what do you mean ? where can I find this path , in img ?
    Fields->Set Qualified Update ->Append Option
    I think we have to use another idoc :
    BUPA_C_BANKDETAIL_ADD01 SAP BP,  BAPI: Add Bank Details
    I'll try...

  • Can't add new Widgets to Dashboard on main user account

    I recently switched to a new MacBook Air and after the initial intstallation used migration assistent to move my old data to the MacBook Air. All works fine except the Dashboard. With the old useraccount (which is my main account) I can't add new widgets to the dashboard. When I download and install a new widget I can see it in the /user/library/widgets section, I can see it in the widget list in the dashboard but when I click on it or drag it up to the dashboard it closes the dashboard again.
    I tried adding a new user and in works fine in that new account.
    Here's what I did to try and solve it sofar:
    1. Repaired permissions
    2. Deleted the two .plist's in user/library/preferences
    3. Deleted the Cache in user/library/cache
    4. Checked the folder permissions in /user/library/widget and compared that with the newuser/library/widget
    5. Downloaded the 10.6.6. combo update and reinstalled
    This behaviour is with every new widget I tried to install.
    I tried to find similar behaviour using google but so far no luck. Any suggestions?

    You have hosed preferences in the main user account. Create a new admin user account, log into it, backup the bad account's folder, delete the bad account, selecting the save data option, recreate the bad account using the same username/password combo, log out and back into the recreated original account. If the problem's solved, open the saved data dmg file in /Users/Deleted Users/, open the /Library/Preferences/ folder from the saved data, open the current /Users/restored account/Library/Preferences/ folder, and slowly copy plist files from the saved data folder to the current one that don't exist in it. Log out and back in to ensure there's no conflict and things still work correctly. Resolving conflicts or identifying corrupt plist files is a laborious process. Good luck.
    See http://discussions.apple.com/thread.jspa?messageID=4703015 for more details on this process.

  • I am running 10.6.6 on my mac and 10.5.8 on my server and I can not add new people to Ical on my mac but if another user on a 10.5 version of mac can. What is the issue?

    I am running 10.6.6 on my mac and 10.5.8 on my server and I can not add new people to Ical on my mac but if another user on a 10.5 version of mac can. What is the issue?

    Set up iCloud
    Set up iCloud (2)

  • My bookmarks have disappeared and I can't add new bookmarks.

    All my bookmarks have disappeared, including the defaults on the toolbar of most visited, etc. I can't add new bookmarks either. I have tried all the Help Topics on lost bookmarks. I tried restoring bookmark backups, but the backup from the date I lost bookmarks says "unable to process backup file." All the later dates will load, but they have no bookmarks saved in them. All of the other Help Topic attempts went fine but did not solve the problem.

    What I would say is that if you have any bookmarks at all at present that you make a manual backup of them, and then continue to make manual backups as any recovery efforts proceed.
    * see [[Backing up and restoring bookmarks]]
    There is a possibility that you had corrupt files, and may then have inadvertently overwritten any files that may have contained bookmarks. It is a good idea to make manual backups, for cases where the auto backups do not. work as expected.
    If you have already followed the instructions carefully about [[lost bookmarks]] and without resolving the situation, there may not be much you can do about your personal bookmarks. If they are important and you are willing to try there may be a possibility using file recovery software, &/or sqlite editors that something could be salvaged, but not something I can advise on, I am not currently a Mac user.
    The default bookmarks should be fairly easy to restore. You can probably also start the bookmarks working again. Trying the simplest options first:
    # work from [safe mode]
    #* at this stage when you see the first dialogue window with options do not make changes, press the continue button
    # use the customise / customize option from the toolbars and '''reset defaults'''
    #* Mac may differ from my Windows XP, I can right click bookmarks, or use the tools menu see [[How do I customize the toolbars?]]
    # if that has failed to resolve the problem go back to safe mode as in step 1 but this time use reset toolbars and controls.
    By now you should have the default bookmarks back and maybe the bookmarks work and will save new bookmarks, try it whilst still in safe mode, before going back to try in ordinary mode. If it works in safe mode but not in ordinary mode you probably have some add-on managing to cause problems
    If you still have problems and bookmarks will not save see [[bookmarks not saved]] that probably indicates corrupt places.sqlite &/or localstore.rdf the linked article explains how to find and delete them.

  • Recent convert to Apple. Previously, I backed up my family pictures from PC to an external hard drive,  a WD MyBook 3T. I can view the pics on my Macbook Pro, but I can't add new pictures. I'm sure this is a format issue, any easy way to correct it?

    Recent convert to Apple. Previously, I backed up my family pictures from PC to an external hard drive,  a WD MyBook 3T. I can view the pics on my Macbook Pro, but I can't add new pictures. I'm sure this is a format issue, any easy way to correct it?

    Install NTFS 3G
    http://macntfs-3g.blogspot.com/
    If you were going to be reading and writing to a NTFS System Partition, you might have to worry about the instability messing up the operating system.  However, you are reading/writing from a non system, backup device so you don't have to worry about screwing up an operating system.
    I would still temporarily move my data to another device and reformat the drive for Mac OS X Extended.

  • How can i add new tab in Business Partner

    hi every body,
    Present i am working on SAP CRM 3.0 version. i need to add new tab in BP.  Here EEWB not available. How can i add new tab?

    Hi  babu,
    you can add new tab in Buisness partner with the help of screen configaration functionality,in screen configaration u select first bp role (sold to party or retailer etc) and click on process screen sequence  and again click on overview and u will get fields right side of the screen, there u will see the field "new screen" click on that and add description for new tab and click on continue,save the document
    now u will again create a bp with modified bp role u will see changes means u will see new tab page on perticular bp role
    i hope this is helpful
    Rewards points if helpful
    Thanks&regards
    kishore kumar

  • Can we  add new attachment outside SC(like from custom page on SoCo PO)  to existing SC ?

    Hi Experts,
    Need your expert advice on the below requirement.
    We have created a custom view in SoCo PO page. There we have a New custom view called Notes&attachement.which contains same value from Notes & attachment of Shopping Cart.
    We are updating existing Notes of SC by FM 'bbp_pd_sc_update' and same is reflected in SC of same item guid & same header guid.
    Similarly trying to add a new Attachment to already existing attachment. New attachment is reflected in custom page and the describe link is working perfectly. but if come out of SoCo page , lets say in SC the new added attachment is shown but display_url,phio_size,disp_url etc are not stored properly in DB.
    in bbp_pd transaction every thing looks same for new and existing attachment. we are using same FM 'BBP_PD_SC_UPDATE' by passing new internal table of attachment in import statement. Even 'BBP_PROC_DOC_UPADTE' has same result that is new attachment is partially updated.
    Suppose, SC has one attachment at the time of creation. then adding a new attachment in custom view of SoCo PO page then every thing works fine in SoCo PO page but out of that SoCo PO or in SC the newly added attachment is not properly updated.
    I have added mime_type,phio_size,disp_url,file_name,file_ext,ev_content,phio_content of new attachment in existing attachment internal table and calling above FM for update.
    Can we  add new attachment outside SC to existing SC ? if yes , then how?
    Thanks,
    Partha

    Your attachments are saved in BBPCONT you can use below steps to check that , I think you can develop a solution inline to the standard architecture. 
    a) Run FM BBP_PD_XX_GETDETAIL
    b) Use GUID from the Export parameter ET_ATTACH-GUID
    c) Use table BBPCONT and pass ET_ATTACH-GUID in step (b) to PHIO_ID .
    d) Then you will have the document content.
    You will get the attachment
    Cheers
    Ankit Jain

  • How can i add new jcomponent to a frame?

    hi.
    how can we add new component to a frame? look at this code. Why when i click on button, nothing added to frame? event handled correctly and frame size changes but no button adds to frame.
    private void convertButtonMouseClicked(java.awt.event.MouseEvent evt) {
    // TODO add your handling code here:
    JButton newButton = new JButton("new");
    getContentPane().add(newButton , BorderLayout.CENTER);
    newButton.setVisible(true);
    setSize(500, 500);
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    Well typically you wouldn't add a button to the Center of a BorderLayout. If you really want to do this you should be using a [Card Layout|http://java.sun.com/docs/books/tutorial/uiswing/TOC.html].
    In general the code for adding/removing components should be:
    panel.add(...)
    panel.revalidate();
    panel.repaint();

  • Ever since the last update I don't have my old bookmarks, can't add new ones and can't import my HTML file. How do I fix this?

    ever since the last firefox update I don't have my old bookmarks, can't add new ones and can't add my HTML file of my bookmarks

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • How can I add new songs to the top (not the bottom) of my playlist in iTunes?

    How can I add new songs to the top of my playlist in iTunes?
    I thought thats what it did before but now it automatically adds new songs to the bottom of the list.
    Not a huge issue but an annoyance.

    Go to your Music library
    Then, Click Playlist
    Then, Click the sort arrow until it points down.

  • My bookmarks have disappeared and I can't add new ones. can anyone help?

    my bookmarks have disappeared and I can't add new ones. can anyone help?

    Try a reset:
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

Maybe you are looking for

  • Clicking on Year view to get Week view in iCal

    In the  Lion version, is there any way I can double click a date and get to the 'week view' rather than the 'day view'?

  • Create Annotations with 'author' name tool property

    Philip Cord has kindly sent me this code that allows to create annotations with the "Author" tool property (older versions than CS3 couldn't get this on script listener - only on the CS3 script listener). Hope it helps anyone like me that can't have

  • Drag and Drop with mx.effects.SoundEffect

    I am trying to get a soundeffect to play after a successful drag and drop operation. Unfortunately, there is no dragDropEffect, so I cannot use mxml for adding sound when a drop is completed. (However a sound effect can be used when the user first cl

  • Can I reinstall Windows in Boot Camp without unpartitioning my hard drive?

    Hi! I've had my iMac with Boot Camp for a while, and I'm the kind of person that likes to download lots of junk. On my Mac partition, I downloaded Parallels, and used it with my windows partition. Later that day, I found out that using Parallels with

  • Checkbox event in REUSE_ALV_GRID_DISPLAY

    Hi, I have a report using REUSE_ALV_GRID_DISPLAY that a check box.. In the ALV have two quantity fields that have values not equal. then while user click on the checkbox i need to give message that quantity is not equal. I need to give message once u