User Account in Suppressed Status


If you find that a worker's user account is in suppressed status, it means the username is already assigned to another user.

Use following query to check the status of user account in LDAP.

SELECT  PAPF.PERSON_NUMBER,
        PPNF.LAST_NAME,
        PPNF.FIRST_NAME,
        PU.USERNAME,
        PU.ACTIVE_FLAG,
        LDAPU.REQUEST_STATUS,
        LDAPU.USERNAME LDAP_USERNAME,
        LDAPU.REQUEST_TYPE,
        LDAPR.ACTIVE_FLAG LDAP_ACTIVE_FLAG,
        LDAPR.REQUEST_DATE,
        LDAPR.LDAP_REQUEST_ID
FROM PER_ALL_PEOPLE_F PAPF,
     PER_PERSON_TYPE_USAGES_M PPTUM,
     PER_PERSON_NAMES_F PPNF,
     PER_USERS PU,
     PER_LDAP_REQUESTS LDAPR,
     PER_LDAP_USERS LDAPU
WHERE PAPF.PERSON_ID = PPNF.PERSON_ID
AND ((TRUNC(SYSDATE) BETWEEN PAPF.EFFECTIVE_START_DATE AND PAPF.EFFECTIVE_END_DATE) OR (TRUNC(SYSDATE) < PAPF.EFFECTIVE_START_DATE))
AND ((TRUNC(SYSDATE) BETWEEN PPNF.EFFECTIVE_START_DATE AND PPNF.EFFECTIVE_END_DATE) OR (TRUNC(SYSDATE) < PPNF.EFFECTIVE_START_DATE))
AND PPNF.NAME_TYPE = 'GLOBAL'
AND PU.PERSON_ID(+) = PAPF.PERSON_ID
AND PPTUM.PERSON_ID = PAPF.PERSON_ID
AND PPTUM.EFFECTIVE_LATEST_CHANGE = 'Y'
AND PPTUM.SYSTEM_PERSON_TYPE <> 'CON' -- To exclude Contact
AND ((TRUNC(SYSDATE) BETWEEN PPTUM.EFFECTIVE_START_DATE AND PPTUM.EFFECTIVE_END_DATE) OR (TRUNC(SYSDATE) < PPTUM.EFFECTIVE_START_DATE))
AND PERSON_NUMBER = <P_PERSON_NUMBER>
AND LDAPR.REQUESTING_REFERENCE_ID(+) = PAPF.PERSON_ID
AND LDAPR.LDAP_REQUEST_ID = LDAPU.LDAP_REQUEST_ID(+)
ORDER BY PAPF.CREATION_DATE DESC


If the status is SUPPRESSED, then use following HDL template to create a request with LDAP.


METADATA|User|PersonNumber|Username|GenerateUserAccount|Suspended
MERGE|User|101|abc|Y|N


This will create a new request in LDAP. Once this step is done, submit "Send Pending LDAP Requests" from Scheduled Processes to have the user account created in HCM.

Comments

  1. That was a great blog. You covered all the points and necessary information. It showed your interest in the topic and all the related topics. I just came across your blog while I was browsing various sites. Also, here is a referred link same as yours oracle fusion hcm training.

    ReplyDelete

Post a Comment

Popular posts from this blog

SQL to get Payroll Balances in Oracle Fusion HCM

User Account in Oracle Fusion HCM

Using Generic SOAP Port Webservice to Upload file to UCM