ORD_PITEM_LVW

(SQL View)
Index Back

Product Item Language View


SELECT A.SETID , A.PRODUCT_ID , A.LANGUAGE_CD , A.DESCR , C.DESCR FROM PS_PROD_ITEM_LNG A , PS_PROD_ITEM B , PS_MASTER_ITM_LANG C , PS_MASTER_ITEM_TBL D WHERE A.SETID = B.SETID AND A.PRODUCT_ID = B.PRODUCT_ID AND B.SETID = D.SETID AND B.INV_ITEM_ID = D.INV_ITEM_ID AND D.SETID = C.SETID AND D.INV_ITEM_ID = C.INV_ITEM_ID AND A.LANGUAGE_CD = C.LANGUAGE_CD UNION SELECT E.SETID , E.PRODUCT_ID , E.LANGUAGE_CD , E.DESCR , H.DESCR FROM PS_PROD_ITEM_LNG E , PS_PROD_ITEM F , PS_MASTER_ITEM_TBL H WHERE E.SETID = F.SETID AND E.PRODUCT_ID = F.PRODUCT_ID AND F.SETID = H.SETID AND F.INV_ITEM_ID = H.INV_ITEM_ID AND NOT EXISTS ( SELECT 'X' FROM PS_MASTER_ITM_LANG G WHERE G.SETID = H.SETID AND G.INV_ITEM_ID = H.INV_ITEM_ID AND G.LANGUAGE_CD = E.LANGUAGE_CD ) UNION SELECT F1.SETID , F1.PRODUCT_ID , G1.LANGUAGE_CD , F1.DESCR , G1.DESCR FROM PS_PROD_ITEM F1 , PS_MASTER_ITM_LANG G1 , PS_MASTER_ITEM_TBL H1 WHERE F1.SETID = H1.SETID AND F1.INV_ITEM_ID = H1.INV_ITEM_ID AND H1.SETID = G1.SETID AND H1.INV_ITEM_ID = G1.INV_ITEM_ID AND NOT EXISTS ( SELECT 'X' FROM PS_PROD_ITEM_LNG E1 WHERE F1.SETID = E1.SETID AND F1.PRODUCT_ID = E1.PRODUCT_ID AND G1.LANGUAGE_CD = E1.LANGUAGE_CD )

  • Related Language Record for ORDENT_PITEM_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

    Prompt Table: PROD_ITEM

    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 ITEM_DESCR Character(30) VARCHAR2(30) NOT NULL Item Description