CUST_HI_PRI_VW

(SQL View)
Index Back

SELECT DISTINCT A.SETID , A.CUST_ID , A.SEQ_NBR , MAX(A.PRIORITY) FROM PS_ACTION_LST A WHERE A.CUST_ID IN ( SELECT B.CUST_ID FROM PS_ACTION_LST B WHERE B.SETID = A.SETID AND B.CUST_ID = A.CUST_ID ) GROUP BY A.SETID, A.CUST_ID, A.SEQ_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 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.
3 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
4 PRIORITY Number(3,0) SMALLINT NOT NULL Priority