PIM_LK_TYPE_VW(SQL View) |
Index Back |
---|---|
PIM Link Transaction TypesThis view filters out the object types that can be linked in the Email Synch feature |
SELECT C.OPRID , A.FIELDVALUE , A.XLATLONGNAME , A.XLATSHORTNAME FROM PSXLATITEM A , %Table(PIM_PREFERENCES) B , %Table(OPR_DEF_TBL_RB) C WHERE A.FIELDNAME = 'SUBINT_OBJ_TYPE' AND ((A.FIELDVALUE = 'LEAD' AND B.LINK_LEAD_SW = 'Y') OR (A.FIELDVALUE = 'OPPY' AND B.LINK_OPPY_SW = 'Y') OR (A.FIELDVALUE = 'CASE' AND B.LINK_CASE_SW = 'Y') OR (A.FIELDVALUE = 'SVCO' AND B.LINK_SVCO_SW = 'Y') OR (A.FIELDVALUE = 'CLRP' AND B.LINK_CLRP_SW = 'Y') ) AND C.PIM_DEFAULT_ID = B.PIM_PREF_ID AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PSXLATITEM D WHERE D.FIELDNAME = A.FIELDNAME AND D.FIELDVALUE = A.FIELDVALUE AND D.EFFDT <= %CurrentDateIn) |
# | 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 | PIM_EMAIL_LINK_TYP | Character(4) | VARCHAR2(4) NOT NULL |
Synched Email LinkType
CASE=Case CLRP=Call Report LEAD=Lead OPPY=Opportunity SVCO=Service Order |
3 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
4 | XLATSHORTNAME | Character(10) | VARCHAR2(10) NOT NULL | Translate Value Short Name |