TD_PROM_CUST_VW(SQL View) |
Index Back |
---|---|
Customer by promotion promptThis view list all customer for a promotion |
SELECT a.setid , a.pprc_promo_cd , a.cust_id , b.name1 , b.currency_cd , b.cur_rt_type FROM ps_td_promo_cust a , PS_CUSTOMER b , PS_SET_CNTRL_REC C WHERE A.SETID = C.SETCNTRLVALUE AND C.RECNAME = 'CUSTOMER' AND C.setid = b.setid 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
Default Value: TD_PROMO_MASTER.SETID Prompt Table: SP_SETTD_NONVW |
2 | PPRC_PROMO_CD | Character(20) | VARCHAR2(20) NOT NULL |
Price Promotion Code
Default Value: TD_PROMO_MASTER.PPRC_PROMO_CD 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: %EDITTABLE |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
5 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
6 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |