Receipt Workbench Error: Applying
Receipt Generates Workflow Notification With Error - Local Event Error:
oracle.apps.ar.applications.cashapp.apply
SYMPTOMS
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.
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.
Upgraded to 12.1.1
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.
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.
If you do not need 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.
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.