Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Duplicate records while retrieving data - Goods Inward Note.

edited Jul 6, 2020 1:07PM in Reporting and Analytics for SCM 2 comments

Content

Hi,

We recently migrated our Oracle R12 to Oracle Fusion. We have developed some custom reports in our Old Oracle R12, we need to develop it in Oracle Fusion. We have developed a query in Oracle R12 which retrieves correctly, but in Oracle Fusion we are retrieving duplicate records. Please help me with this below query.

SELECT DISTINCT rsh.ROWID, rsh.receipt_num, rsh.ship_to_org_id,
                TO_CHAR (TRUNC (rsh.creation_date), 'DD-MON-YYYY') rcp_date,
                DECODE (rsh.receipt_source_code,
                        'VENDOR', rsh.vendor_id,
                        'CUSTOMER', NULL,
                        rsh.organization_id
                       ) supplier_id,
                DECODE (rsh.receipt_source_code,
                        'VENDOR', hp.party_name,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!