Error from Trigger

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'
SudarsanaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
SudarsanaConnect With a Mentor Author Commented:
It’s a oracle trigger error and it’s resolved
0
 
NikolasGCommented:
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
 
SudarsanaAuthor Commented:
It was internal logic and resolved.
0
All Courses

From novice to tech pro — start learning today.