EX_TEMPLATE_L_V

(SQL View)
Index Back

Templates View

View of the various templates available for both expense sheets and travel authorizations. Used to select a template for formatting either an expense sheet or a travel authorization.

SELECT A.SETID , A.TEMPLATE , A.TEMPLATE_TYPE , A1.LANGUAGE_CD , A1.DESCR FROM PS_EX_TEMPLATE_TBL A , PS_EX_TEMPLATE_LNG A1 WHERE A.EFF_STATUS = 'A' AND A1.SETID=A.SETID AND A1.TEMPLATE=A.TEMPLATE AND A1.TEMPLATE_TYPE=A.TEMPLATE_TYPE AND A.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_EX_TEMPLATE_TBL X WHERE X.SETID=A.SETID AND X.TEMPLATE = A.TEMPLATE AND X.EFFDT <= %CurrentDateIn)

  • Related Language Record for EX_TEMPLATE_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 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.

    Prompt Table: EX_TEMPLATE_TBL

    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 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description