TD_CONSPRO_LNVW(SQL View) |
Index Back |
---|---|
Actual Consumption Search View |
SELECT DISTINCT A.SETID , A.PPRC_PROMO_CD , A.DESCR , B.CUST_ID , D.NAME1 , D.LANGUAGE_CD FROM PS_PPRC_PROTBL_LNG A , PS_TD_PROMO_CUST B , PS_TD_PRO_MERC_CUS C , PS_CUSTOMER_LANG D , PS_TD_MERCH_TYPE E WHERE A.SETID = B.SETID AND A.PPRC_PROMO_CD = B.PPRC_PROMO_CD AND A.SETID = C.SETID AND A.PPRC_PROMO_CD = C.PPRC_PROMO_CD AND A.LANGUAGE_CD = D.LANGUAGE_CD AND B.CUST_ID = C.CUST_ID AND B.SETID = D.SETID AND B.CUST_ID = D.CUST_ID AND C.SETID = E.SETID AND C.MERCH_TYPE = E.MERCH_TYPE AND E.MERCH_ACTIVITY = 'C' AND %EffdtCheck(TD_MERCH_TYPE F, E, %CurrentDateIn) AND E.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | PPRC_PROMO_CD | Character(20) | VARCHAR2(20) NOT NULL | Price Promotion Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | 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 |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |