Release 12.2 Create Account In Customer Workbench Errors ORA-00904: "PARTY"."PARTY_TYPE": invalid identifier (Doc ID 2117497.1)

Last updated on MARCH 31, 2016

Applies to:

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

Symptoms

On : 12.2.4 version, Customers Module

When attempting to create a customer account, the following error occurs.

ERROR
-----------------------
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
Statement: select hzp.party_name, lkp1.meaning party_type, hzp.party_id, hzp.party_number, lkp.meaning category, hzp.jgzz_fiscal_code
from hz_parties hzp, fnd_lookup_values lkp , ar_lookups lkp1
where hzp.party_id = :1 and hzp.category_code = lkp.lookup_code (+) and lkp.lookup_type (+) = 'CUSTOMER_CATEGORY' and
         lkp1.lookup_type = 'PARTY_TYPE' and lkp1.lookup_code=party.party_type and trunc(sysdate) between trunc(lkp1.start_date_active) and
         nvl(trunc(lkp1.end_date_active), trunc(sysdate)) and lkp.language (+) = USERENV('LANG')

then

java.sql.SQLSyntaxErrorException: ORA-00904:
"PARTY"."PARTY_TYPE": invalid identifier at
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462) at
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Create a new customer

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot customer account

Changes

 Upgraded to Release 12.2

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