My Oracle Support Banner

Journal Approval Notifications Fail With ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018 (Doc ID 2657914.1)

Last updated on APRIL 05, 2024

Applies to:

Oracle General Ledger - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
Journal Approval Notifications are failing with the following error:

ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML.


When a JE is approved, all of the cancel/no longer required notifications to the other (parallel) approvers are failing with the following error:

[WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML. Caused by: 2020: Error when getting notification content. Caused by: ORA-20002: 3240: Error '-4061 - ORA-04061: existing state of has been invalidated ORA-04061: existing state of package body "APPS.GL_AME_JE_WF_PKG" has been invalidated ORA-04065: not executed, altered or dropped package body "APPS.GL_AME_JE_WF_PKG" ' in 'PLSQL' API 'GL_WF_JE_NOTIFICATION_PKG.GET_GL_JE_APPROVE_MSG' wf_notification.GetAttrDoc2(, GL_JE_APPROVE_MSG, text/html' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK= WF_MAIL.GetLOBMessage4(, WFMAIL, 2020: Error when getting notification content. Caused by: ORA-20002: 3240: Error '-4061 - ORA-04061: existing state of has been invalidated ORA-04061: existing state of package body "APPS.GL_AME_JE_WF_PKG" has been invalidated ORA-04065: not executed, altered or dropped package body "APPS.GL_AME_JE_WF_PKG" ' in 'PLSQL' API 'GL_WF_JE_NOTIFICATION_PKG.GET_GL_JE_APPROVE_MSG' wf_notification.GetAttrDoc2(, GL_JE_APPROVE_MSG, text/html) Wf_Notification.GetAttrDoc(, GL_JE_APPROVE_MSG, text/html) Wf_Notification.GetText2(, text/html) Wf_Notification.GetBody(, text/html) WF_NOTIFICATION.GetFullBody(nid => , disptype => text/html) WF_MAIL.GetLOBMessage4(nid => , r_ntf_pref => MAILHTML), Step -> Getting text/html body) WF_XML.GenerateDoc(oracle.apps.wf.notification.send, ) WF_XML.Generate(oracle.apps.wf.notification.send, ) WF_XML.Generate(oracle.apps.wf.notification.send, ) Wf_Event.setMessage(oracle.apps.wf.notification.send, , WF_XML.Generate) Wf_Event.dispatch_internal()

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.