Oracle Database Error Solutions & DBA Knowledge Base

Welcome to Oracle Database Error Solutions, a professional technical knowledge base dedicated to helping Oracle Database Administrators, Oracle E-Business Suite administrators, developers, and IT professionals troubleshoot Oracle Database and Oracle Linux issues with confidence.

This website provides practical, real-world troubleshooting guides based on hands-on Oracle administration experience. You'll find detailed solutions for Oracle Database errors, RMAN backup and recovery, Data Guard, ASM, RAC, Oracle Linux administration, Oracle E-Business Suite (EBS), cloning, performance tuning, patching, installation, and day-to-day DBA tasks.

Whether you're resolving ORA-27101, ORA-28040, ORA-01555, ORA-12154, ORA-01017, or other Oracle errors, our step-by-step articles are designed to save you time and help you solve problems efficiently.

All Receiving Transactions Fail with "Cannot Create Accounting Flexfield Combination" – Complete Oracle E-Business Suite R12 Troubleshooting Guide

All Receiving Transactions Fail with "Cannot Create Accounting Flexfield Combination" – Complete Oracle E-Business Suite R12 Troubleshooting Guide


The "Cannot Create Accounting Flexfield Combination" error is one of the most common accounting validation issues encountered in Oracle E-Business Suite (EBS), particularly within Oracle Purchasing (PO), Oracle Inventory (INV), Oracle Receiving (RCV), Oracle Cost Management (CST), and Oracle General Ledger (GL).

This error typically occurs when Oracle attempts to create or validate an Accounting Flexfield Code Combination during a receiving transaction but cannot generate a valid General Ledger account. As a result, receiving transactions fail, material cannot be received into inventory, accounting entries are not created, and downstream business processes such as inventory costing, accounts payable matching, and financial reporting may also be affected.

In production environments, this issue is commonly observed after implementing new organizations, creating new inventory items, adding departments or cost centers, changing chart of accounts structures, enabling new operating units, migrating configurations between environments, or modifying Accounting Flexfield setups.

Although many administrators immediately assume that the General Ledger account does not exist, the root cause often involves Dynamic Inserts, Cross-Validation Rules, disabled code combinations, invalid account segments, Account Generator workflows, Subledger Accounting (SLA) rules, or Receiving Account Generator configuration.

This comprehensive Oracle E-Business Suite troubleshooting guide explains how Oracle validates Accounting Flexfield combinations during receiving transactions, the architecture behind Code Combinations, common causes of failures, Oracle R12 diagnostics, SQL troubleshooting, production case studies, and preventive best practices for Oracle EBS R12.1 and Oracle EBS R12.2 environments.

Quick Solution

Verify that the Accounting Flexfield combination is valid, enabled, and not end-dated. Confirm that Dynamic Inserts are enabled when required, review Cross-Validation Rules, validate Receiving Account Generator configuration, check Account Generator workflow, and ensure all General Ledger account segments satisfy the Chart of Accounts validation rules.


Typical Error Message

Cannot Create Accounting Flexfield Combination
Other related messages may include:
APP-05518

APP-FND-00730

The accounting flexfield could not create the requested combination.

The code combination is invalid.

Account Generator failed.

Receiving Transaction Processor completed with errors.
Depending on the Oracle EBS module, the error may appear in:
  • Oracle Purchasing (PO)
  • Oracle Receiving (RCV)
  • Oracle Inventory (INV)
  • Oracle Cost Management (CST)
  • Oracle Work in Process (WIP)
  • Oracle Assets (FA)
  • Oracle Projects (PA)
  • Oracle Subledger Accounting (SLA)

What Does This Error Mean?

Every material receipt recorded in Oracle E-Business Suite eventually requires one or more accounting entries. Before Oracle can create these accounting entries, it must determine the correct General Ledger account.

Oracle generates or validates an Accounting Flexfield Code Combination consisting of multiple account segments such as Company, Cost Center, Department, Account, Product, Project, Intercompany, or Future Use segments.

