PIM_LK_TYPE_VWL

(SQL View)
Index Back

PIM Link Transaction Types

This view filters out the object types that can be linked in the Email Synch feature

SELECT C.OPRID , A.FIELDVALUE , E.LANGUAGE_CD , E.XLATLONGNAME , E.XLATSHORTNAME FROM PSXLATITEM A , %Table(PIM_PREFERENCES) B , %Table(OPR_DEF_TBL_RB) C , PSXLATITEMLANG E WHERE A.FIELDNAME = 'SUBINT_OBJ_TYPE' 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) AND C.PIM_DEFAULT_ID = B.PIM_PREF_ID 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 E.FIELDVALUE = A.FIELDVALUE AND E.FIELDNAME = A.FIELDNAME AND E.EFFDT = A.EFFDT

  • Related Language Record for PIM_LK_TYPE_VW
  • # 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 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
    5 XLATSHORTNAME Character(10) VARCHAR2(10) NOT NULL Translate Value Short Name