Restrict the company code values on the AP invoice distributions based on the LE selected on the hea
Summary:
We have 5 LE’s associated with a single BU. When creating an AP invoice, the legal entity linked to the balancing segment value of the liability account from the supplier site defaults at the invoice header level, as expected.
However, the Company Code (i.e., primary balancing segment value) on the distribution combination field at the invoice line level displays all company codes associated with the BU, rather than defaulting based on the LE selected at the invoice header.
Additionally, segment value security does not restrict this behavior effectively, as users are required to have access to all company codes tied to the BU in order to perform their tasks. As a result, users may inadvertently select a company code that does not align with the legal entity on the invoice header, leading to inconsistencies in accounting entries.