ITEM_LN_TRLBVW2

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT , A.COMMON_ID , A.COMMON_ID , F.NAME , C.DESCR , A.POSTED_DATE , A.ITEM_EFFECTIVE_DT , A.LINE_AMT , 0 FROM PS_ITEM_LINE_SF A , PS_ITEM_SF B , PS_ITEM_TYPE_TBL C , PS_BUS_UNIT_TBL_SF D , PS_SCC_PRI_NAME_VW F WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.COMMON_ID = B.COMMON_ID AND A.SA_ID_TYPE = B.SA_ID_TYPE AND A.ITEM_NBR = B.ITEM_NBR AND A.SA_ID_TYPE = 'P' AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND B.ITEM_TYPE = C.ITEM_TYPE AND C.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_ITEM_TYPE_TBL E WHERE C.SETID = E.SETID AND C.ITEM_TYPE = E.ITEM_TYPE AND E.EFFDT <= %CurrentDateIn) AND C.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC E WHERE E.SETCNTRLVALUE = D.INSTITUTION AND E.RECNAME = 'ITEM_TYPE_TBL') AND A.COMMON_ID = F.EMPLID

  • Related Language Record: ITEMLNTRLBVW2LN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 COMMON_ID Character(11) VARCHAR2(11) NOT NULL Common ID to store Personal ID / Ext Org ID value
    3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    4 NAME Character(50) VARCHAR2(50) NOT NULL Name
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 POSTED_DATE Date(10) DATE Date Posted
    7 ITEM_EFFECTIVE_DT Date(10) DATE Item Effective Date
    8 LINE_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Line Amount
    9 LINE_TOT_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Line Total Amount