TD_CHECKBOOK_VW

(SQL View)
Index Back

Defn. Available In Inquiry


SELECT DISTINCT(A.SETID) , C.OPRID , A.TD_CHECKBOOK_ID , A.DESCR FROM PS_TD_CHECKBOOK A , PS_TD_CHECK_USERS B , PSOPRDEFN C WHERE A.SETID = B.SETID AND A.TD_CHECKBOOK_ID = B.TD_CHECKBOOK_ID AND A.TD_CHECK_AVAIL = 'Y' AND ((B.TD_SECURITY_TYPE = 'U' AND B.TD_SECURITY_ID = C.OPRID) OR (B.TD_SECURITY_TYPE = 'R' AND EXISTS ( SELECT 'X' FROM PSROLEUSER R WHERE R.ROLENAME = B.TD_SECURITY_ID AND R.ROLEUSER = C.OPRID)))

# 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_SETTD_NONVW

2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 TD_CHECKBOOK_ID Character(10) VARCHAR2(10) NOT NULL Promotions Management Checkbook ID
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description