PV_CHNG_PO_VW

(SQL View)
Index Back

SELECT a.business_unit , a.req_id , a.po_id , a.line_nbr , a.sched_nbr , a.distrib_line_num , a.qty_po , a.req_line_nbr , a.req_sched_nbr , a.req_distrib_nbr , b.qty_req , b.distrib_ln_status , c.chng_ord_batch , c.po_status , b.qty_open , b.amt_open , d.inv_item_id , e.order_no , e.order_int_line_no , e.sched_line_nbr , e.ship_to_cust_id , d.descr254_mixed , c.po_dt , c.buyer_id , c.vendor_id , c.pymnt_terms_cd , d.itm_id_vndr , d.unit_of_measure , e.due_dt , e.merchandise_amt , e.shipto_id FROM ps_po_line_distrib a , ps_req_ln_distrib b , ps_po_hdr c , ps_po_line d , PS_PO_LINE_SHIP e WHERE a.business_unit = b.business_unit AND a.req_id = b.req_id AND a.req_line_nbr = b.line_nbr AND a.req_sched_nbr = b.sched_nbr AND a.req_distrib_nbr = b.distrib_line_num AND a.business_unit = c.business_unit AND a.po_id = c.po_id AND a.business_unit = d.business_unit AND a.po_id = d.po_id AND a.line_nbr = d.line_nbr AND a.dst_acct_type = 'DST' AND e.business_unit = a.business_unit AND e.po_id = a.po_id AND e.line_nbr = a.line_nbr AND e.sched_nbr = a.sched_nbr

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
3 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
4 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
5 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
6 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
7 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity
8 REQ_LINE_NBR Number(5,0) INTEGER NOT NULL Requisition Line Number
9 REQ_SCHED_NBR Number(3,0) SMALLINT NOT NULL Requisition Schedule Number
10 REQ_DISTRIB_NBR Number(5,0) INTEGER NOT NULL Requisition Distrib Number
11 QTY_REQ Number(16,4) DECIMAL(15,4) NOT NULL Requisition Quantity
12 DISTRIB_LN_STATUS Character(1) VARCHAR2(1) NOT NULL Distribution Line Status
C=Closed
M=Mass Liquidated
O=Open
P=Unavailable for Sourcing
X=Canceled
13 CHNG_ORD_BATCH Number(3,0) SMALLINT NOT NULL Change Order Number
14 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
15 QTY_OPEN Number(16,4) DECIMAL(15,4) NOT NULL Open Quantity
16 AMT_OPEN Signed Number(28,3) DECIMAL(26,3) NOT NULL Open Amount
17 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
18 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
19 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
20 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
21 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
22 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
23 PO_DT Date(10) DATE Date
24 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer
25 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
26 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.
27 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
28 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
29 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
30 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
31 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location