Receipt Workbench Error: Applying Receipt Generates Workflow Notification With Error – Local Event Error: oracle.apps.ar.applications.cashapp.apply

ERROR

Receipt Workbench Error: Applying Receipt Generates Workflow Notification With Error – Local Event Error: oracle.apps.ar.applications.cashapp.apply

On : 12.1.1 version, Receipts Related

When attempting to apply a receipt, a notification is generated with the following error:

Local Event ERROR : oracle.apps.ar.applications.CashApp.apply
Event Error Message: No Event Subscriptions exist for this Event

The issue can be reproduced at will with the following steps:

Responsibility: Receivables Manager
Navigation: Receipts > Receipts
Apply a receipt to an invoice

Due to this issue, SYSADMIN mailbox is getting hundreds of notifications daily and  you are not sure whether the error requires an action from you to fix, or can be ignored.

CHANGES

Upgraded to 12.1.1

CAUSE

FND Debug log generated via Note:433199.1 How to enable and retrieve debug log messages shows the following:

Start executing rule function – PA_PWP_NOTIFICATION.Receive_BE [Start time 1301086012]
End executing rule function – PA_PWP_NOTIFICATION.Receive_BE [End time 1301086014] [Time taken – .02 secs]
Executed Rule Function PA_PWP_NOTIFICATION.Receive_BE and returned ERROR
saving event to WF_ERROR on TST.LAKECO.ORG

This is worked in unpublished Bug 8869818 and Bug 8993957 GSI R12.1.1 WFERROR GENERATED FOR “PA AR NOTIFICATION” (PAPWPAR). In the bug it says:

WFERROR is generated for “PA AR Notification”(PAPWPAR) even when the functionality is not in use( “AR Receipt Notification” is disabled
Automatic receipt creation program in AR triggers the Business event oracle.apps.ar.applications.CashApp.apply, this in turn triggers the subscription API PA_PWP_NOTIFICATION.Receive_BE in synchronous mode. In API PA_PWP_NOTIFICATION.Receive_BE
apps_inititalize was called which was resetting the context already set by AR program. This resetting of context was clearing out the request_id from the global variables and was causing performance impact in AR process.

 

SOLUTION

If you Don’t the PA AR Notification subscription then you can disable it as follows:

First login as SYSADMIN (you must have SYSADMIN privileges in order to update)

Responsibility: Workflow Administrator Web Applications
Navigation: Administrator Workflow > Business Events

– In Name field for search criteria enter ‘oracle.apps.ar.applications.CashApp.apply’
(B) Click Go
– It will show you one even under Results
– Under Subscription column, click on Subscription icon
– Go to update subscription “PA_PWP_NOTIFICATION.Receive_BE”
– Select Disable
Apply
– This will disable the notifications to PA manager and will also bypass the call made to this particular API.

 

 

About Syed Saad

With 13 years of experience as a certified and skilled Oracle Database Administrator, I possess the expertise to handle various levels of database maintenance tasks and proficiently perform Oracle updates. Throughout my career, I have honed my analytical abilities, enabling me to swiftly diagnose and resolve issues as they arise. I excel in planning and executing special projects within time-sensitive environments, showcasing exceptional organizational and time management skills. My extensive knowledge encompasses directing, coordinating, and exercising authoritative control over all aspects of planning, organization, and successful project completions. Additionally, I have a strong aptitude for resolving customer relations matters by prioritizing understanding and effective communication. I am adept at interacting with customers, vendors, and management, ensuring seamless communication and fostering positive relationships.

Check Also

FRM-40735: on-insert trigger raised unhandled exception ORA-01403

ERROR FRM-40735: on-insert trigger raised unhandled exception ORA-01403

Leave a Reply