Error messages in notification box

Hi, I have a process that delete a selected record in a list. The process is triggered when the user click on a link in a list of status that put an ID in the session an assign 'DELETE' to &REQUEST. The process is located in the after-header section and could raise an integrety constraint exception.
If the record has no child, everything runs OK and a message, 'Delete completed' is printed in the notification box at the top of the page. But when an error occurs, any child found, the user is redirected to a page where one reads 'Integrety constraint violated ...' and the message included in the error message section of the process. The user than click on the OK link and is redirected to the preceding status list. How could I get the error message to be print in the notification box ?
I already tried create a fake hidden button that is trigger but I can't put the needed ID in the session. I also tried put the process in the after submit section. Is there any solution ?
Thanks

Hi user523491,
You need to make a validation on the page that checks if any child rows exists. You simply make a select that checks.
Most Oracle people are used to catching exceptions in PL/SQL for things like this, but for some strange reason it is not possible to catch exceptions in APEX unless you code the DML yourself. This is one most annoying things with the product. It’s a mystery to me how a database based products with a lot of PL/SQL don’t have exception handling build in.
But for now you have to write a lot of SQL ofPL/SQL to check your integrity constraint and make extra round trips to the database. :-)
You can read about validations here: http://download-uk.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28550/bldr.htm#sthref515
Maybe somebody from the development team can shed some light on how this came to be. I would be very interesting to hear.
Regards Pete

