PV_PO_HDR2_VW

(SQL View)
Index Back

PO Header View


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 , A.PO_REF , A.PYMNT_TERMS_CD , A.VENDOR_SETID , A.VNDR_LOC FROM PS_PO_HDR A , PS_VENDOR B WHERE A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.PO_STATUS NOT IN ('C','X')

# 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

Default Value: %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: %EDIT_BUYER

9 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.
10 PYMNT_TERMS_CD Character(5) VARCHAR2(5) NOT NULL Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers.
11 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
12 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location