My Oracle Support Banner

Supplier Invoice Fact Is Having Duplicate Records (Doc ID 2386931.1)

Last updated on MAY 18, 2018

Applies to:

Oracle Retail Merchandising Insights - Version 16.0 and later
Information in this document applies to any platform.

Symptoms

Matched invoice fact is having duplicate records in Retail insights because of the following reason: 

In RDE when it is fetching the supplier invoice matched fact from ReIM there are two variable which is getting used #RA_BI.RA_SRC_LAST_MAX_POSTDATE as from date and #RA_BI.RA_SRC_CURRENT_MAX_POSTDATE as to date, Since #RA_BI.RA_SRC_LAST_MAX_POSTDATE variable is not able to refresh it is taking the default value that is 19000101 so RDE is pulling all the data for older dates also this causing the RI to have duplicate records.

Steps to Reproduce:

1. Run Retail Analytics ODI scenario Supplier Invoice Match Fact: sinvcstilsdsde.ksh.
2. Check staging table RADM14.W_RTL_SUPP_IVC_PO_IT_FS.
3. Observe the records are duplicated.

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!


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