Reimediinvupload Batch Produces an Error When EDI File Contains No Invoices to Process
Last updated on APRIL 15, 2017
Applies to:Oracle Retail Invoice Matching - Version 13.2.4 to 13.2.7 [Release 13.2]
Information in this document applies to any platform.
In Oracle Retail Invoice Matching (ReIM) 13.2.4, the log of the batch process reimediinvupload contains an error message when the uploaded EDI file is empty and contains no invoices. It is understood that some sort of message should exist to identify the empty EDI file, but a serious problem occurs because a downstream process (UC4) looks for the word "ERROR" in the log to create an alert. When there is some "ERROR" in the log, UC4 is designed to abort the batch, and the support team must be called in to manually recover the process. It is difficult to differentiate this sort of 'error' from a serious fault in batch execution.
Steps to Reproduce:
1. Run the Retail Merchandising System (RMS) process edidlinv with no invoices to process. It creates the file edidlinv.out_1 with format similar to the following (i.e., no THEAD/TDETL):
2. Run the reimediinvupload process to upload the file in ReIM. The log gives the error:
It is expected that RMS should not create empty EDI files, but to handle this scenario in ReIM for now, these kinds of files should not be reported as real 'errors' in console. The EDIBatch should instead quit quietly.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms