My Oracle Support Banner

EeS: cXML Invoice Load Process EM_XML_LOAD Gives "An invalid parameter" Error when File Attachment is URL (Doc ID 2263993.1)

Last updated on JULY 21, 2020

Applies to:

PeopleSoft Enterprise FIN eSettlements - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.


When running the Load Attached Invoices EM_XML_LOAD process, the process ends in success but the following message is received in the log:

"Supplier xxxxx had the following error:  An invalid parameter has been passed to the file attachment function. (2,788) EM_PACKAGE.Supplier.
Supplier xxxxx had the following number of invoice files processed:  0"

This happens when Administer File Attachments is set to URL.

The issue occurs on the method LoadXMLInvoice called from EM_PACKAGE.Supplier.OnExecute. The trace shows the following:

"IsURLValid (error): specified URL (URL:COMMON_ATTS_RECORD/) does not start with a supported destination-indicating prefix.
Caught Exception: An invalid parameter has been passed to the file attachment function. (2,788) EM_PACKAGE.Supplier.OnExecute  Name:LoadXMLInvoice PCPC:39983  Statement:529
Called from:EM_XML_LOAD.LOAD_INV.GBL.default.1900-01-01.Step01.OnExecute Statement:5"

1. Setup the system to load invoices
2. Navigate to eSettlements > Supplier Information > Load and Review Invoices
3. Choose Supplier then add attachment by clicking the Attachment link
4. Navigate to eSettlements > Batch Processes > Load Attachment Invoices
5. Run load Attached process EM_XML_LOAD




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.