If Oracle cannot validate or create this Code Combination, the receiving transaction immediately fails and no accounting entries are generated.


How Oracle Creates Accounting Flexfield Combinations

During receiving transactions, Oracle follows a structured validation process before posting accounting information.

Receiving Transaction

        │

        ▼

Receiving Account Generator

        │

        ▼

Accounting Flexfield

        │

        ▼

Chart of Accounts Validation

        │

        ▼

Cross Validation Rules

        │

        ▼

Dynamic Insert Validation

        │

        ▼

Code Combination Exists?

        │

 ┌──────┴──────┐

 │             │

Yes            No

 │              │

 ▼              ▼

Continue    Create Combination

                  │

          Success / Failure

                  │

                  ▼

Accounting Created
If Oracle cannot successfully complete any validation step, the transaction stops and the Accounting Flexfield error is raised.

Understanding Accounting Flexfields

The Accounting Flexfield (Key Flexfield) defines the structure of General Ledger accounts in Oracle E-Business Suite.

A typical Chart of Accounts may include:
Segment Example
Company 100
Department 200
Cost Center 310
Natural Account 510000
Product 100
Future Segment 000
The complete Code Combination might be:
100-200-310-510000-100-000
Oracle validates every segment before allowing accounting to proceed.

Dynamic Inserts

Dynamic Inserts determine whether Oracle is allowed to automatically create new Accounting Flexfield Code Combinations during transaction processing.

If Dynamic Inserts are enabled:
  • Oracle automatically creates valid combinations that do not already exist.
If Dynamic Inserts are disabled:
  • The Code Combination must already exist in General Ledger.
  • Otherwise the receiving transaction fails.
Dynamic Inserts are one of the most common causes of this error after new implementations.

Cross-Validation Rules

Cross-Validation Rules ensure that only approved combinations of account segments are allowed.

Example:
  • Company 100 may only use Departments 200–299.
  • Natural Account 510000 cannot be used with Department 999.
  • Project accounts may only be used for specific business units.
Even if every individual segment exists, Cross-Validation Rules may reject the complete combination.

Common Causes

  • Accounting Flexfield combination does not exist.
  • Dynamic Inserts disabled.
  • Cross-Validation Rule violation.
  • Disabled General Ledger account.
  • End-dated Code Combination.
  • Receiving Account Generator configuration errors.
  • Incorrect Chart of Accounts structure.
  • Inventory Organization configuration problems.
  • Invalid Cost Center.
  • Invalid Company segment.
  • Invalid Natural Account.
  • Subledger Accounting (SLA) rule failures.
  • Account Generator workflow failures.
  • Migration omitted required GL combinations.

Business Impact

  • Receiving transactions fail.
  • Inventory receipts cannot be completed.
  • Purchase Orders remain unreceived.
  • Inventory balances become inaccurate.
  • Create Accounting cannot generate journals.
  • Accounts Payable invoice matching is delayed.
  • Month-end closing activities are interrupted.
  • Financial reporting becomes incomplete.
  • Warehouse operations experience delays.

Production DBA Recommendation

Never create General Ledger Code Combinations manually without understanding why Oracle could not generate them. First verify the Chart of Accounts structure, Dynamic Inserts, Cross-Validation Rules, Receiving Account Generator, and Subledger Accounting configuration. Creating invalid account combinations may allow transactions to complete but can introduce accounting inconsistencies that affect financial reporting and compliance.


Step-by-Step Oracle E-Business Suite Troubleshooting

When the "Cannot Create Accounting Flexfield Combination" error occurs, avoid creating General Ledger code combinations manually as the first solution. In many production environments, the failure is caused by configuration issues, invalid account segments, Cross-Validation Rules, or Account Generator problems rather than missing GL combinations.


Step 1 – Identify the Failing Receiving Transaction

Determine which receiving transaction generated the error.

Navigate to:
Purchasing Responsibility

↓

Receiving

↓

