R12: Charge Account Error 'ORA-20002' 'Wf_Item_Activity_Status.Set_Error(error_process)' When Creating Purchase Order with One Time Item in Buyer Work Center (Doc ID 1673373.1)

Last updated on MAY 23, 2016

Applies to:

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

Symptoms

When saving in Buyer Work Center (BWC) a PO distribution with destination expense for one time item,
the following error occurs.

ERROR
-----------------------
ORA-20002: 3135: 'Wf_Item_Activity_Status.Set_Error(error_process)' is not permitted in synchronous processes.

Same scenario in Purchase Orders Form is not generating any error.

Expense Account has been set at the employee level and Expense Rules have been created for category used on the purchase order (PO).

Issue exists only in the case when ledger set at the employee level and ledger of the Operating Unit (OU) from the PO are different. Both Ledgers are using the same key flexfield structure.
'Allow Dynamic Inserts' is set to yes and combination that should be generated for the accrual account is correct. Same combination is correctly defaulted in PO Form for same scenario.


Steps to Reproduce

1. Create a PO in BWC in OU1 operating unit.
2. Enter header details > Line details (use one time item.)
3. Enter shipments > go to distribution > Enter Requester > Save.
4. Error occurs.



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms