EM_PO_DESCR_VW1

(SQL View)
Index Back

Seller PO Prompt View


SELECT D.OPRID , A.VENDOR_SETID , B.VENDOR_ID , A.BUSINESS_UNIT , %Substring(C.DESCR254_MIXED , 1 , 30) , C.INV_ITEM_ID , B.NAME1 FROM PS_PO_HDR_FS A , PS_VENDOR B , PS_PO_LINE_FS C , PS_VENDOR_USER D , PS_PO_LINE_SHIP_FS E WHERE A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND ((A.PO_STATUS IN ('D','X','PX')) OR ((A.CHNG_ORD_BATCH > 0) AND (A.PO_STATUS IN ('A','PA','O'))) OR ((A.PO_STATUS = 'C') AND (A.MATCH_ACTION = 'N'))) AND A.ERS_ACTION = 'N' AND A.MATCH_STATUS_PO IN ('T','P','N') AND A.IN_PROCESS_FLG = 'N' AND A.MID_ROLL_STATUS = 'N' AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.PO_ID = C.PO_ID AND D.SETID = A.VENDOR_SETID AND D.VENDOR_ID = A.VENDOR_ID AND E.BUSINESS_UNIT = C.BUSINESS_UNIT AND E.PO_ID = C.PO_ID AND E.LINE_NBR = C.LINE_NBR AND E.MATCH_STATUS_LN_PO IN ('N', 'P') AND E.CANCEL_STATUS <> 'X' GROUP BY D.OPRID, C.DESCR254_MIXED, A.VENDOR_SETID, B.VENDOR_ID, C.INV_ITEM_ID, B.NAME1, A.BUSINESS_UNIT, A.CURRENCY_CD

  • Related Language Record: EM_PO_DESCR_LN1
  • # 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 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
    3 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
    4 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
    7 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1