Issue with Create Button

New to APEX and I'm still getting the hang of things, so many thanks in advance for any help!
I have the following scenario:
I have a page with two regions. First is a simple report with an edit link that refreshes the second region (using a Hidden and Protected field "P_ITEM_ID"). The second region has form fields used to edit the details of the selected record. Updating records works, as does "Cancel Changes".
When I try the Create button (generated by APEX), I get the following error:
ORA-00001: unique constraint (PK_NAME) violated
When I try to use the Delete button (also created through the Wizard), I get the following error:
ORA-02292: integrity constraint (FK_NAME) violated - child record found
I guess I have two questions:
1. How do I make (and allow) the Delete action to also delete the child record? (As I want it to do)
2. How do I get the Create button to conform to the primary key for the field? I did edit the Create button to not be Conditional - is this why it is broken? I could never get the Create button to appear otherwise, because the condition was looking for P_ITEM_ID to be null, which it never is.
Thanks!

Thank you for the feedback. I will take a look into the cascade delete. Is there a way to limit it to only certain delete actions?
I am working on getting something up in apex.oracle.com so I can have a better demonstration. Thanks!

Similar Messages

  • .Issue with creating a photo book in Iphoto error message states some frames are missing images, but I've checked each one and from I can see they are all filled in. It won't let my buy the book though

    Having an Issue with Creating a photo Book in Iphoto. I continue to get an error message when clicking on "Buy Book" The error indicates that I'm missing a frame or frames from the book. I've checked this many times and cannot locate the issue. The book appears to be complete from my perspective. What can I do now? I worked very hard on this and would hate to lose it all.

    How did you check the book? Did you preview it?
    See:
    iPhoto, Aperture: Previewing an order in iPhoto or Aperture
    Is that the message?
    "your book seems to have frames on one or more pages that do not contain photos. You must either change the layout of those pages or place photos in those frames before you can buy this book."
    The most common reason for this error is, that you have used a page layout that needs a background photo and you have not yet added the backdrop. Then the book is still showing some default grayscale image.
    Check, if one of your page layouts is using this background:
    Then you need to add a photo to the background of the page.

  • HT204291 Since upgrading to iOS7, i have experienced issues with Airplay button missing

    Since upgrading to iOS7, i have experienced issues with Airplay button missing from the control menu as well as in Spotify.  It is as if airplay is not runing.  A temp fix: Reboot of the ipad mini (Home button+standby) Is there anything permanent?
    I have verified that my iPad mini and apple TV is up to date.
    Airplay enabled, the network is connected with internet.
    It is as if, airplay is a service that just stopped working and has to be restarted again via a reboot.

    Welcome to the Apple Community.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.
    The following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Troubleshooting Security Software

  • Issue with Creating Forecast Profiles/Forecasting

    Hello Experts,
    We are facing an issue with creating forecast profiles.
    We have two FYVs defined in our system, one with 52/53 fiscal weeks (Fiscal Variant W1) and the other with 12 fiscal months (FYV M1), Our storage buckets profile (STP) uses W1,  since we have many dataviews that use W1 as the FYV in the attached Planning buckets profile(PBP). We also have dataviews that display in fiscal months (use FYV M1 in the attached PBP), data from Fiscal weeks will be aggregated and shown in Fiscal months . We need to do forecasting using FYV M1, that is forecast in Fiscal Months , but since the storage bucket profile has W1 which is used in the Planning Area config. We are unable to create any Forecast profiles with FYV M1 . Please note that we cannot use M1 in STP because when we used M1 in STP, we could not create  dataviews in fiscal weeks (using W1)
    1. Is there any way we can forecast using M1 while having assinged W1 to the Planning area/STP ?
    2. OR we are willing to assing M1 to PA, provided we can use W1 in some of the dataviews, unfortunately we were unable to do this, though the vice versa is possible i,e. we could have W1 in STP and M1 in some of the related PBPs/ Weekly Dataviews.
    Please let me know if any of these are possible or if there is any alternative way to do forecasting in Fisc Months.
    Thanks
    Tej

    Hi,
    You are correct, the Storage bucket profile always has to be at a detailed level. Time bucket profile can be at higher levels like monthly, quarterly etc.,
    Coming to the root of your problem, which is you are unable to forecast at a level other that what is specified in your Storage bucket profile, unfortunately the answer is no.
    You can do a forecast only at the level at which the data is stored and not at the level at which the data is viewed.
    One work around for this is to create an additional planning area with the same MPOS and this addl PA can contain only those bare minimum KF required for your forecast. After you generate your forecast, you can copy it to your Weeks based PA and then proceed from there. This copy of KF between PA is much faster as it will happen at LC level and should not cause time delays.
    NOTE - You have to exercise caution when you are using 2 periodicities i.e., weeks and months, if you are using standard SAP calendar then you are good to go. If you are creating custom Fiscal variants pls ensure the start and end of a month is same in both the weekly and monthly variants. Failing which, there will be mismatch of data between the two dataviews.
    Hope this helps.
    Thanks
    Mani Suresh

  • Anyone have an issue withe airplay button not being available?

    Anyone have an issue withe airplay button not being available?

    Since the last pair of updates, my game camera won't pan around in any adventure level, leaving many sub levels off screen.  This is happening in all community adventure levels as well as my own on my moon.  Also can't seem to decorate my adventure levels without experiencing major glitches, especially with changing the materials.  The updates fixed a lot of stuff, but it seems like they trashed some things too.

  • Issue with creating List of Values in Business View Manager

    Hi,
    Could any one help me to figure out what this issue refers to?
    When i created a List of Values in Business View Manager, it is throwing the following error!!!!
    The List of Values used by this parameter cannot be based on a Business View derived from the current Data Foundation or Business Element.
    Prior to creating LoV, i've done successfully with creating Data connection, Data foundation, Business element and Business View..
    Thanks
    Viswa

    Hi Visaw,
    Firstly,
    -->Open Repository Explorer,
    -->where you are have related DF,DC,BV,BEand LOV's
    -->Right click on LOV's -->There you can find Schedule list of values.Then schedule list of values and check if it prompts for errors.
    If you face the same problem, what is the error you are getting.
    Else try to use the LOV's and proceed further.
          -->Check whether the LOV's are pointing to the same Business View and check the Business view pointing to the same Datafoundation.
    If you are facing the same problem then try with the below steps:
    -->Try to Create a report at designer level Using then Business view
    -->Create two new parameters and select the existing parameters(LOV parameter's)
    -->Check whether it is working.
    -->If you  face the same problem ,Update the connection of Business view manager.
    Go to Database tab-->Select Set DataSource  location and update it with current Businessview Manager.
    Try this ,and let us know.
    Regards,
    Navin

  • HELP!! Issue with mailto button in PDF

    Hi
    I have a button in a PDF form that attaches default email (LOTUS NOTES) when clicked. I have my settings in IE set to Lotus Notes as my default client and also in Lotus Notes I have the same settings.
    The form however does not work sometimes when the button is clicked, nothing happens. It works fine for me but doesn't on another computer with the same settings.
    Is this an issue with the PDF or Lotus Notes? If so any suggestions?
    Thanks

    Hi
    Both machines are running windows XP SP 3
    I have done some google-ing the issue but I didn't get any useful information.
    I tried it on the second computer again and it says no 'email exits'
    Any help on why this is happening will be very useful.
    thanks in advance!!

  • Project Online, Issue with creating projects from EPTs (with workflows)

    Hello, I am using Project Online. I am not able to create a new project based on the "Software Development" EPT. I get following message: Sorry, something went wrong An unexpected error has occurred. TECHNICAL DETAILS Troubleshoot
    issues with Microsoft SharePoint Foundation. Correlation ID: 29b2b89c-607f-1000-80c2-80bbbb7ff088 Date and Time: 15.09.2014 03:57:25.
    Any ideas what went wrong?
    Thanks in advance,
    Martina

    The reason for this behavior was the following:<o:p></o:p>
    The currency of the PWA settings have been changed.<o:p></o:p>
    Looking into the queue of the EPT we found the following hint:<o:p></o:p>
    Project:<o:p></o:p>
    ProjectCurrencyConflict (23001). Details: id='23001' name='ProjectCurrencyConflict' uid='f1850fb3-c53c-e411-9a1e-00155d58393b'.<o:p></o:p>
    After changing back to settings "Allow projects to be published in various currencies" the workflow works fine.<o:p></o:p>
    Nevertheless this issue is not clear for us why it appears after a currency change in the workflow. Maybe a sleeping bug?<o:p></o:p>

  • Issue with create user and issue with Java Development tab

    I have two issues with EP,
    1. When i login with Super Admin user, i am unable to Create any user from User Admin tab. Do i have to change the settings of the Super Admin? or is there any criteria for creating the user?
    2. How to assign any user the Java Development tab. Though i login with a super admin user i am unable to see the Java Development role and when tried to assign the role, there were no searches for that Java....

    Hi Adi,
    by default the super administrater has got all permissions. Thus you should be able to create portal users when using a user assigned to the portal group Administrators.
    In order to help you with your first question we need more information. Please describe the malfunction in detail. Have a look into the log files and post related error messages.
    Regarding your second question: You will find the java development role in PCD
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.pct.pdk/Roles/com.sap.pct.pdk.JavaDeveloper.
    If not, then you haven't installed the PDK business package in your portal.
    Go to service.sap.com, choose downloads and search the package (PDK should do it). Download the package, and deploy on your portal using SDM.
    Best regards,
    Martin

  • Firefox Issue With Back button

    I am having an issue with SpryHorizontal Menus in Firefox when using the back button.  Even did a tutorial with Lynda.com and found their solution file had the same issue.  Would anyone who has had success with 3 levels of submenus care to share a snippet of their code as I cannot find the error and outside help hasn't quite resolved the issue.
    My code is following this basic outline
    <li><div align="center"><a class="MenuBarItemSubmenu" href="#">Academics</a></div>
          <ul id="Academics">
            <li><a class="MenuBarItemSubmenu" href="#">Departments</a>
                <ul id="Departments">
                  <li><a href="../tsc_bustech.htm">Business Technologies</a></li>
        <li><a href="../tsc_communications.htm"><font="11.75px">Communications</font></a></li>
          <li><a href=""../tsc_ethics”/>Ethics</a></li>
                  <li><a href="../tsc_finearts_hum.htm">Fine Arts and Humanities</a></li>
                  <li><a href="../tsc_math.html">Mathematics</a></li>
                  <li><a href="#">Natural Sciences</a> 
            <ul id="naturalsciences">
        <li><a href="../tsc_bioscience.html">Biological Sciences</a></li>
          <li><a href="../tsc_physicalscience.html">Physical Sciences</a></li>
        </ul>
              </li>
                <li><a href="../tsc_socialscience.htm">Social and Behavioral Sciences</a></li>
                </ul>
            </li>
    Thank you.

    Hi Beth,
    Just an FYI.  Also received another nice piece of information to store in the SpryAssets help file from an online Adobe Certified Course Director:
    Thanks for your email! It isn’t often I get a great question like that. I had to do some digging, but I came up with a solution. You might have already worked your way through it, but if not the problem is Firefox’s (and Opera’s) caching that’s causing the issue in question. To fix it, you have to reset the submenu dynamic class names when the user clicks the link (re-caching the page is a bad idea).
    This is a pretty simple javascript fix. The problem was so interesting that I posted the fix to my blog. You can check out the solution here: http://www.simpleprimate.com/?p=30 if you haven’t already figured it out.
    Maria

  • Issues with rollover buttons in Indesign CS6

    Hi,  I was wondering if anyone can shed some light on a issue i'm currently having. 
    I've produced a interactive map in Indesign, with rollover buttons which triggers an animation - all the buttons and animations seem to be set up correctly and once I export as a SWF they seem to work fine initially, but after a couple of rollovers some of the buttons just stop working.  If I refresh the page or reopen the swf file it then starts working again for a period, but again after a few successful rollovers some stop working again.  I'm wondering if this is a bug of some sort?  Ive also tested the .swf on a different machine and I experience the same issue.
    Any help with this would be be much appreciated.

    We might be able to help you but you'll have to drop the attitude. We're not Adobe here, but users like you.
    You'll need to tell us exactly what you're doing and what's not working for you. By "rollovers," you could mean the change of appearance of a button. You could also be meaning what are sometimes called Show/Hide buttons where clicking a button causes another button to appear. Which is it?
    And what kind of output are you attempting? Interactive PDF? SWF (Flash)? DPS?

  • Issues with Creating Outlines in CS2

    I'm having an issue when a create text outlines in InDesign.  For some reason, and this only happens so far with 2 fonts, when I outline text (highlight text - click "object" - "create outlines") an extra character is added on to the end of certain words.  As far as I can see it is only happening with words that end in "t" like August and Northwest and it adds a second "t".  The two fonts I've had issues with are Bickham Script Pro and Asturias.  The major problem with this is I have clients approve their proofs, then I outline the text in preparation for printing (which is when it adds the extra character), since I'm not doing additional proofreading after the client has approved, the file makes it through printing with the extra character.  Has anyone else seen this?  I've attached an example of what it looks like, the extra character is on the word "Northwest"

    {I hate the way this forum works! I follow stuff by email, which gives no indication of post no. So, I had to click the link in your post to access the thread on the web. (...wait...) No post nos. Sign in (...wait...) go to prefs (...wait...) select Flat view and Save (...wait...)  return to forum (...wait...)  - and find that post 17 was the one I'd replied to, as the Threaded view properly indicated.}
    My point was that the text had clearly not been converted to outlines. Outlines had been created from the text and added to the file, and that is what displays, but the text is still there - otherwise, why would the fonts be embedded? And why would that one piece of text peep out on the right-hand side?
    Noel

  • Outlook 2007 , calendar issues with creating meetings  - any ideas?

    Hi All
    My boss has a Mac and has installed office 2007. Configured Outlook to connect to our office exchange, all ok.
    Now, to book meetings we use the resources field when added someone. This is not visble in the mac version of office.
    Now, also a issues he has seen which I have witnessed, that if he creates a meeting via his Windows machine in outlook, as soon as he opens Outlook on his mac, all meetings become unbooked. They are still there, just all marked as provisional and hence what happens, he goes to the meeting, to only find the room booekd out to someone else as its only marked as provsional.
    Any ideas, anyone else seen this?
    Cheers
    Scott

    Since this is software issue with Outlook, and not one related to Macs or Mac OS, you should probably post your question on an Outlook forums:
    http://www.office-outlook.com/outlook-forum/

  • Issue with creating a new line in Glossary widget

    I'm using Captivate 6 and have an issue with trying to display text on a new line in the description field of the Glossary widget. In playback, a carriage return displays as \n
    I read in another discussion (from early last year), that this issue had been resolved and that the fix would be shared soon on the captivate blog for non-subscription users. Does anyone know if the fix has been shared yet - I can't find it anywhere?
    Thanks for any help you can provide.
    Tenneil

    Hi Tenneil,
    Greetings from Adobe.
    Please click on the below link and download the updated Glosarry Interaction.
    https://files.acrobat.com/a/preview/0a17bb28-049e-4ac7-b8f7-dbdacef5e91c
    Extract the zip file to your desktop.
    Copy "08_Glossary.wdgt" from the extracted zip file.
    Go to : C:\Program Files (x86)\Adobe\Adobe Captivate 6 (32 Bit)\Gallery\Interactions (For 32 bit Captivate) or C:\Program Files\Adobe\Adobe Captivate 6 (64 Bit)\Gallery\Interactions (For 64 bit Captivate).
    Replace the glossary widget in the interaction folder. Restart Captivate 6. (Make sure that you take the backup of the original Glosarry Widget)
    Apply the widget again and check for the issue.
    Let me know if it works for you.
    Regards,
    Mayank

  • Buggy issues with keyboard buttons.

    Getting constant issues with keyboard keys in Photoshop. Delete key does not delete layer, Fill layer (Option Delete) only works when I change tools. And it does this intermittently. It's very annoying!
    Anyone else have these issues? These are just some of the issues that pop up.

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for

  • Error in running custom tag

    Hi I am new in jsp?s custom tag development and trying to run it's example with jakarta-tomcat-4.1.30. I have hello.jsp <%@ taglib uri="/WEB-INF/mytaglib.tld" prefix="first" %> <HTML> <HEAD> <TITLE>hELLO tAG</TITLE></HEAD> <BODY bgcolor="#ffffcc"><B>

  • How to restore iPhoto and iBooks after clean install?

    I need to do a clean erase and reinstall of Yosemite.  How do I preserve my iPhoto and iBooks content and settings after reinstalling those apps? Thanks,

  • Order of  events in abap

    Hi,      this is kiran,can any one send the order for events in abap. regards, kiran

  • New Project for Oracle Open Source Projects Page

    Another SQL*Plus clone but this one is written in pure java, feel free to add it to the Oracle Open Source Projects page: SQL*More is a tool to execute commands against SQL databases in the same vein as SQL*Plus for Oracle. Key features are platform

  • Server Assistant hangs at: Installation...  window?

    Hello All! I'm trying to do a clean install of the server OS (10.4)on a "no-video card" XServer. I'm using my powerbook on a little standalone network (server, switch, and powerbook). Server Assistant connects fine from Powerbook using "169.254.X.X."