TD_PRO_DTL_VW(SQL View) |
Index Back |
---|---|
Details for Promo Activity Inq |
SELECT DISTINCT A.SETID , B.CUST_ID , A.PPRC_PROMO_CD , B.MERCH_TYPE , B.MERCH_SUB_TYPE , B.MERCH_COST , C.STATUS_TD FROM PS_TD_PRO_SUM_VW A , PS_TD_PRO_MERC_CUS B , PS_TD_PROMO_CUST C WHERE A.SETID = B.SETID AND A.SETID = C.SETID AND A.PPRC_PROMO_CD = B.PPRC_PROMO_CD AND A.PPRC_PROMO_CD = C.PPRC_PROMO_CD AND B.CUST_ID = C.CUST_ID |
# | 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 | PPRC_PROMO_CD | Character(20) | VARCHAR2(20) NOT NULL | Price Promotion Code |
4 | MERCH_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Merchandising Type |
5 | MERCH_SUB_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Merchandising Subtype |
6 | MERCH_COST | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Merchandising Cost |
7 | STATUS_TD | Character(2) | VARCHAR2(2) NOT NULL |
Promotion Status
CA=Customer Approved CE=Customer Cancelled CL=Closed CR=Customer Rejected MA=Management Approved MR=Management Rejected PA=Pending Approval PL=Planned RE=Recalled RL=Released |