PO_BCKORD_SRCH

(SQL View)
Index Back

PO Search Record


SELECT A.BUSINESS_UNIT , A.PO_ID , A.PO_DT , A.PO_STATUS , B.VENDOR_NAME_SHORT , B.VENDOR_ID , B.NAME1 , A.BUYER_ID , O.OPRDEFNDESC , A.PO_TYPE , A.PO_REF FROM PS_PO_HDR A ,PS_PO_OPRDEFN_VW O , PS_VENDOR B WHERE A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.BUYER_ID = O.OPRID (+) AND A.PO_STATUS NOT IN ('C', 'X', 'PX') AND 0 <> ( SELECT COUNT(*) FROM PS_PO_DISPATCHED C WHERE C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.PO_ID = A.PO_ID)

  • Related Language Record: PO_SRCH2LN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

    Prompt Table: SP_BU_PM_NONVW

    2 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
    3 PO_DT Date(10) DATE Date
    4 PO_STATUS Character(2) VARCHAR2(2) NOT NULL PO Status
    A=Approved
    C=Complete
    D=Dispatched
    DA=Denied
    I=Initial
    LD=Line Denied
    O=Open
    PA=Pending Approval/Approved
    PX=Pending Cancel
    X=Canceled
    5 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name

    Prompt Table: VENDOR_PO_NM_VW

    6 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

    Prompt Table: VENDOR_PO_VW

    7 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    8 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer

    Prompt Table: BUYER_ACTIVE_VW

    9 OPRDEFNDESC Character(30) VARCHAR2(30) NOT NULL Description field for a user
    10 PO_TYPE Character(4) VARCHAR2(4) NOT NULL PO Type
    GEN=General
    KAN=Kanban
    11 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.