My Oracle Support Banner

R12: AP:Error Adding Address And Site To Supplier -" [PAY_GROUP_LOOKUP_CODE Is Invalid Pay Group Is Invalid]" (Doc ID 3052742.1)

Last updated on OCTOBER 14, 2024

Applies to:

Oracle Payables - Version 12.0.0 and later
Information in this document applies to any platform.

Symptoms

Attempting to add a new address and site to an active supplier (non-employee type) and after checking the new address Site Creation in the form an error is seen at the top of the screen in a Yellow banner.
This error reads:

Error
"Address and Site Creation - Unable to create address and sites because of the following error when trying to create the site in operating unit [OU NAME]: [ PAY_GROUP_LOOKUP_CODE is invalid Pay Group is invalid]. Either resolve this issue and try again or deselect the operating unit with the error and continue. Note: any new address requires at least one site in order to be created."

This issue is occurring only for two suppliers that were previously used by other Operating Units (OU's) that are no longer used.
This error is seen entering any address/site to this vendor.
An address has not been added to this vendor recently.


FND logging of this issue shows the following:

AP.PLSQL.AP_VENDOR_PUB_PKGValidate_Vendor_Site 2 Call after validating PAY_GROUP_LOOKUP_CODE... Parameters: Vendor_Site_Interface_Id: ,Pay_Group_Lookup_Code XXXXXXX
AP.PLSQL.AP_VENDOR_PUB_PKG.Create_Vendor_Site 1 End Create_Vendor_Site API
POS_VENDOR_PUB_PKG 5 Call AP_VENDOR_PUB_PKG.Create_Vendor_Site x_return_status = E, x_msg_count = 2, x_msg_data =
pos.supplier.components.server.ByrAddrAMImpl 1 Commiting data to DB: Return status: E
pos.supplier.components.server.ByrAddrAMImpl 1 Commiting data to DB: Message : PAY_GROUP_LOOKUP_CODE is invalid Pay Group is invalid
fnd.framework.webui.OAPageErrorHandler 3 OAF LOG: Event : Check Errors, in: oracle.apps.fnd.framework.webui.OAPageErrorHandler: Exception: Address and Site Creation - Unable to create address and sites because of the following error when trying to create the site in operating unit [OU NAME]: [ PAY_GROUP_LOOKUP_CODE is invalid Pay Group is invalid]. Either resolve this issue and try again or deselect the operating unit with the error and continue. Note: any new address requires at least one site in order to be created. ,In VO: null



STEPS
----------
1. Using Oracle Payables Responsibility.
2) Navigate to Suppliers > Entry.
3) Select the supplier number that the address is needing to be added to.
4) Click Link for Address Book then click Create to add new address.
5) Enter new address, and check purposes Purchasing and Payable, then click Continue.
6) Select the checkbox for the Site Name, then click Apply.  The error is then seen on the screen as shown above.

Changes

 This has occurred since R12 upgrade from 11i.

Cause

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
Symptoms
Changes
Cause
Solution
References


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