REFUNDWRKVWLNG

(SQL View)
Index Back

Refund Work record

REFUNDWRKVWLNG is the related language recordfor the record REFUND_WRK_VW

SELECT A.BUSINESS_UNIT ,A.COMMON_ID ,A.SA_ID_TYPE ,A.REFUND_EMPLID ,Z.LANGUAGE_CD ,Z.DESCR ,E.DESCRSHORT FROM PS_ITEM_SF A ,PS_ITEM_TYPE_TBL B ,PS_BUS_UNIT_TBL_SF C ,PS_TERM_VAL_LANG E ,PS_ITEM_TYPE_LANG Z WHERE B.SETID=Z.SETID AND B.ITEM_TYPE=Z.ITEM_TYPE AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND E.STRM = A.ITEM_TERM AND A.ITEM_TYPE = B.ITEM_TYPE AND B.REFUNDABLE_IND = 'Y' AND B.SETID = ( SELECT D.SETID FROM PS_SET_CNTRL_REC D WHERE D.RECNAME = 'ITEM_TYPE_TBL' AND D.SETCNTRLVALUE = C.INSTITUTION) AND B.EFFDT = ( SELECT MAX(Y.EFFDT) FROM PS_ITEM_TYPE_TBL Y , PS_ITEM_TYPE_LANG Z WHERE Y.SETID=Z.SETID AND Y.ITEM_TYPE=Z.ITEM_TYPE AND Y.SETID = B.SETID AND Y.ITEM_TYPE=B.ITEM_TYPE AND Y.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND B.ITEM_TYPE_CD IN ('D','F','L','P','W') AND A.ITEM_BALANCE < 0

  • Related Language Record for REFUND_WRK_VW
  • # 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 SA_ID_TYPE Character(1) VARCHAR2(1) NOT NULL ID Type
    O=Organization
    P=Person
    4 REFUND_EMPLID Character(11) VARCHAR2(11) NOT NULL Refund ID
    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 TERM_DESCR Character(10) VARCHAR2(10) NOT NULL Term Descr