RS_SO_UNFILL_VL

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT , B.SO_ID , L.LANGUAGE_CD , L.NAME1 FROM %Table(RS_SO_HDR) A , %Table(RS_SO_STATUS) B , %Table(CUSTOMER) C , %Table(CUSTOMER_LANG) L WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SO_ID = B.SO_ID AND A.CUST_ID = C.CUST_ID AND B.LASTUPDDTTM = ( SELECT MAX(E.LASTUPDDTTM) FROM PS_RS_SO_STATUS E WHERE B.BUSINESS_UNIT = E.BUSINESS_UNIT AND B.SO_ID = E.SO_ID) AND B.SO_ID NOT IN ( SELECT DISTINCT D.SO_ID FROM PS_RS_SO_STATUS D WHERE D.SO_STATUS IN ('C','X','H')) AND C.SETID = L.SETID AND C.CUST_ID = L.CUST_ID GROUP BY A.BUSINESS_UNIT, B.SO_ID, L.LANGUAGE_CD, L.NAME1

  • Related Language Record for RS_SO_UNFILL_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Prompt Table: SP_BU_PC_NONVW

    2 SO_ID Character(15) VARCHAR2(15) NOT NULL Service Order ID
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1