Solved

Error from Trigger

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
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.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

821 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