EM_RECV_PO_VW

(SQL View)
Index Back

Associated PO for a Receipt

Used by MarketPay

SELECT A.BUSINESS_UNIT , A.RECEIVER_ID , A.RECV_LN_NBR , A.RECV_SHIP_SEQ_NBR , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , E.DESCR60 , D.QTY_PO , C.UNIT_OF_MEASURE , D.PRICE_PO , D.MERCHANDISE_AMT , D.CURRENCY_CD , D.MATCH_STATUS_LN_PO FROM PS_RECV_LN_SHIP A , PS_PO_HDR B , PS_PO_LINE C , PS_PO_LINE_SHIP D , PS_EM_CATEGORY_VW E WHERE A.BUSINESS_UNIT_PO = B.BUSINESS_UNIT AND A.PO_ID = B.PO_ID AND %Join(COMMON_KEYS, PO_HDR B, PO_LINE C) AND %Join(COMMON_KEYS, PO_LINE C, PO_LINE_SHIP D) AND A.LINE_NBR = C.LINE_NBR AND A.SCHED_NBR = D.SCHED_NBR AND E.SETID = C.ITM_SETID AND E.CATEGORY_TYPE = 'PSF' AND E.CATEGORY_ID = C.CATEGORY_ID

  • Related Language Record: EM_RECV_PO_LNVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
    3 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
    4 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
    5 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
    6 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
    7 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
    8 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
    9 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity
    10 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
    MHR=Muti Hourly
    PER=Percentage
    SQF=Square Footage
    11 PRICE_PO Signed Number(17,5) DECIMAL(15,5) NOT NULL Purchase Order Price
    12 PO_AMT_TTL Signed Number(28,3) DECIMAL(26,3) NOT NULL PO Total Amount
    13 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
    14 MATCH_STATUS_LN_PO Character(1) VARCHAR2(1) NOT NULL Match Status PO
    M=Matched
    N=Not Matched
    P=Partially Matched