GRP_EMP_SRCH_VW

(SQL View)
Index Back

Group Control Info View


SELECT a.business_unit ,a.group_id_sf ,a.oprid ,a.group_type ,b.descr ,a.origin_id ,c.descr ,a.post_status ,a.entry_dt ,a.post_dt ,a.approval_oprid ,b.effdt ,a.type_of_group FROM ps_group_cont_info a , PS_GROUP_TYPE_TBL b , ps_origin_tbl c WHERE a.group_type = b.group_type AND a.origin_id = c.origin_id AND b.setid = c.setid AND c.eff_status = 'A' AND c.effdt = ( SELECT MAX(effdt) FROM ps_origin_tbl c1 WHERE c1.effdt <= %CurrentDateIn AND c1.origin_id = c.origin_id AND c1.setid = c.setid) AND c.setid = ( SELECT DISTINCT x.setid FROM ps_set_cntrl_rec x WHERE x.setcntrlvalue = a.business_unit AND x.recname = 'GROUP_TYPE_TBL') AND a.type_of_group = 'E'

  • Related Language Record: GRPEMPSRCHVWLNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT

    Prompt Table: SP_BU_SF_NONVW

    2 GROUP_ID_SF Character(15) VARCHAR2(15) NOT NULL Group ID
    3 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).

    Prompt Table: GRP_CNT_OPR_VW
    Set Control Field: BUSINESS_UNIT

    4 GROUP_TYPE Character(1) VARCHAR2(1) NOT NULL Group Type

    Prompt Table: GROUP_TYPE_TBL
    Set Control Field: BUSINESS_UNIT

    5 DESCR_GROUP_TYPE Character(30) VARCHAR2(30) NOT NULL Group Type Description
    6 ORIGIN_ID Character(5) VARCHAR2(5) NOT NULL Origin ID

    Prompt Table: ORIGIN_TBL
    Set Control Field: BUSINESS_UNIT

    7 DESCR_ORIGIN Character(30) VARCHAR2(30) NOT NULL Origin Description
    8 POST_STATUS Character(1) VARCHAR2(1) NOT NULL Posting Status
    B=Balance
    C=Complete
    E=Errors
    I=Incomplete
    N=Not Posted
    R=Reversed
    9 ENTRY_DT Date(10) DATE This field pertains to the date a person enters a country on a specific visa.
    10 POST_DT Date(10) DATE The Date a transaction was Posted.
    11 APPROVAL_OPRID Character(30) VARCHAR2(30) NOT NULL Operator ID Approval

    Prompt Table: GRP_CNT_APPR_VW
    Set Control Field: BUSINESS_UNIT

    12 EFFDT Date(10) DATE Effective Date
    13 TYPE_OF_GROUP Character(1) VARCHAR2(1) NOT NULL Type of Group
    E=Student Group
    X=External Org Group