EX_TMPLT_LNG_VW

(SQL View)
Index Back

Expense Types Language View


SELECT A.SETID ,A.TEMPLATE ,A.TEMPLATE_TYPE ,A.EXPENSE_TYPE ,B.LANGUAGE_CD ,B.DESCR FROM PS_EX_TEMPLATE_DTL A ,PS_EX_TYPES_LNG B WHERE A.SETID = B.SETID AND A.EXPENSE_TYPE = B.EXPENSE_TYPE AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_EX_TYPES_LNG C WHERE B.SETID = C.SETID AND B.EXPENSE_TYPE = C.EXPENSE_TYPE AND C.EFFDT <= %CurrentDateIn) AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_EX_TEMPLATE_DTL D WHERE A.SETID = D.SETID AND A.TEMPLATE = D.TEMPLATE AND A.TEMPLATE_TYPE = D.TEMPLATE_TYPE AND A.EXPENSE_TYPE = D.EXPENSE_TYPE AND D.EFFDT <= %CurrentDateIn)

  • Related Language Record for EX_TEMPLATE_VW1
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 TEMPLATE Character(8) VARCHAR2(8) NOT NULL Used to define a particular type of travel, i.e. company relocation, internal travel, etc. Determines what type of expenses and expenditure limits are associated with that particular type of travel. Established in the Structure Expenses system and chosen on the header panel of cash advances, expense sheets and travel authorizations.
    3 TEMPLATE_TYPE Character(3) VARCHAR2(3) NOT NULL Used to identify what document/transaction is associated with a particular template. This is a translate table field whose value is either expense sheet or travel authorization. Cash advances do not use templates. Projects is using types are R and C.
    C=Contract
    E=Expense Report
    R=Standard
    T=Travel Authorization
    4 EXPENSE_TYPE Character(7) VARCHAR2(7) NOT NULL Expense Type

    Prompt Table: EX_TYPES_TBL

    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description