Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error from Trigger

Posted on 2012-03-23
3
Medium Priority
?
2,302 Views
Last Modified: 2012-04-13
update apps.ap_invoice_distributions_all set accounting_date='01-APR-2012'
   where accounting_event_id='2938398'
Error report:
SQL Error: ORA-20001: APP-SQLAP-10000: User-Defined Exception occurred in
Error from Trigger JAI_AP_IDA_BRIUD_T1
with parameters (&PARAMETERS)
while performing the following operation:
Encountered an error in JAI_AP_IDA_TRIGGER_PKG.BRIUD_T1  Error on ap_invoice_distributions_all : ORA-20007: Error - trigger ja_in_ap_aida_before_trg on ap_invoice_distributions_all : Threshold group identifier is not found against the prepayment invoice TDS tax, cannot proceed.
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.JAI_AP_IDA_BRIUD_T1", line 913
ORA-04088: error during execution of trigger 'APPS.JAI_AP_IDA_BRIUD_T1'
0
Comment
Question by:Sudarsana
  • 2
3 Comments
 
LVL 6

Expert Comment

by:NikolasG
ID: 37756127
Hi,
This seems to be a custom error message that you ve included in the code. something like

 if vErrorCode = -1 then
    raise_application_error(-20001, error_msg);
  end if;

Something like the error 2007 that you have in your example with the message
"Threshold group identifier is not found against the prepayment invoice TDS tax, cannot proceed."

Can you please post the trigger code so we ll can have a better understanding of what is happening?
0
 

Accepted Solution

by:
Sudarsana earned 0 total points
ID: 37822512
It’s a oracle trigger error and it’s resolved
0
 

Author Closing Comment

by:Sudarsana
ID: 37841678
It was internal logic and resolved.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question