Similar Messages

  • Client Side Error Message in Notification Region

    Hi,
    Is there any way I can display my client side validation in NOTIFICATION region.
    My Scenario,
    In my application, I have dynamic Apex Items (Generating Using APEX_ITEM API).
    I have added client side validation (Javascript) when users clicks the button and I am showing my error message in alert window. (which is working fine). But now my customer wants to display the error message in Notification region instead of ALERT message.
    Can anyone help me to solve this issue. Thanks in Advance..
    Regards
    Balaji S

    Hi
    Yup, just create a div in the page template in the right place to hold your messages and give it an id like...
    <div id="noteArea"></div>Now in you javascript, rather than using alerts, you can use
    var noteObj = document.getElementById('noteArea');
    noteObj.innerHTML = 'my message with any HTML needed';Is this what you mean?
    Cheers
    Ben

  • Error Message in Notification Summary

    Hi all,
    When Approver going to approve the PO from Notification Summary, Following Error we are getting.
    The Document Manager failed with error number .
    Error Number 3 = Unknown Error.
    Contact your system administrator.
    Error Messages:
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP in Package PO_DOCUMENT_CHECKS_PVT Procedure POPULATE_GLOBAL_TEMP_TABLES
    The document being processed is Standard Purchase Order 213227
    After releasing the resources , the approver got approved PO but the above error message still remains in Notification Summary.
    How to remove this error message from Notification Summary ?
    Thanks in advance...
    sanjay

    Ask your DBAs to increase the tablespace for TEMP.
    Thanks
    Shree

  • Workflow notification delegated to the originator contains an error message in notification content

    Hi All,
    We are using a workflow for managing User Access Request(to get new responsibilities) where approval hierarchy is set via AME rules.
    Facing an issue, when approver has set a vacation rule and to whom the notification delegated happens to be the requester itself.
    Notification contains an error message which says like: "Automatic route to <use name> failed. encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.reassign"
    However notification correctly displays its content and also the validation logic that we have put in post notification function while responding to notification is working correctly .
    Also If the vacation rule is set to some user other than requester, issue does not appear.
    Please guide if faced similar issue or any idea to overcome this.
    Thanks in advance!!
    Indu

    I r-clicked on the error message of the details "Request IDoc : Application document not posted" and selected "Idoc maint in OLTP" and then I saw the error message in the log.
    I see that my systems are off a couple minutes.
    Should I just reboot these sys's?
    DataSource 0TCTIOBJNM_TEXT has to be replicated (time stamp, see long text)
    Message no. R3016
    Diagnosis
    DataSource 0TCTIOBJNM_TEXT does not have the same status as the source system in the Business Information Warehouse.
    The time stamp in the source system is 10/31/2007 11:54:29.
    The time stamp in the BW system is 10/31/2007 11:52:10.
    System Response
    The load process has been terminated.
    Procedure
    Copy the DataSource again and then activate the transfer rules that belong to it. You have to activate the transfer rules in every case, even if they are still active after the DataSource has been copied.

  • Problem installing i tunes Error message in Dialoque Box

    Problem installing i tunes Error message  in a Error Box "Installation source for this product not available, verify source exisits , - The feature you are trying to use is on a network resourse that is unavaialble
    Also message reads  Installation source for this product is not available, verify source exists
    I have tried to unistall I tunes using Revo Uninstaller, and get the same message box as when I'mtrying to install I tunes
    I have downloaded the latest version, but cannot install it, I have tried to re -install from my computer an old version, but a message come back stating a newer version is already installed, have selected the two boxes in the Dialoque box and the same message comes back
    Please help

    "Installation source for this product not available, verify source exisits , - The feature you are trying to use is on a network resourse that is unavaialble
    Which particular .msi file (or files) does the message (or messages) go on to say cannot be found? (Several different .msi files might be mentioned in this context: itunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • No display of error message log in dialog box

    Dear MM Experts,
    During enter incoming invoice (MIRO), when we click simulate after entering all necessary data, all error & warning messages are displayed in a dialog box if there is red traffic light. In our case despite red traffic light error messages are not displayed as shown in below screen shot. Only warning messages are displayed & document canu2019t be posted. Please let me know if anyone has encountered such behavior & knows the solution. We just want to see the error messages in dialog boxes so that necessary data can be entered and document can be posted.
    Additional information: 1. No GR needs to be done, 2. GR based IV is unchecked in PO, 3. No validation is active for the company code,
    Thanks & regards,
    Avinash

    Hi,
    Thanks for your response.
    Our problem is not to post a particular invoice doument, the main problem is that error log is not displayed in MIRO. For example if balance is not zero then this error should be displayed in error log dialog box, which is not happening due to which we are not able to post any invoice document as error is not known to the user. Please let me know if any suggestions.
    Additional information: We have deactivated all validations & BADis. We also tried to compare with other systems where error log is displayed properly however our ABAP consultant could not find any difference. Any Input on how to compare is also welcome.
    Thanks & best regards,
    Avinash

  • Validation and  Error Message Dialog Box

    hi,
    I created 2 items DateFrom and DateTo.....when User enter dates into these items I need validate these dates i.e DateTo should be greater than DateFrom
    if it is not so,,,,I need to Popup a Error message in Dialog Box.........
    and this Error should not terminate the Program.
    Thanks in Advanced
    regards,
    Radhika

    Radhika,
    You need to attach PPR event to the Date To column. In the event code in controller, you can validate do the validation and accordingly throw error on the page.
    Why do you need a pop up(javascript alert) for that?
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error message when try to download itunes

    Trying to download itunes again to my windows laptop. It appears to be loaded having gone through the set up procedure but keeps coming up with a runtime error message in a box. It says;
    'Microsoft Visual C+ Runtime Library
    Runtime Error!
    Program: C:\Programfiles\itunes\itunes.exe
    R6034
    An application has made an attempt to load the \c runtime library incorrectly
    Please contact the application support team for more information'
    When I clear this box another one pops up and says
    ' itunes was not installed correctly, please reinstall itunes error 7 (windows error1114)
    I have tried to reload itunes but this keeps happening. I tunes has been running correctly on this computer for several years!
    Does anyone out there have a clue as to what to do?
    Much appreciated if you do!
    Phil

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Getting error message "Can't tune to channel"

    Like the title says, I get an error message saying my box can't tune to any channel, earlier the tv was working fine, then the video went out but we could still hear the channel. Next the audio went out as well. Auto fix doesn't solve the problem, and I ran the box network check and all 4 settings were OK. I'm not sure if the set top box is just bad and we need a new one or what else it could be. Any help would be greatly appreciated.

    Doublechecking before proceeding. Is that a "This action is only valid for products that are currently installed" error message?

  • Can't install desktop software--​error message

    When I first tried to install the desktop software from the disk that came with my phone, something went wrong and the installation was incomplete.  I am unable to uninstall and start over, however, because when I open the Add or Remove Programs feature in the control panel, no blackberry software comes up as an option to remove.
    When I try to initiate the intallation process again (whether by disk or by download), I get the following error message in a box that says "InstallShield" at the upper left:
    An error occurred while downloading the file http://saturn.installshield.com/is/prerequisites/m​icrosoft.net framework 2.0 sp1.prq.  What would you like to do?
    I then have the option to retry or cancel.  If I hit retry, I get the same message.  If I hit cancel, I get the message:
    An error occurred while downloading the file http://download.microsoft.com/download/0/8/c/08c19​fa4-4c4f4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe.  What would you like to do?
    Again, I have to option to retry or cancel.  If I hit cancel, I get the message:
    The files for installation requirement Nicrosoft .NET Framework 2.0 SP1 could not be found.  The installation will now stop.  This is probably due to a failed, or canceled download.
    This time, I can click Yes or No.
    Any suggestions how I can get the desktop software installed onto my computer?
    Thanks!
    Annie

    Yes Microsoft removed it from their site, that's why I linked to the other site where you can download it from. 
    In the past if the clean uninstall steps for the Desktop Manager didn't work, than the windows utility always did the trick
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Raising Error message

    Hi all,
    We are using SAP ABAP Web Dynpro Component: RPLM_QIMT_NOTIF_COMP to create notification(IW21). After entering data to create notification screen and press save, we want to do some validations and trough error message to screen and stop saving notifications until errors are fixed. Could someone give us clue how we raise error messages. Rather sample code to raise error messages. Notification is created via portal.
    Rgds,
    Harish

    Hello Harish,
    When the user presses on the save button, an event would be triggered. You can catch this event and perform your validations. Once the validations are done, you can use the FPM message manager to report your error messages. (IF_FPM_MESSAGE_MANAGER). You can instantiate this API in your component and then use the methods from this API to report your messages on the UI.
    Regards
    Rohan

  • Whenever i try and open a social network app it comes up with an error message sayinng "Connect to itunes to use Push Notifications" I have successfully conntected to itunes via phone and computer however this message is still appearing and will not go?

    Whenever i try and open a social network app it comes up with an error message sayinng "Connect to itunes to use Push Notifications" I have successfully conntected to itunes via phone and computer however this message is still appearing and will not go, therefore i cannot use the apps?HELP PLEASE

    http://support.apple.com/kb/TS3281

  • Error Message in a dialog box

    Hi,
    I have defined a error message in a raise application error type. Is there a way can we change this error type to message box becouse after entering data I lose data what is been entered on page.
    becouse of this error type. Please suggest me how to change
    IF wwv_flow.g_f04(vRow) IS NULL THEN
    RAISE_APPLICATION_ERROR(-20000, 'Plan Start Date is null, Cannot Insert Null');
    END IF;
    Thanks
    Sudhir

    Hi Sudhir,
    not sure ti work, but try with:
    begin
    htp.script('alert(''My message'');');
    end;

  • When I allowed an upgrade to Itunes on my HP Windows 7 computer now I have this error message when I turn on my computer:  AppleSyncNotifier.exe-Entry Point Not Found.  The the explanation in the dialogue box says:  The procedure entry point sqlite3_wal_

    Error message after allowing an upgrade:My dialogue box in the error message says:  The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll--this happened after I allowed an upgrade to be installed.  I have HP Windows 7.  Now my Iphone will not sync.  What do I do?

    Found this fix here which worked for me with a similar problem.
    https://discussions.apple.com/thread/3196594?start=0&tstart=0
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Reboot and see if all is well.

  • I can not sync my iPhone to the computer. I keep getting up an error message that synchronization does not want to start. I have uninstalled iTunes and then reinstall it. But the same warning box will appear. How can I get my phone in sync again?

    Can someone please help me get my iPhone to sync to your computer?
    I can not sync my iPhone to the computer. I keep getting up an error message that synchronization does not want to start. I have uninstalled iTunes and then reinstall it. But the same warning box will appear. How can I get my phone in sync again?

    Hello lenmin,
    Thanks for using Apple Support Communities.
    To help resolve this issue where you're repeatedly prompted to authorize with your Apple ID in iTunes when syncing, please follow the directions in the article below.
    iTunes: Missing folder or incorrect permissions may prevent authorization - Apple Support
    Have a great weekend,
    Alex H.

Maybe you are looking for

  • Warning Query has exceeded 200 rows.

    Hello gurus, I am currently getting a warning message when I run a page and click on a tab more than once. The page I am running is a customer html form at the site level. The name of the page is ArAcctSiteOverviewPG. There are 7 tabs on this page. W

  • Future Valuate of Receivables T Code F107

    Hello It is with regards to Future valuation of Customer & Vendor balances vide T Code F107 to meet the requirement in IFRS. As per configuration the future valuation should be accounted in the parallel currency only in Local & Group currency. No fut

  • Creating DW templates - Repeating Optional Region?

    Hello Again: I know that it isn't always the best to pose abstract questions on forums, but I am wondering if anyone can tell if/how one can create an optional region within a repeating region of a DW template? The specific conundrum I seem to face t

  • Installing magic mouse on windows 7

    I am trying to find a driver to install the magic mouse on my windows 7 laptop

  • Why do keyword synonyms get imported as separate keywords?

    Hello, and sorry if this question has been asked before (it's my first time in the forums, and I find them rather user-unfriendly). I'm currently trying to understand keywords & keyword hierarchies. I have successfully created several keywords that i