Solved

Error from Trigger

Posted on 2012-03-23
3
2,179 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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…

830 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