Receiving Transactions Summary
Record:
  • Receipt Number
  • Purchase Order Number
  • Inventory Organization
  • Subinventory
  • Item Number
  • Destination Type

Step 2 – Review Concurrent Request Log

If the error occurs during Receiving Transaction Processor or Create Accounting, review the concurrent request log and output.

Navigate to:
System Administrator

↓

View Requests

↓

Receiving Transaction Processor

or

Create Accounting
Search for messages containing:
  • Cannot Create Accounting Flexfield Combination
  • APP-05518
  • APP-FND-00730
  • Account Generator failed

Step 3 – Verify the Code Combination

Check whether the General Ledger Code Combination already exists.

SELECT

code_combination_id,

enabled_flag,

detail_posting_allowed_flag,

start_date_active,

end_date_active

FROM gl_code_combinations

WHERE concatenated_segments =
'100-200-310-510000-100-000';
If no rows are returned, Oracle cannot use the requested account unless Dynamic Inserts are enabled.

Step 4 – Verify Individual Segment Values

Confirm that every Accounting Flexfield segment exists and is enabled.

Typical segments include:
  • Company
  • Department
  • Cost Center
  • Natural Account
  • Product
  • Future Segment
Review each segment in the General Ledger responsibility.

Step 5 – Check Dynamic Inserts

Determine whether Oracle is allowed to automatically create new Code Combinations.

Navigate to:
General Ledger

↓

Setup

↓

Financials

↓

Flexfields

↓

Key

↓

Segments
Open the Accounting Flexfield structure and verify:
  • Dynamic Inserts = Enabled (if required)
If Dynamic Inserts are disabled, required combinations must already exist.

Step 6 – Review Cross-Validation Rules

Cross-Validation Rules frequently prevent valid-looking combinations from being created.

Navigate to:
General Ledger

↓

Setup

↓

Financials

↓

Flexfields

↓

Cross-Validation Rules
Verify that the requested account satisfies all validation rules.

Step 7 – Verify Receiving Account Generator

Receiving transactions obtain accounting information through the Account Generator process.

Review:
  • Receiving Account Generator Workflow
  • Item Accounts
  • Organization Parameters
  • Subinventory Accounts
  • Purchasing Options
An incorrectly configured workflow may generate invalid account combinations.

Step 8 – Verify Inventory Organization Setup

Incorrect organization accounting frequently produces invalid account combinations.

Review:
Inventory Responsibility

↓

Setup

↓

Organizations

↓

Parameters
Verify:
  • Material Account
  • Receiving Account
  • Expense Account
  • Cost Variance Account

Step 9 – Verify Item Accounting

Some inventory items derive accounting from category assignments or item-level accounts.

Review:
  • Item Master
  • Inventory Category
  • Category Set
  • Cost Group

Step 10 – Check Subledger Accounting (SLA)

In Oracle EBS R12, accounting is generated through Subledger Accounting.

Review:
  • Journal Line Definitions
  • Account Derivation Rules
  • Mapping Sets
  • Accounting Methods
Incorrect SLA rules frequently generate invalid account combinations.

Step 11 – Verify Disabled Code Combinations

Even if the Code Combination exists, Oracle rejects disabled or end-dated combinations.

SELECT

code_combination_id,

enabled_flag,

start_date_active,

end_date_active

FROM gl_code_combinations

WHERE enabled_flag='N';

Step 12 – Review Workflow Errors

If Account Generator uses Oracle Workflow, verify that no workflow errors occurred.

Review:
  • Workflow Administrator Responsibility
  • Error Processes
  • Background Engine
  • Workflow Notification Mailer

Step 13 – Review Migration Activities

This error frequently appears after cloning or migrating Oracle EBS environments.

Verify:
  • Chart of Accounts migrated successfully.
  • Code Combinations imported.
  • Cross-Validation Rules migrated.
  • Dynamic Inserts configuration preserved.
  • SLA setup migrated completely.

Real Production Case Study

Following the rollout of a new warehouse organization, every receiving transaction failed with "Cannot Create Accounting Flexfield Combination."

Investigation showed that the organization referenced a newly created Cost Center. Although the Cost Center segment existed, a Cross-Validation Rule prevented it from being combined with the assigned Natural Account. As a result, Oracle could not generate a valid General Ledger Code Combination during receiving.

After updating the Cross-Validation Rule and rerunning the Receiving Transaction Processor, Oracle successfully created the accounting entries and all pending receipts completed without further errors.


Oracle EBS DBA Checklist

Verification Status
Receiving Transaction Identified
Concurrent Request Log Reviewed
Code Combination Exists
Segment Values Verified
Dynamic Inserts Checked
Cross-Validation Rules Reviewed
Receiving Account Generator Verified
Inventory Organization Reviewed
Item Accounting Verified
SLA Configuration Reviewed
Workflow Errors Checked
Issue Successfully Resolved

Oracle E-Business Suite Version Considerations

The "Cannot Create Accounting Flexfield Combination" error can occur in multiple Oracle E-Business Suite releases. While the underlying Accounting Flexfield validation process remains similar, the accounting architecture and troubleshooting approach differ between versions.

Oracle EBS Version Considerations
11i Uses Account Generator Workflow extensively for account derivation. Troubleshooting primarily focuses on Workflow and Accounting Flexfield configuration.
R12.0 / R12.1 Introduces Subledger Accounting (SLA). Both SLA configuration and Account Generator must be verified.
R12.2 Online patching (ADOP) and Edition-Based Redefinition (EBR) require validation after patches to ensure accounting configurations remain consistent.

Oracle EBS Best Practices

  • Enable Dynamic Inserts only when it aligns with your organization's accounting policies.
  • Review Cross-Validation Rules before introducing new departments, companies, or natural accounts.
  • Keep the Chart of Accounts structure standardized across all environments.
  • Validate Receiving Account Generator changes in a non-production environment before deployment.
  • Regularly audit disabled and end-dated Code Combinations.
  • Include SLA validation in every Oracle EBS upgrade or patch cycle.
  • Document all custom accounting rules and Account Generator customizations.
  • Perform end-to-end receiving tests after implementing accounting changes.
  • Maintain version-controlled documentation for Chart of Accounts and accounting configurations.
  • Review concurrent request logs immediately after failed receiving transactions.

Common Administrator Mistakes

  • Creating Code Combinations manually without identifying the actual root cause.
  • Disabling Dynamic Inserts unintentionally.
  • Ignoring Cross-Validation Rules after adding new Cost Centers.
  • Using disabled or end-dated account combinations.
  • Migrating Chart of Accounts without validating dependent configurations.
  • Failing to migrate SLA setup between environments.
  • Ignoring Workflow errors related to Account Generator.
  • Changing Inventory Organization accounts without testing receiving transactions.
  • Skipping functional testing after accounting configuration changes.
  • Assuming identical configurations exist across development, test, and production environments.

Useful SQL Queries

Display Code Combination

SELECT

code_combination_id,

concatenated_segments,

enabled_flag,

detail_posting_allowed_flag,

summary_flag

FROM gl_code_combinations_kfv

WHERE concatenated_segments =
'100-200-310-510000-100-000';

Check Disabled Code Combinations

SELECT

code_combination_id,

enabled_flag,

start_date_active,

end_date_active

FROM gl_code_combinations

WHERE enabled_flag = 'N';

Review Receiving Transactions

SELECT

transaction_id,

shipment_header_id,

organization_id,

transaction_date

FROM rcv_transactions

ORDER BY transaction_date DESC;

Verify Inventory Organization

SELECT

organization_id,

organization_code

FROM mtl_parameters;

Review Concurrent Requests

SELECT

request_id,

phase_code,

status_code,

actual_completion_date

FROM fnd_concurrent_requests

ORDER BY request_id DESC;

Useful Linux Commands

Command Purpose
echo $APPL_TOP Verify Oracle EBS application environment.
echo $ORACLE_HOME Display Oracle Home.
echo $CONTEXT_NAME Display Oracle EBS context.
adident Header <file_name> Check Oracle EBS file versions.
tail -100 $APPLCSF/$APPLLOG/*.log Review recent concurrent request logs.
grep -i ERROR *.log Search application log files for errors.
sqlplus apps/password Connect to the Oracle EBS database.

Troubleshooting Flowchart

Receiving Transaction

        │

        ▼

Accounting Flexfield Error

        │

        ▼

Code Combination Exists?

        │

 ┌──────┴──────┐

 │             │

 No            Yes

 │              │

 ▼              ▼

Dynamic       Enabled?

Insert           │

                ▼

Cross-Validation Rules?

                │

                ▼

Account Generator OK?

                │

                ▼

SLA Configuration OK?

                │

                ▼

Workflow Errors?

                │

                ▼

Receiving Completes Successfully

Frequently Asked Questions (FAQ)

Does this error always mean the GL account does not exist?

No. The account may exist but still fail validation because it is disabled, end-dated, restricted by Cross-Validation Rules, or rejected by Account Generator or SLA configuration.

Should I manually create the missing Code Combination?

Not immediately. First determine why Oracle attempted to create the combination. Manually creating accounts without understanding the underlying configuration issue can introduce accounting inconsistencies.

Can Dynamic Inserts resolve this issue?

If the only problem is that a valid Code Combination does not yet exist, enabling Dynamic Inserts (where permitted by organizational policy) allows Oracle to create the combination automatically. If the combination violates validation rules or accounting setup, Dynamic Inserts alone will not resolve the error.

Can Cross-Validation Rules cause this error?

Yes. This is one of the most common causes in Oracle EBS production environments. A valid-looking account combination may still be rejected because it violates business rules defined in Cross-Validation Rules.

Can SLA configuration cause this issue?

Yes. In Oracle EBS R12, incorrect Account Derivation Rules, Mapping Sets, Journal Line Definitions, or Accounting Methods can generate invalid accounting combinations during receiving transactions.


Related Oracle Articles


About the Author

Rana Abdul Wahid is an Oracle Database and Oracle E-Business Suite Consultant with more than 15 years of experience in Oracle Database Administration, Oracle E-Business Suite Application DBA, Oracle RAC, Oracle Data Guard, RMAN Backup & Recovery, Oracle Cloud Infrastructure (OCI), Linux/Unix Administration, MySQL, Microsoft SQL Server, PostgreSQL, and enterprise database management.

He publishes practical, production-tested Oracle DBA and Oracle E-Business Suite troubleshooting guides based on real-world enterprise support experience, helping database administrators and Oracle Apps professionals resolve complex production issues efficiently.

Learn more about the author →


Conclusion

The "Cannot Create Accounting Flexfield Combination" error is not simply a missing General Ledger account—it is an indication that Oracle E-Business Suite could not validate or generate a valid Accounting Flexfield Code Combination during transaction processing. Successful resolution requires understanding how the Chart of Accounts, Dynamic Inserts, Cross-Validation Rules, Account Generator, and Subledger Accounting work together.

By following a structured troubleshooting methodology, validating accounting configurations before deployment, and implementing sound governance around General Ledger and SLA setups, Oracle EBS administrators can resolve these issues efficiently while preventing future accounting failures.

Final Oracle EBS DBA Recommendation

Never treat this error as a simple missing account problem. Always investigate the complete accounting derivation process—from the Receiving Account Generator and Inventory Organization setup through Dynamic Inserts, Cross-Validation Rules, General Ledger Code Combinations, and Subledger Accounting. Addressing the root cause ensures accurate financial postings and maintains the integrity of your Oracle E-Business Suite environment.

Found this guide helpful? Explore the Oracle Error Codes Guide for more production-tested Oracle Database and Oracle E-Business Suite troubleshooting articles covering Oracle RAC, Data Guard, RMAN, Oracle Net Services, performance tuning, security, and enterprise application support.

Comments