RC_SRCH_DEPT_VW

(SQL View)
Index Back

Department view for Case

Configurable Search Department view for HelpDesk Case in update mode.

SELECT O.SYNCID , Z.DESCR FROM PS_RC_CASE O , PS_RD_PERSON A , PS_RB_WORKER X , PS_DEPT_TBL Z WHERE O.BO_ID_CUST = A.BO_ID AND A.PERSON_ID = X.PERSON_ID AND X.SETID_DEPT = Z.SETID AND X.DEPTID = Z.DEPTID AND Z.EFF_STATUS = 'A' AND Z.EFFDT = ( SELECT MAX(Z1.EFFDT) FROM PS_DEPT_TBL Z1 WHERE Z.SETID = Z1.SETID AND Z1.DEPTID = Z.DEPTID AND Z1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
2 RC_DEPT_DESCR Character(30) VARCHAR2(30) NOT NULL Department Description to be displayed on HelpDesk page.