RC_ROLE_LVW2(SQL View) |
Index Back |
---|---|
Role Company Contact ViewThis view is used to return role when using business object search. This view returns company contact role. |
SELECT A.BO_ID , D.LANGUAGE_CD , D.XLATLONGNAME , D.XLATSHORTNAME FROM PS_BO_ROLE A , PSXLATITEM B , PSXLATITEMLANG D WHERE A.ROLE_TYPE_ID = 9 AND B.FIELDNAME = 'HIGHER_ED_ROLE' AND B.FIELDVALUE = %NumToChar(A.ROLE_TYPE_ID) AND D.FIELDNAME = B.FIELDNAME AND D.FIELDVALUE = B.FIELDVALUE AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PSXLATITEM C WHERE C.FIELDNAME = B.FIELDNAME AND C.FIELDVALUE = B.FIELDVALUE AND C.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
4 | XLATSHORTNAME | Character(10) | VARCHAR2(10) NOT NULL | Translate Value Short Name |