PERS_NID_MSK_VW

(SQL View)
Index Back

PERS_NID Record

PERS_NID is the child record of PERSONAL_DATA and hold the NID_SBR which contains information about National ID.

SELECT C.OPRCLASS ,A.EMPLID ,%subrec(NID_SBR, A) ,CASE WHEN C.MASK_CFG_NID='1' THEN '*********' WHEN C.MASK_CFG_NID='2' THEN CONCAT('*****' , SUBSTR(A.NATIONAL_ID , 6 ,15)) ELSE A.NATIONAL_ID END ,B.DESCRSHORT ,%subrec(PERSNID_SGP_SBR, A) ,C.MASK_CFG_NID FROM PS_HCR_PER_NID_I A , PS_HCR_NID_TYP_I B , PS_PERS_MSK_CFG C WHERE A.COUNTRY = B.COUNTRY AND A.NATIONAL_ID_TYPE = B.NATIONAL_ID_TYPE

  • Parent record: PERSON
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class
    2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Default Value: NEW

    3 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

    Prompt Table: NID_TYPE_VW

    4 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type

    Default Value: NID_TYPE2_VW.NATIONAL_ID_TYPE

    Prompt Table: NID_TYPE1_VW

    5 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
    6 SSN_KEY_FRA Character(2) VARCHAR2(2) NOT NULL Social Security # Key
    7 PRIMARY_NID Character(1) VARCHAR2(1) NOT NULL Primary ID

    Y/N Table Edit

    Default Value: N

    8 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
    9 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
    10 TAX_REF_ID_SGP Character(1) VARCHAR2(1) NOT NULL Tax Reference Id - Singapore

    Y/N Table Edit

    Default Value: N

    11 MASK_CFG_NID Character(2) VARCHAR2(2) NOT NULL Mask National ID
    1=Mask entire field
    2=Display partial field
    3=Display entire field