PTAI_ITEM_GLVW

(SQL View)
Index Back

Action Items Grid Rel.Lang

Related Language Action Items Grid View - used for Inquiry (includes assigned to as well as privs)

SELECT D.OPRID , A.PTAI_ITEM_ID , E.LANGUAGE_CD , E.PTAI_LABEL , E.PTAI_DESCRLONG FROM PS_PTAI_ITEM A , PS_PTAI_LIST B , PSOPRDEFN D , PS_PTAI_ITEM_LNG E WHERE E.PTAI_ITEM_ID = A.PTAI_ITEM_ID AND B.PTAI_LIST_ID = A.PTAI_LIST_ID AND (EXISTS ( SELECT 'X' FROM PS_PTAI_LIST_PRIV F WHERE F.PTAI_LIST_ID = A.PTAI_LIST_ID AND EXISTS ( SELECT 'X' FROM PSROLEUSER X WHERE X.ROLEUSER = D.OPRID AND ((F.PTAI_MBR_TYPE = 'USER' AND F.PTAI_MBR_NAME = X.ROLEUSER) OR (F.PTAI_MBR_TYPE = 'ROLE' AND F.PTAI_MBR_NAME = X.ROLENAME)))) OR A.PTAI_ASSIGN_OPRID = D.OPRID)

  • Related Language Record for PTAI_ITEM_GVW
  • # 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 PTAI_ITEM_ID Character(31) VARCHAR2(31) NOT NULL Action Items - Action Item ID
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 PTAI_LABEL Character(100) VARCHAR2(100) NOT NULL Action Items - Label
    5 PTAI_DESCRLONG Long Character CLOB Action Items - Long Description