TD_PRM_CSPRI_VW

(SQL View)
Index Back

SELECT DISTINCT A.SETID , A.PPRC_PROMO_CD , A.CUST_ID , A.SHIP_UNIT_PL , B.FIRST_ORDER_DATE , B.LAST_ORDER_DATE FROM PS_TD_PRO_CUST_PRI A , PS_TD_PROMO_CUST B WHERE A.SETID = B.SETID AND A.PPRC_PROMO_CD = B.PPRC_PROMO_CD AND A.CUST_ID = B.CUST_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 PPRC_PROMO_CD Character(20) VARCHAR2(20) NOT NULL Price Promotion Code
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.
4 SHIP_UNIT_PL Number(16,4) DECIMAL(15,4) NOT NULL Planned Ship Qty
5 FIRST_ORDER_DATE Date(10) DATE First Order Date
6 LAST_ORDER_DATE Date(10) DATE Last Order Date