ITEM_LN_TRLOVW

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT , A.COMMON_ID , A.COMMON_ID , A.ACCOUNT_NBR , A.ACCOUNT_TERM , 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 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 B.SA_ID_TYPE = 'O' AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND B.ITEM_TYPE = C.ITEM_TYPE AND C.EFFDT = ( SELECT MAX(F.EFFDT) FROM PS_ITEM_TYPE_TBL F WHERE F.SETID = C.SETID AND F.ITEM_TYPE = C.ITEM_TYPE AND F.EFFDT <= %CurrentDateIn) AND C.SETID = ( SELECT G.SETID FROM PS_SET_CNTRL_REC G WHERE G.SETCNTRLVALUE = D.INSTITUTION AND G.RECNAME = 'ITEM_TYPE_TBL')

  • Related Language Record: ITEMLNTRLOVWLNG
  • # 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 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID
    4 ACCOUNT_NBR Character(10) VARCHAR2(10) NOT NULL Account Nbr
    5 ACCOUNT_TERM Character(4) VARCHAR2(4) NOT NULL Account Term
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 POSTED_DATE Date(10) DATE Date Posted
    8 ITEM_EFFECTIVE_DT Date(10) DATE Item Effective Date
    9 LINE_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Line Amount
    10 LINE_TOT_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Line Total Amount