Error 'ORA-01795: maximum number of expressions in a list is 1000' occurs when adding More Than 1000 Legal Entities to a Ledger
Last updated on JANUARY 11, 2017
Applies to:Oracle General Ledger - Version 12.2.4 and later
Information in this document applies to any platform.
When attempting to add more than 1000 legal entities(LE) to a ledger, the following error occurs.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: 准备语句时出现 SQL 错误。
## Detail 0 ##
java.sql.SQLSyntaxErrorException: ORA-01795: maximum number of expressions in a list is 1000
The issue can be reproduced at will with the following steps:
1. Login as General Ledger responsibility
2. Navigate to Setup > Financials > Accounting Setup Manager > Accounting Setups
3. Query a ledger, and add a legal entity were there are already 1000 Legal Entities existing
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