My Oracle Support Banner

R12: AP: Encountered Error Message 'ORA-00904: "MERCHANT_NAME#1"' While Running the Selection or Fix Script from a GDF Patch (Doc ID 2975451.1)

Last updated on SEPTEMBER 27, 2023

Applies to:

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

Symptoms

After the mandatory pre-requisite code patches mentioned in document R12: AP: Generic Data Fix (GDF) Patch for Steps To Correct Corruption On Upgraded Invoices Modified In R12 (Doc ID 1556126.1) have been applied,

the script ap_trxupg_M.sql is failing with the following error messages:

Reupgrade executed on instance xxx host_name yyy on DD-MON-YYYY HH:MM:SS

Before creating backup table LINES_18955648

Exception :: ORA-00904: "MERCHANT_NAME#1": invalid identifier

in side AP_Acctg_Data_Fix_PKG.Backup_data <- trxupg_M

reupgrade status for invoice id invoice_id: E

ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.AP_ACCTG_DATA_FIX_PKG", line 644 ORA-06512: at "APPS.AP_INVOICES_DATAFIX_PKG", line 1515 ORA-06512: at "APPS.AP_INVOICES_DATAFIX_PKG", line 672

 

Similar, script ap_misc_invoice_fix is failing with the following similar error messages:

 

Backup successfully taken into table AP_DATA_DRIVER_9738413_BKP

Backup successfully taken into table AP_INV_DISTS_9738413_BKP

Before creating backup table AP_INV_LINES_9738413_BKP

Exception :: ORA-00904: "MERCHANT_NAME#1": invalid identifier

in side AP_Acctg_Data_Fix_PKG.Backup_data <- ap_misc_invoice_fix

 

The output of concurrent program 'Diagnostics: Apps Check' executed for applications: Payables (SQLAP) and Subledger Accounting (XLA) shows that the package AP_ACCTG_DATA_FIX_PKG is valid:

 

version R12.AP.C

Name                           File Name                 Version              Type Status
============================== ========================= ==================== ==== =======

AP_ACCTG_DATA_FIX_PKG          apgdfals.pls              120.14.12020000.7               SPEC VALID  
AP_ACCTG_DATA_FIX_PKG          apgdfalb.pls              120.45.12020000.15             BODY VALID

 

Also, the patch mentioned on document R12: AP: Payables GDF Returning Error: ORA-00904: "MERCHANT_NAME#1" Invalid Identifier Inside AP_Acctg_Data_Fix_PKG.Backup_data (Doc ID 1641821.1) is applied.

 

Changes

 

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.