Raise_error in a trigger gives extra errors
Hi
I have a question about a trigger.
The purpose of this trigger is to prevent modifications being made to a record.
complete code of the trigger:
TRIGGER AR_APPLICATIONS_ARU BEFORE UPDATE OF DISPLAY ON AR.AR_RECEIVABLE_APPLICATIONS_ALL
FOR EACH ROW
when (old.attribute13 in ('PAYED','PAID'))
BEGIN
IF :NEW.DISPLAY = 'N' AND :OLD.DISPLAY = 'Y' THEN
RAISE_APPLICATION_ERROR(-20001,'-----------Test foutmelding!!-------------');
END IF;
END;This trigger shoots when it should, but I get also other error messages:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APPS.FND_MESSAGE", line 581
ORA-06512: at "APPS.FND_MESSAGE", line 537
ORA-06512: at "APPS.APP_EXCEPTION", line 42
ORA-06512: at "APPS.ARP_APP_PKG", line 681
ORA-20001: -----------Test foutmelding!!-------------
ORA-06512: at "APPS.AR_APPLICATIONS_ARU", line 3
ORA-04088: error during execution of trigger 'APPS.XXABET_AR_APPLICATIONS_ARU'
ORA-06512: at "APPS.ARP_PROCESS_APPLICATION", line 522
FRM-40735: ON-UPDATE trigger raised unhandled exception ORA-06502.What do I do wrong, or how can I suppress those messages?
[url http://forums.oracle.com/forums/thread.jspa?threadID=551553&tstart=30]duplicate thread
Similar Messages
-
Database Trigger gives error in APEX form
Hi
I have a table that has an on insert and on update trigger on the database table that is in the apex form. when applying changes or creating a new row fields are populated in the table for who and date. This works as expected but not in APEX.
in apex when trying to create or apply changes the following error is given
ORA-20505: Error in DML: p_rowid=hello, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "AIT_MSTR.UPDATE_ACCOUNT_ROW", line 9 ORA-04088: error during execution of trigger 'AIT_MSTR.UPDATE_ACCOUNT_ROW'
Error Unable to process row of table ACCOUNT.
I am not sure, but I think this error is around the DATE field in the row. How can APEX be modified to not error out on the execution of the trigger?
the trigger is very simple
CREATE OR REPLACE TRIGGER AIT_MSTR.UPDATE_ACCOUNT_ROW
BEFORE UPDATE
OF ID
,DESCRIPTION
,CONNECT_ONLY
ON AIT_MSTR.ACCOUNT
REFERENCING NEW AS New OLD AS Old
FOR EACH ROW
NAME: UPDATE_ACCOUNT_ROW
PURPOSE:
REVISIONS:
Ver Date Author Description
1.0 6/9/2011 1. Created this trigger.
NOTES:
Automatically available Auto Replace Keywords:
Object Name: UPDATE_ACCOUNT_ROW
Sysdate: 6/9/2011
Date and Time: 6/9/2011, 11:39:59 AM, and 6/9/2011 11:39:59 AM
Username: (set in TOAD Options, Proc Templates)
Table Name: ACCOUNT (set in the "New PL/SQL Object" dialog)
Trigger Options: (set in the "New PL/SQL Object" dialog)
BEGIN
:NEW.Update_Date := SYSDATE;
:NEW.Updated_By := USER;
EXCEPTION
WHEN OTHERS THEN
-- Consider logging the error and then re-raise
RAISE;
END UPDATE_ACCOUNT_ROW;
Any help is greatly appreciatedHi
Yes you are correct it was the length of the Created_by and Updated_by column. i had to increase the size of those columns in the table
Now it works.
HOWEVER, it is not capturing the user name of the person logging into APEX that is creating or updating the record. The entry I see in the created_by or updated_by is ANONYMOUS. Which is not want is needed to be captured and recorded. Where is this anonymous value coming from and how can i get it to be the id of the APEX user instead?
Any help is greatly appreciated on this new issue -
Downloading iTunes extras (Error -50)
I've been trying for the last week to download the iTunes extras for one of the movies I recently bought.
every time I try to download it, it stops and gives me error -50.
what does this mean? How can I fix it? I'm currently in Costa Rica so I can't even get any support directly from Apple.
this is really frustrating me...
I've already tried resetting the cache and warnings, deleting the actual cached folder,
restarting my computer, resetting the internet connection,
nothing has worked. Have I been given some sort of corrupted file...?
thanks in advance...Hi..
Could be the following:
Firewalls
Web Accelerators
Ad Filters
Virus Protection Software
From here > iTunes Store: "Error (-50)" when downloading purchased content -
I'v tried uninstalling and then reinstalling Digital Editions (both v2.0 and v3.0) with same result. I have receintly had a hard disk crash and this is the first time I've used Digital Editions since I've restored from backup onto a new hard dirve. Any ideas?
jnfHi jnf,
Sometimes ADE gets its registration/activation confused and in a semi-authorized state.
Uninstalling and reinstalling does not help.
Unfortunately, it often then gives misleading error messages about what is wrong.
A common incorrect message informs you that the ID is already in use on another computer and cannot be reused.
This can often be resolved by completely removing any authorization using ctrl-shift-D to the Library screen on ADE (cmd-shift-D if on Mac).
Restart ADE, and then reauthorize with your (old) Adobe ID.
In extreme cases on the mac, the following extra step has helped. Navigate to /Users//Library/Application Support/Adobe/Digital Editions and drag the activation.dat file to the trash. If you are using 10.7, see Access hidden user library files | Mac OS 10.7 Lion. (http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html)
Please refer : http://forums.adobe.com/thread/1265248?tstart=0
Regards,
Ravi -
HelloThank's for your helpsI hope this document is helpfulBest Regards,
Date: Sun, 22 Jun 2014 17:10:17 -0700
From: [email protected]
To: [email protected]
Subject: when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
created by Anoop9178 in Adobe Reader - View the full discussion
Hi,
Would it be possible for you to share the document?
Regards,
Anoop
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Reader by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode -
Upon upgrading iPhoto, iPhoto Help no longer works. It gives the error message: "The selected topic is currently unavailable. To see all iPhoto Help, you must be connected to the Internet." I am obviously connected to the internet since you are reading this.
I tried upgrading permissions but it did not help!? Can anyone tell me what is wrong? ThanksTry
Reboot the computer, see if that fixes it.
Then try:
Backup your files off the computer (not TimeMachine) and disconnect
Hold c boot off the 10.6 disk and simply reinstalling OS X
Log in and update to 10.6.8
c boot off the 10.6 disk again and use Disk Utility >Repair Disk
reboot and all should be fine, except some third party programs that install kext files, those will have to be reinstalled from fresh sources. -
Photoshop gives "Program Error" when I try to open files while VPN
I think this may be a new one. While VPN on my company network, Photoshop CS cannot open any files. Either drag and drop, double click or even file open command. You get the clock and the message "failed to open because of a Program Error.... " or something close to that. I'm sure it says Program Error though. Works fine if I'm not VPN but soon as I'm on it stops opening files or even creating a new blank canvas gives that error. I checked Adobe forum and nothing there to find about this one. Anyone else have this happen?
Hi, SSI.
1. What VPN client are you using?
As a guess, your VPN client may be blocking a port that PS CS may use for license verification over the Internet. The fact that it works AOK when not using the VPN would tend to support this hypothesis. As to what port it may be attempting to use, I can't say, but you may be able to find this out from Adobe and then work with your firm's networking staff to see if this port can be opened for use when the VPN is active.
2. You noted that you "checked Adobe forum and nothing there to find about this one." Did you post to the Adobe Photoshop forum? If not, I recommend doing so.
3. You wrote: "You get the clock and the message "failed to open because of a Program Error.... " or something close to that. I'm sure it says Program Error though."As FYI, in cases such as this, copying down the exact text of the message is helpful.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X -
When i try to log on to Oracle it gives an error TNS:no listener, WHY?
hi guys,
WHen i try to log on to the Oracle 8i server using the user: SYSTEM and password: manager, it gives an error
ERROR:
ORA-12541: TNS: no listener
why this occurs and how do i fix the problem? please give me step by step instructions TY :)
Message was edited by:
user502781ORA-12541 ...
- The client is requesting connection to a service.
- The service is derived from the alias used in the connection. For example, @orcl ... orcl = alias.
- The alias is used to look up the host, listener port and service in the tnsnames.ora
The listener is on the same machine as the database. The listener must be up and listening on the port the client want to use.
If the listener is not up, there wil be an "ORA-12541: TNS: no listener" error;
If the listener is listening on the wrong port, there wil be an "ORA-12541: TNS: no listener" error;
If the client is asking for the wrong port, there wil be an "ORA-12541: TNS: no listener" error.
To start the listener in Windows, go to the Control Panel > Administration Tools > Services and ensure the Ora?????Listener is started.
To verify the listener is up, open a command box, and type 'lsnrctl status'
To see what the client is expecting, on the client machine open a command box, and type 'tnsping {alias}' where you replace {alias} with the alias to be used in the connection. -
to download an App the 3 security questions are required. But at the end, apple is not able to complete the task and gives an error message. No more downloads are possible. What can I do?
Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
Could be many things, we should start with this...
"Try Disk Utility
1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
*Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
Do they launch OK while in Safe Mode? -
When I download and install iTunes it looks it does it, but then it never starts, instead gives an error report and says iTunes encountered some problem and has to close
i don't know how they solved it, i'm having the same problem on Windows XP
EventType : BEX
P1 : iTunes.exe
P2 : 10.7.0.21
P3 : 504d85d9
P4 : unknown
P5 : 0.0.0.0
P6 : 00000000
P7 : 08920740
P8 : c0000005
P9 : 00000008 -
I have an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes.
All of the other movies on the card download with out a problem. The movie in question is not 'corrupt' as you can watch it in iMovie direct from the SD card but as soon as you try to import it, it just says 'error'. iIve tried moving the file to an external drive ( and other variations on this theme) then importing but have had no luck.
Can anyone please help me.The mystery remains....
Thanks for the pointers. The file type is .mts (a proprietry sony one).
I have now found some video converter software (Wondershare and iSkysoft) at a cost. Either will convert this file for me into .mp4. This I can then import into iMovie without any problems. I've checked this on the trial versions and it worked well but without paying am left with a giant watermark in the video
The mystery (which I still havent solved) is why did 20 other .mts files import fine and then this one not?
If you could point me in the direction of some free .mts converter software that would be the cherry on the cake.
Thanks -
My OS is Windows XP version service pack 3. I even tried to install FF4 but it never get installed. As I mentioned my FF keeps trying to update itself but it gives the error message I provided in title. Now I don't have access to my FF browser and my life is stopped because I have all my passwords saved on FF. I restarted my notebook but it stills try to update itself giving the same error message. I can not also upgrade my Adobe reader 7.0.7 to 10 I have tried more than 10 times but it never gets upgraded. I had this Adobe problem since long time ago.
Run the Firefox program once as Administrator (right-click: Run as Administrator).<br />
If that doesn't help then do a clean reinstall.
Do a clean (re-)install:
* Download a fresh Firefox copy and save the file to the desktop.
* http://www.mozilla.com/firefox/all.html
* Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
* Don't remove personal data if you uninstall the current version.
* It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox. -
Have uploaded and installed CC 2014. Several apps give this error when I try to start them: "Unable to launch Adobe InDesign as you do not have sufficient permissions to access the preferences folders"
-or-
The icon in the dock bounces once, and nothing happens.Windows or Mac, and exactly which operating system version?
-
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
if you can help me thank's
[email address removed by host]thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode -
When i try to connect my Ipod Touch 5th gen to Itunes it gives an error any idea's?
When i connect to the latest version of Itunes it gives an error message that says "The Ipod "ipod touch" could not be synced because the sync session failed to start." i've tried restarting it sevral times and even restored a backup but to no avail. any help would be greatly appriacated!
See:
Sync Session Failed to Start iTouch iOS5: Apple Support Communities
iphone could not be synced sync session failed to start...: Apple Support Communities
Maybe you are looking for
-
Widgets issues with recent install of Mountain Lion on my iMac.
Since installing Mountain Lion my screen periodically locks up an shifts to the right. I noticed along the left a charcoal background with large dot pattern was showing while the screen was shifted and locked to the right. Then a few times the widget
-
Hello, I have a problem with Adobe Reader XI Protect Mode. When we open a PDF document through the APP-V layer I have an Access Dennied: Look the LOG: [12:11/13:40:07] NtCreateFile: STATUS_ACCESS_DENIED [12:11/13:40:07] real path: \??\mailslot\Lilo17
-
Line item is repeating while printing
Hi Experts, In my sales order, i have only one line item in the document but while printing it repeating for more than 150 times. Can anyone please give me the solution?
-
How can I include a jsf page?
I need to include a jsp page that contains jsf code, I try with: <c:import url="faces/include.jsp" var="prova" /> but the server response: javax.servlet.ServletException: Cannot find FacesContext There something that is wrong? Thank's Teo
-
I have an apple id, but it says my password is incorrect
I have an apple id for my daughter. when I try to log in it asks for my PW which i can't remember. When i want to verify by email i do noyt get an email on one of my adresses en when i need to fill in her birthday it says that that is the wrong date?