PO Requisition Account Generator Incorrectly Validates Invalid CCID - Give bank Error Message (Doc ID 2172725.1)

Last updated on AUGUST 16, 2016

Applies to:

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

Symptoms

On : 12.2.4 version, Requisitions

PO Requisition Account Generator is not validating Invalid Account Code Combination correctly.


We are facing issues with PO Requisition Account Generator where we have
used "validate code combination" workflow node to validate the derived
accounting segments. For any invalid code combination where derived legal
entity segment value does not exists in the Legal Entity Flexfield value set,
workflow node "validate code combination" is not failing. Rather than it is
allowing workflow to move to next node called "wait" activity and workflow is
stuck there. At form see "blank" error message.

Due to this issue, users expect workflow to fail versus progress to wait.

Expected Result:
1. Node "Validate Code Combination" must error out whenever invalid code segments are derived.
2. A meaningful message should display online to user instead of blank pop up message.

ERROR
-----------------------
In the Requisition form a blank message is pop up without any information.

In file po_wf_debug see:

ITEM KEY FOR REQ ACCOUNT:1019
Calling pa_acc_gen_wf_pkg.wf_acc_derive_params with project_id:105048
Set WF item UNIT_PRICE to 900
Set WF item BLANKET_PO_LINE_NUM to
FND_FLEX_WORKFLOW.GENERATE: Before call
PO_WF_PO_CHARGE_ACC.check_destination_type: 01
PO_WF_PO_CHARGE_ACC.validate_combination: l_flex_status=INVALIccid:0 concat_segs:133000-888241-2B061-00-0000-000000-000-000000-000000
concat_ids: concat_descrs: FB_ERROR_MSG:Value 133000 for the flexfield segment LEGAL
ENTITY does not exist in the value set MSIGL_LEGAL_ENTITY.



STEPS TO REPRODUCE
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigate: Requisition
2. Enter header, line data,
3. Enter invalid code combination, save
4. See error window



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