POSN_APPR_VW

(SQL View)
Index Back

Positions Approved.

Positions Approved.

SELECT A.POSITION_NBR , A.EFFDT , A.EFFSEQ , A.EFF_STATUS , A.POSN_STATUS , A.WF_STATUS , A.DESCR FROM PS_POSITION_DATA_E A WHERE (A.WF_STATUS = 'A' AND A.EFFDT= ( SELECT MAX(B.EFFDT) FROM PS_POSITION_DATA_E B WHERE A.POSITION_NBR = B.POSITION_NBR AND A.WF_STATUS = B.WF_STATUS AND B.EFFDT<=%CurrentDateIn ) AND A.EFFSEQ =( SELECT MAX(C.EFFSEQ) FROM PS_POSITION_DATA_E C WHERE A.POSITION_NBR = C.POSITION_NBR AND C.EFFDT=A.EFFDT ))

  • Related Language Record: POSN_APPR_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number

    Default Value: 00000000

    2 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    3 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
    4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A

    5 POSN_STATUS Character(1) VARCHAR2(1) NOT NULL Position Status
    A=Approved
    P=Proposed
    R=Frozen

    Default Value: A

    6 WF_STATUS Character(1) VARCHAR2(1) NOT NULL Workflow Status
    A=Approved
    C=Cancelled
    D=Denied
    E=Error. Contact Administrator.
    F=Awaiting final approval
    I=In Approval Process
    M=Administrator is Processing
    N=Not Available
    P=Rework
    S=Submitted
    V=Data Saved
    7 DESCR Character(30) VARCHAR2(30) NOT NULL Description