Reports Are Failing With Oracle Error 904: Java.sql.SQLSyntaxErrorException: ORA-00904: "R"."NLS_SORT"

(Doc ID 2338612.1)

Last updated on DECEMBER 15, 2017

Applies to:

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


The Period Close program errored even though one of the invoices stuck in the period as cancelled.

The Period close exception report shows the invoice 'Accounting Event Type' as ' Invoice Cancelled'

The log showed:
Oracle error 904: java.sql.SQLSyntaxErrorException: ORA-00904: "R"."NLS_SORT": invalid identifier
has been detected in CpContext.initContext.


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