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
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Benefits Certification Validation Report

edited Sep 5, 2020 12:10AM in Benefits 3 comments

Summary

Getting duplicate value. Not able to figure which join is missing

Content

Below is my query. I am getting duplicates. Not able to figure missing join:

SELECT PAPF.PERSON_NUMBER
  ,PPN.LAST_NAME
  ,PPN.FIRST_NAME
  ,PAAM.ASSIGNMENT_NUMBER
  ,(SELECT NVL(MEANING,'') 
       FROM  FND_LOOKUP_VALUES_VL
       WHERE LOOKUP_TYPE = 'BARGAINING_UNIT_CODE'
       AND   ENABLED_FLAG = 'Y'
       AND   LOOKUP_CODE = PAAM.BARGAINING_UNIT_CODE) BARGAINING_UNIT
  ,HOTL.NAME DEPARTMENT_NAME
  ,PCR.CONTACT_TYPE
  ,DPNT.PERSON_NUMBER DPNT_NUM 
  ,SUBSTR(DPNT_NID.national_identifier_number,8) SSN
  ,bec.ELIG_CVRD_DPNT_ID,BEC.PRTT_ENRT_RSLT_ID,bec.ORGNL_OIPL_CVG_STRT_DT,bec.ORGNL_PLAN_CVG_STRT_DT
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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