EX_TYPES_PD_VW

(SQL View)
Index Back

Expense Types Table


SELECT B.SETID , B.EXPENSE_TYPE , B.DESCR , B.EXPENSE_TYPE_EDIT , B.EFF_STATUS FROM PS_EX_TYPES_TBL B WHERE B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(A.EFFDT) FROM PS_EX_TYPES_TBL A WHERE B.SETID = A.SETID AND B.EXPENSE_TYPE = A.EXPENSE_TYPE AND A.EFFDT <= %CurrentDateIn) AND B.EXPENSE_TYPE_EDIT IN ('PDM', 'PDL')

  • Related Language Record: EX_TYPES_LNG_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 EXPENSE_TYPE Character(7) VARCHAR2(7) NOT NULL Expense Type
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 EXPENSE_TYPE_EDIT Character(3) VARCHAR2(3) NOT NULL Expense Type Edit
    AIR=Airfare
    ATT=Attendees
    AUT=Automobile
    HTL=Hotel
    NON=None
    PDL=Per Diem Lodging
    PDM=Per Diem
    RTL=Rental

    Default Value: NON

    5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A