RS_SO_UNFILL_VW

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT , A.SO_ID , A.CUST_ID , B.NAME1 , B.NAMESHORT , C.SO_STATUS , A.ENTERED_BY , A.ASSIGNED_TO , A.PROJECT_ID , A.DESCR60 FROM %Table(RS_SO_HDR) A , %Table(CUSTOMER) B , %Table(RS_SO_STATUS) C , %Table(SET_CNTRL_REC) D WHERE D.SETCNTRLVALUE = A.BUSINESS_UNIT AND D.RECNAME = 'CUSTOMER' AND D.SETID = B.SETID AND A.CUST_ID = B.CUST_ID AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.SO_ID = C.SO_ID AND C.LASTUPDDTTM = ( SELECT MAX(CC.LASTUPDDTTM) FROM PS_RS_SO_STATUS CC WHERE C.BUSINESS_UNIT = CC.BUSINESS_UNIT AND C.SO_ID = CC.SO_ID) AND C.SO_STATUS NOT IN ('C','X','H')

  • Related Language Record: RS_SO_UNFILL_VL
  • # 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 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.

    Prompt Table: CUSTOMER_FS

    4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    5 NAMESHORT Character(10) VARCHAR2(10) NOT NULL Short Name
    6 SO_STATUS Character(1) VARCHAR2(1) NOT NULL Service Order Status
    C=Closed
    D=Draft
    I=In Process
    N=New
    O=Open
    X=Canceled
    7 ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered by

    Prompt Table: OPRID_VW

    8 ASSIGNED_TO Character(30) VARCHAR2(30) NOT NULL Assigned To

    Prompt Table: RS_OPR_NAME_VW

    9 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

    Prompt Table: SP_PROJ_NONVW

    10 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description