SP_AMAP9_OPRVW

(SQL View)
Index Back

AP Invoice ID

Selects the AP Business Unit + AP Invoice Id from those entries in INTFC PHY A for all load status values.

SELECT DISTINCT C.OPRID , A.BUSINESS_UNIT_AP , A.INVOICE_ID FROM PS_INTFC_PHY_A A , PS_SEC_BU_OPR C WHERE A.LOAD_STATUS NOT IN ('CON' , 'UNI') AND A.INVOICE_ID <> ' ' AND C.BUSINESS_UNIT = A.BUSINESS_UNIT_AP

# 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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number