TD_CUST_OPRVW2

(SQL View)
Index Back

Promotion customer operator vw

Promotions customer secured view by operator

SELECT DISTINCT A.OPRID , D.SETID , A.TD_TREE_ID , A.EFFDT , A.CUST_ID , C.NAME1 FROM PS_TD_APPR_NODE_VW A , PS_CUSTOMER C , PS_TD_SETID_TBL D , PS_SET_CNTRL_REC F WHERE D.SETID = F.SETCNTRLVALUE AND F.RECNAME = 'CUSTOMER' AND F.SETID = A.SETID AND A.SETID = C.SETID AND A.CUST_ID = C.CUST_ID AND A.TD_TREE_ID = D.TD_TREE_ID_CUST

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID
3 TD_TREE_ID_CUST Character(8) VARCHAR2(8) NOT NULL Customer Tree ID
4 TD_TREE_EFFDT_CUST Date(10) DATE Customer Effdt
5 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.
6 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1