TD_PROCS_LNG_VW(SQL View) |
Index Back |
---|---|
Customer Promotion secured vwThis view is used to select customer for a promotion using the tree security. |
SELECT B.OPRID , A.SETID , A.PPRC_PROMO_CD , A.CUST_ID , E.LANGUAGE_CD , C.DESCR FROM PS_TD_PROMO_CUST A , PS_TD_APPR_NODE_VW B , PS_PPRC_PROMO_TBL C , PS_PPRC_PROTBL_LNG E , PS_SET_CNTRL_REC SC WHERE sc.SETID = B.SETID AND A.CUST_ID = B.CUST_ID AND A.SETID = C.SETID AND A.PPRC_PROMO_CD= C.PPRC_PROMO_CD AND a.setid = e.setid AND a.pprc_promo_cd = e.pprc_promo_cd AND a.setid = sc.setcntrlvalue AND sc.recname = 'TD_APPR_NODE_VW' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). | |
2 | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETTD_NONVW |
|
3 | Character(20) | VARCHAR2(20) NOT NULL |
Price Promotion Code
Default Value: NEXT Prompt Table: PPRC_PROMO_TBL |
|
4 | 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 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |