My Oracle Support Banner

Changing the Ledger for a Business Unit Causes Error "The Company segment value in the account XXXXX is not assigned to the ledger XXXXX" when Create Accounting is Run for an Invoice (Doc ID 2317513.1)

Last updated on JULY 05, 2023

Applies to:

Oracle Fusion Payables Cloud Service - Version and later
Information in this document applies to any platform.


When the Ledger is changed for a Business Unit from Assign Business Functions page after the Common Options for Payables and Procurement as well as Invoice and Payment Options were already setup, when invoices are created against this Business Unit, the Invoice tables are pointing to the old Ledger value, and accordingly the following error is received when running Create Accounting:

"The Company segment value in the account XXXXX is not assigned to the ledger XXXXX"

1. From Assign Business Functions, change the primary ledger for an existing Payables business unit
2. Create invoice
3. Run Create Accounting


Please note that this change will also cause issue with Invoice validation. The following error is encountered when attempting to validate an invoice that was created after BU and ledger assignment was changed:

"Accounting event could not be generated due to unhandled error. Additional information: Checking if any dists exists with no accounting event. (AP-810595)"





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.