TD_PRO_MERCU_VW(SQL View) |
Index Back |
---|---|
Promotion, cust, merch viewList all Promotions/ Merch Activities for a Customer |
SELECT DISTINCT B.SETID , B.PPRC_PROMO_CD , B.CUST_ID , B.MERCH_TYPE , B.MERCH_SUB_TYPE , B.MERCH_COST , C.DESCR FROM PS_TD_PRO_MERC_CUS B , PS_TD_MERCH_TYPE C , PS_SET_CNTRL_REC D WHERE B.SETID = D.SETCNTRLVALUE AND D.RECNAME = 'TD_MERCH_TYPE' AND D.SETID = C.SETID AND B.MERCH_TYPE = C.MERCH_TYPE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SP_SETTD_NONVW |
2 | PPRC_PROMO_CD | Character(20) | VARCHAR2(20) NOT NULL |
Price Promotion Code
Prompt Table: PPRC_PROMO_TBL |
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: TD_CUST_OPRVW |
4 | MERCH_TYPE | Character(10) | VARCHAR2(10) NOT NULL |
Merchandising Type
Prompt Table:
TD_MERCH_TYP_VW
|
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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |